[Date Prev][Date Next] [Chronological] [Thread] [Top]

No such object



Hopefully someone can help me with this problem. Here is what is happening: 

I run 'ldif2ldbm' on slapd.conf and myldif files to convert them to a database. 
Next I start slapd service and start testing. 

The first test is this:
/usr/local/bin/ldapsearch -h 127.0.0.1 'objectclass=*'
Yields this error:
ldap_search: No such object

Next when I run:
ldapadd -D "cn=newuser dc=alservices, dc=com" -W < /usr/local/etc/openldap/myldif
Yields this error:
ldap_bind: No such object

Thanks,

julian


My config files are below...

LDIF/CONFIG files

My ldbm definition (from slapd.conf) is as follows:
##################################################
database        ldbm
suffix          "dc=alservices, dc=com"
directory       /usr/tmp
rootdn          "cn=root, dc=alservices, dc=com"
rootpw          secret
# cleartext passwords, especially for the rootdn, should
# be avoid.  See slapd.conf(5) for details.

Next ldif (myldif) file:
##################################################
dn: dc=alservices, dc=com
dc: alservices
o: My Company
objectclass: organization
objectclass: dcObject

dn: cn=root, dc=alservices, dc=com
cn: root
sn: root
objectclass: person