|
Home > Archive > WebSphere Portal Server > March 2007 > Add LDAP user using XMLAccess
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Add LDAP user using XMLAccess
|
|
|
| We user IBM Tivoli LDAP server.
$ ldapsearch -b "dc=test,dc=com" -o ibm-slapdDN "objectclass=top" ibm-slapdDN
This above command returns DN's in the following format.
uid=test,cn=users,dc=jpmorgan,dc=com
Why does the following XMLAccess file throw an exception ? Has anyone tried this before ?
<request
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="PortalConfig_1.4.xsd"
type="update" create-oids="true">
<portal action="locate">
<user action="create" domain="rel" firstname="Test" lastname="Joe" name="uid=1111,cn=users,dc=test,
dc=com" password="secret"/>
</user>
</portal>
</request>
<message>com.ibm.websphere.wmm.exception.WMMSystemException: The following Naming Exception occured during processing: "javax.naming.directory.SchemaViolationException: [LDAP: error code 65 - Object Class Violation]; remaining name 'uid=i028892,cn
=users,dc=test,dc=com'; resolved object com.sun.jndi.ldap.LdapCtx@500e5567".</message>
Thanks,
Mohan
| |
|
| I'm getting the same problem. Did you ever find a solution?
I seem to be able to successfully create users in the GUI however...
| |
|
| We found colusion with others that the Update for XMLAccess do work, the new users do not work for at least our version 5.1.02
|
|
|
|
|