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

Re: LDAP



On Tuesday 19 February 2008 06:50:30 Aravind Arjunan wrote:
> I had already added the domain dc=example,dc=com

But, did you create ou=People,cn=Manager,dc=example,dc=com? No. (Although, I 
would have expected that uid=ldapuser should be in 
ou=People,dc=example,dc=com, not ou=People,cn=Manager,dc=example,dc=com, 
maybe when prompted for your basedn at some stage you gave your rootdn?).

> [root@server ~]# ldapadd -x -D "cn=Manager,dc=example,dc=com" -W -f
> /etc/openldap/ldapusers.ldif
> Enter LDAP Password:
> adding new entry "uid=ldapuser,ou=People,cn=Manager,dc=example,dc=com"
> ldap_add: No such object (32)
>         matched DN: cn=Manager,dc=example,dc=com