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

Re: Question on ldap_add: No such object error



Seah Hong Yee writes:
> database        ldbm
> suffix          "dc=mycompany,dc=com,dc=my"

This means that the entry dc=mycompany,dc=com,dc=my and its children
will be put in that database.

> adding new entry "dc=com,dc=my"
> ldap_add: No such object

Yes.  Since you have not specified any database in which to put that
object, you can't add it.

> However if I set my suffix to
> 
> suffix          "dc=mycompany,dc=com"
> 
> I can add them successfully.

With that suffix you still can't add dc=com,dc=my.  I think you mean
   suffix "dc=com,dc=my".

-- 
Hallvard