Cannot Create Roles On WCS Environment Which Is Integrated With Read-Only LDAP (Doc ID 1672619.1)

Last updated on JULY 07, 2017

Applies to:

Oracle WebCenter Sites - Version 11.1.1.8.0 and later
Information in this document applies to any platform.

Symptoms

WebCenter Sites is integrated with LDAP, but doesn't have write access to the LDAP directory.

Errors are thrown when trying to create a new Role in the Sites UI:

[2014-04-09 07:46:12,253 UTC] [INFO ] [.kernel.Default (self-tuning)'] [com.fatwire.logging.cs] [Apr 9, 2014 7:46:12 AM][Directory-F--15007][JNDIDir:create(Attributes)][A schema violation has occured. A method may have attempted to modify attributes of an object that violates the object's schema definition, or perhaps attempted to rename or move an object to a part of the namespace that violates the namespace's schema definition.][OpenMarket/Xcelerate/Admin/RolesAdminPost#OpenMarket/Xcelerate/Admin/RolesAdminPost]
[2014-04-09 07:46:12,253 UTC] [ERROR] [.kernel.Default (self-tuning)'] [fatwire.logging.cs.auth] detail:javax.naming.directory.SchemaViolationException: [LDAP: error code 65 - sn attribute not found. Mandatory Attribute missing.]; remaining name 'cn=AdminSite-NewRole,cn=GroupNode,dc=my-company,dc=com'
com.openmarket.directory.DirectoryException: detail:javax.naming.directory.SchemaViolationException: [LDAP: error code 65 - sn attribute not found. Mandatory Attribute missing.]; remaining name 'cn=AdminSite-NewRole,cn=GroupNode,dc=my-company,dc=com'
at com.openmarket.directory.common.DirLogger.throwFatalException(DirLogger.java:53)
at com.openmarket.directory.common.DirLogger.throwFatalException(DirLogger.java:66)
at com.openmarket.directory.jndi.JNDIDir.handleNamingException(JNDIDir.java:496)
at com.openmarket.directory.jndi.JNDIDir.create(JNDIDir.java:569)
at com.openmarket.xcelerate.roles.FlatLDAPRoleManager.save(FlatLDAPRoleManager.java:85)
at com.openmarket.xcelerate.commands.RoleManagerDispatcher.Save(RoleManagerDispatcher.java:107)
...
[2014-04-09 07:46:12,253 UTC] [ERROR] [.kernel.Default (self-tuning)'] [fatwire.logging.cs.xcelerate] [pagename=OpenMarket/Xcelerate/Admin/RolesAdminPost] Error: com.openmarket.xcelerate.commands.RoleManagerDispatcher: Save: com.openmarket.basic.interfaces.AssetException: detail:javax.naming.directory.SchemaViolationException: [LDAP: error code 65 - sn attribute not found. Mandatory Attribute missing.]; remaining name 'cn=AdminSite-NewSite,cn=GroupNode,dc=my-company,dc=com'
[2014-04-09 07:46:12,257 UTC] [WARN ] [.kernel.Default (self-tuning)'] [fatwire.logging.cs.xml] User called THROWEXCEPTION during nested tag execution of tag satellite.form: User did ThrowException

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms