Free community discussion board for IBM® WebSphere® Portal
and Lotus Web Content Management™
(WCM / ILWWCM / LWWCM / WWCM) products.
You are not logged in.
Pages: 1
Hi,
I need to add the country code selected by the user to the LDAP database using IBM portlets.
Using PUMA API is need to add the attributes to the user. In order to add the country attribute to the LDAP user i have used the following code
userAttrs.put("c", countryVal);
userAttrs is a map which contains attributes as keys and field values as values in the Hash Map.
At this line i am getting the following exception in Logs:
0000007c exception E com.ibm.ws.wim.adapter.ldap.LdapConnection createSubcontext CWWIM4520E The 'javax.naming.directory.SchemaViolationException: [LDAP: error code 65 - Object Class Violation]; remaining name 'cn=addcountry,cn=users,dc=cmportal,dc=com'; resolved object com.sun.jndi.ldap.LdapCtx@4abc4abc' naming exception occurred during processing.
0000007c exception E com.ibm.ws.wim.adapter.ldap.LdapConnection createSubcontext
com.ibm.websphere.wim.exception.WIMSystemException: CWWIM4520E The 'javax.naming.directory.SchemaViolationException: [LDAP: error code 65 - Object Class Violation]; remaining name 'cn=addcountry,cn=users,dc=cmportal,dc=com'; resolved object com.sun.jndi.ldap.LdapCtx@4abc4abc' naming exception occurred during processing.
Regards,
Anusha.
Offline
Pages: 1