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

Re: ldap_bind: No such object

aha, it's my fault. the quick start guide uses cleartext password
but says it is not recommended and doesn't say you should prefix
{CRYPT} if you use crypted password. I should have read more

Anyway, now it is getting better:

ldapadd -D "cn=manager, dc=quicknet, dc=net" -W < test.ldif
Enter LDAP Password:
adding new entry dc=quicknet, dc=net
adding new entry cn=manager, dc=quicknet, dc=net
ldap_add: No such object

I am wondering why I get "ldap_add: No such object". I searched
the FAQ and found

It suggested to try "ldapsearch" and here is the output:
ldapsearch -b 'dc=quicknet, dc=net' -s base '(objectclass=*)'
dc=quicknet, dc=net
o=Quicknet Technologies Inc

This means the parent does exist, right?

Any ideas?

Thanks again!


On Tue, 14 Mar 2000, Kurt D. Zeilenga wrote:

> At 11:27 AM 3/14/00 -0800, Frank Liu wrote:
> >
> >I've installed openldap on my RedHat 6.1 box and followed
> >the quick start guide to config it.
> But you didn't.  In particular, the rootpw is shown in the
> Quick Start Guide in cleartext.  The value you used 
> appears to a crypt(3) password, and hence should be
> prefixed with "{CRYPT}" per the FAQ.
> >rootdn		"cn=manager, dc=quicknet, dc=net"
> >rootpw		$1$YYadxhui$i3Fuli0YSZWKgMhZpjrTq1