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

ldap_bind: No such object



I've installed openldap on my RedHat 6.1 box and followed
the quick start guide to config it.
Here is my slapd.conf:

#
# See slapd.conf(5) for details on configuration options.
# This file should NOT be world readable.
#
include		/etc/openldap/slapd.at.conf
include		/etc/openldap/slapd.oc.conf
schemacheck	off
#referral	ldap://ldap.itd.umich.edu

pidfile		/var/run/slapd.pid
argsfile	/var/run/slapd.args

#######################################################################
# ldbm database definitions
#######################################################################

database	ldbm
suffix		"dc=quicknet, dc=net"
directory	/usr/tmp
rootdn		"cn=manager, dc=quicknet, dc=net"
rootpw		$1$YYadxhui$i3Fuli0YSZWKgMhZpjrTq1
# cleartext passwords, especially for the rootdn, should
# be avoid.  See slapd.conf(5) for details.

I then started the daemon:
/etc/rc.d/init.d/ldap start

Everything seems to be running fine and I can telnet to the port.

Per the quick start guide, I created a my.ldif file.
dn: dc=quicknet, dc=net
dc: quicknet
o: Quicknet Technologies Inc
objectclass: organization
objectclass: dcObject

dn: cn=manager, dc=quicknet, dc=net 
cn: manager
sn: manager
objectclass: person

But I can't add this initial entry:
ldapadd -h localhost -D "cn=manager, dc=quicknet, dc=net" -W < my.ldif
Enter LDAP Password:
ldap_bind: No such object 

Any ideas what could be wrong?

Thanks!

Frank