[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
ldap problem(2)
hello,
I have RH 7.1 with LDAP 2.0.7 Release, my serv's domains is "info"
My slapd.conf file :
_________________________
include /etc/openldap/schema/core.schema
include /etc/openldap/schema/cosine.schema
include /etc/openldap/schema/inetorgperson.schema
include /etc/openldap/schema/nis.schema
include/etc/openldap/schema/redhat/rfc822-MailMember.schema
include /etc/openldap/schema/redhat/autofs.schema
include/etc/openldap/schema/redhat/kerberosobject.schema
pidfile /var/run/slapd.pid
argsfile /var/run/slapd.args
database ldbm
suffix "o=serv.info"
suffix "dc=info"
rootdn "cn=Manager,o=serv.info"
rootpw secret
directory /var/lib/ldap/info
defaultaccess read
schemacheck on
lastmod on
index objectClass,uid,uidNumber,gidNumber eq
index cn,mail,surname,givenname eq,subinitial
_____________________________________________
Y mi archivo test.ldif es:
_____________________________________________
dn: dc=info
objectclass: top
objectclass:dcObject
objectclass: organization
o:serv.info
descripcion: UNSA
dn: o=serv.info
objectclass: top
objectclass: organization
o:serv.info
descripcion: UNSA
dn: cn=Manager, o=serv.info
objectclass: organizationalRole
cn: Manager
descripcion: Administrador Ldap
dn: ou=MemberGroupA,o=serv.info
ou: MemberGroupA
objectclass: top
objectclass: organizationalUnit
description: Members of MemberGroupA
____________________________________________________
I executed as root:
ldapadd -f test.ldif -cx -D \"cn=manager,o=serv.info\"
And i get this errors:
ldap_initialize(<DEFAULT>)
add objectclass:
top
dcObject
organization
add o:
serv.info
add description
UNSA
adding new entry "dc=info"
ldap_add: Undefined attribute type
additional info: attribute type undefined
ldif_record()=17
_____________________________________________________
and if i execute:
ldapadd -f test.ldif -cx -W -D \"cn=manager,o=serv.info\"
,I enter my pasword "secret" configurated in slapd.conf
And I get this error:
ldap_bind: Invalid credentials
but i entered the correct password , or not?
could somebody help me please?
this is very important to me
REGARDS
Albert Medina Banda
Arequipa - Peru
_________________________________________________________________
Descargue GRATUITAMENTE MSN Explorer en http://explorer.msn.es/intl.asp