-   Linux - Server (
-   -   cannot create an entry in LDAP: No object found (

pbpatre 12-05-2009 12:19 PM

cannot create an entry in LDAP: No object found
I have set up an LDAP server and it is being used for authentication of users. My base dn is dc=organisation, dc=com. Now I have some users as uid=users, ou=People,dc=organisation,dc=com. The object class of users is top,inetOrgperson and posixAccount. Now I have to create users with dn as uid=user1, dc=section1, dc=organisation, dc=com and more sections. But when I try to add an entry it gives an error as LDAP: error code 32 - No Such Object. So how do I add entries with different sections? Is it the problem with objectclass? Do I need to define new one? Or add an attribute in the objectclass? Also I want to authenticate these users in the sections.
Please help.

acid_kewpie 12-05-2009 12:48 PM

From what you've said and the error, it sounds like "dc=section1, dc=organisation, dc=com" doesn't exist yet. Make it so!

pbpatre 12-05-2009 01:30 PM

yeah thanks :D . I didnt create the entry "dc=section1, dc=organisation, dc=com". Creating it solved the problem. Thanks again.

All times are GMT -5. The time now is 05:29 AM.