[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Problems with OpenLDAP 2.0.1 ...
I have an ldif file called "base.ldif" containing:
dn: dc=com
dc: com
objectClass: top
objectClass: domain
dn: dc=myhost,dc=com
dc: myhost
objectClass: top
objectClass: domain
dn: ou=People,dc=myhost,dc=com
ou: People
objectClass: top
objectClass: organizationalUnit
. . .
When I try running ldapadd in an OpenLdap 2.0.1:
ldapadd -D "cn=manager, dc=myhost, dc=com" -w sun -f base.ldif
I get the next error message:
adding new entry "dc=com"
ldap_add: No such object
ldif_record() = 32
Someone knows why is that ? If I do the same in an OpenLDAP 1.2.11 and it works fine.
I would apreciatte yor answers.
Here is part of my slapd.conf in case it helps.
######################################################### ldbm database definitions
#######################################################
database ldbm
suffix "dc=myhost, dc=com"
directory /usr/local/etc/openldap/pruebas
rootdn "cn=manager, dc=myhost, dc=com"
rootpw sun
#index uid eq
# cleartext passwords, especially for the rootdn, should
# be avoid. See slapd.conf(5) for details.
_______________________________________________________________________
Free Unlimited Internet Access! Try it now!
http://www.zdnet.com/downloads/altavista/index.html
_______________________________________________________________________