Schema violation Exception- [LDAP: error code 65 - Object Class Violation]
807573Aug 25 2008 — edited May 26 2010Hi ,
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.