javax.naming.directory.SchemaViolationException: [LDAP: error code 65 - sn attribute not found. Mandatory Attribute missing.]; remaining name 'cn=cf000229-2230-4ff8-9,cn=users,dc=1,dc=2,dc=3,dc=4,dc=5'

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Oracle Community by 785296, 1 year ago
[LDAP: error code 65 - sn attribute not found. Mandatory Attribute missing.]; remaining name 'cn=cf000229-2230-4ff8-9,cn=users,dc=1,dc=2,dc=3,dc=4,dc=5'
via Oracle Community by user8663548, 1 year ago
[LDAP: error code 65 - LDAP Error 65 : [LDAP: error code 65 - Failed to find orclpwdchangere+ +quired in mandatory or optional attribute list.]]; remaining name 'cn=tester@test.org,cn=MyUsers,ou=DivisionA,o=MyCorp,c=US'+
via directory-users by Ike Ikonne, 6 months ago
[LDAP: error code 65 - OBJECT_CLASS_VIOLATION: failed for MessageType : ADD_REQUEST Message ID : 58 Add Request : Entry dn[n]: cn=ceu_user11,ou=OCE,o=ABC,dc=example,dc=com cn: ceu_user11 pwdPolicySubentry: ads-pwdId=default,ou
via directory-users by Emmanuel Lécharny, 6 months ago
[LDAP: error code 65 - OBJECT_CLASS_VIOLATION: failed for MessageType : ADD_REQUEST Message ID : 58 Add Request : Entry dn[n]: cn=ceu_user11,ou=OCE,o=ABC,dc=example,dc=com cn: ceu_user11 pwdPolicySubentry: ads-pwdId
via Oracle Community by 472272, 1 year ago
[LDAP: error code 65 - Failed to find sn in mandatory or optional attribute list.]; remaining name 'cn=sp,cn=users,dc=abc,dc=com'
via directory-users by Ike Ikonne, 6 months ago
[LDAP: error code 65 - OBJECT_CLASS_VIOLATION: failed for MessageType : ADD_REQUEST Message ID : 58 Add Request : Entry dn[n]: cn=iikon1,ou=OCE,o=ABC,dc=example,dc=com cn: iikon1 pwdPolicySubentry: ou=sspPwdPolicy,o=ABC,dc=example
javax.naming.directory.SchemaViolationException: [LDAP: error code 65 - sn attribute not found. Mandatory Attribute missing.]; remaining name 'cn=cf000229-2230-4ff8-9,cn=users,dc=1,dc=2,dc=3,dc=4,dc=5'
at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3072)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2987)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2794)
at com.sun.jndi.ldap.LdapCtx.c_createSubcontext(LdapCtx.java:788)
at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_createSubcontext(ComponentDirContext.java:319)
at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.createSubcontext(PartialCompositeDirContext.java:248)
at oracle.ldap.odip.gsi.LDAPWriter.createEntry(LDAPWriter.java:1275)
at oracle.ldap.odip.gsi.LDAPWriter.insert(LDAPWriter.java:456)
at oracle.ldap.odip.gsi.LDAPWriter.modifyRadd(LDAPWriter.java:885)
at oracle.ldap.odip.gsi.LDAPWriter.writeChanges(LDAPWriter.java:378)
at oracle.ldap.odip.web.DIPSyncBean.mapExecute(DIPSyncBean.java:748)
at oracle.ldap.odip.web.DIPSyncBean.execMapping(DIPSyncBean.java:477)
at oracle.ldap.odip.web.DIPSyncBean.doOneIteration(DIPSyncBean.java:355)
at oracle.ldap.odip.web.DIPSync_2r3ocw_EOImpl.doOneIteration(DIPSync_2r3ocw_EOImpl.java:65)
at oracle.ldap.odip.web.SyncQuartzJobImpl.execute(SyncQuartzJobImpl.java:178)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.