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.
|