Discussions Search    Reviews    Search Aid    Buzzzz    Google@Omgili    Q&A    Health Add to iGoogle   Bookmark and Share

  Advanced Search

Welcome to Omgili,
Omgili (Oh My God I Love It ;) is a search engine for discussions. With Omgili you can find answers and solutions, debates, discussions, personal experiences, opinions and more... To learn more about Omgili click here.

This is a complete preview of the discussion as it was indexed by Omgili crawlers. Use this preview if the original discussion is unavailable.
Click here to view the original discussion.
[http://forum.java.sun.com/thread.jspa?t...]

Click here to search for discussions with Omgili discussions search engine.

Sun Java System Directory Server - Schema violation Exception- [LDAP: error code 65 - Object Class Violation]

Hi , While creating new users from our application front end through LDAP, we are facing the following error: javax.naming.directory.SchemaViolationException: [LDAP: error code 65 - Object Class Violation];

Remaining name 'uid=JCSANZU123,ou=people,o=affiliates,c=mexico,o=metlife,dc=metlife,dc=com' We have two types of users: affiliates and customers in the LDAP hierarchy and only adding users under affiliates throws this error.

I have checked the schema also and it is cn=schema.

Can anyone plz tell me how to check why this error is coming for only one type of users? Request to help us to solve this issue ASAP. Thanks to all of you.

You need to compare the attributes in the LDAP request that fails to the schema. There is most likely a must attribute missing, maybe from an inherited object class. if you provide the request with ALL attributes here + your schema objectClass and attributeType extensions then it should be rather straightforward. -=arnaud=-

I did not get what exactly u r saying.Can u plz explain further.Thanks a lot!