LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (http://www.linuxquestions.org/questions/linux-server-73/)
-   -   cannot create an entry in LDAP: No object found (http://www.linuxquestions.org/questions/linux-server-73/cannot-create-an-entry-in-ldap-no-object-found-773676/)

pbpatre 12-05-2009 01: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 01: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 02:30 PM

Solved
 
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 11:36 AM.