hak
2009-01-27 21:38:54 UTC
Hello!
Thanks everyone for your help thus far.
I'm stuck on a problem now with with an LDAP connector in "AddOnly"
mode.
However, I keep getting the LDAP Error 65 Objectclass Violation
error... See below.
15:36:19 [AddToTAM6LDAP] CTGDIS810E handleException - cannot handle
exception , addonly
javax.naming.directory.SchemaViolationException: [LDAP: error code 65
- Object Class Violation]; remaining name 'uid=testuser,o=demo'
at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3031)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2946)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2752)
at com.sun.jndi.ldap.LdapCtx.c_createSubcontext(LdapCtx.java:785)
at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_createSubcontext
(ComponentDirContext.java:334)
at
com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.createSubcontext
(PartialCompositeDirContext.java:263)
at javax.naming.directory.InitialDirContext.createSubcontext
(InitialDirContext.java:194)
at com.ibm.di.connector.LDAPConnector.putEntry(Unknown Source)
at com.ibm.di.server.AssemblyLineComponent.add1(Unknown Source)
at com.ibm.di.server.AssemblyLineComponent.add(Unknown Source)
at com.ibm.di.server.AssemblyLine.msExecuteNextConnector(Unknown
Source)
at com.ibm.di.server.AssemblyLine.executeMainStep(Unknown Source)
at com.ibm.di.server.AssemblyLine.executeMainLoop(Unknown Source)
at com.ibm.di.server.AssemblyLine.executeMainLoop(Unknown Source)
at com.ibm.di.server.AssemblyLine.executeAL(Unknown Source)
at com.ibm.di.server.AssemblyLine.run(Unknown Source)
I added the"task.dumpEntry(work);" command to my code for debugging
purposes in the "Before Add" Hook, and here is my output:
15:36:19 CTGDIS003I *** Start dumping Entry
15:36:19 Operation: add
15:36:19 Entry attributes:
15:36:19 sn (replace): 'User'
15:36:19 objectclass
(replace): 'top' 'person' 'inetorgperson' 'organizationalperson'
15:36:19 uid (replace): 'testuser'
15:36:19 cn (replace): 'Test User'
15:36:19 CTGDIS004I *** Finished dumping Entry
The objectclasses and schemas are standard out of the box with my IBM
LDAP 5.2 installation.
Am I missing something here????
Thanks everyone for your help thus far.
I'm stuck on a problem now with with an LDAP connector in "AddOnly"
mode.
However, I keep getting the LDAP Error 65 Objectclass Violation
error... See below.
15:36:19 [AddToTAM6LDAP] CTGDIS810E handleException - cannot handle
exception , addonly
javax.naming.directory.SchemaViolationException: [LDAP: error code 65
- Object Class Violation]; remaining name 'uid=testuser,o=demo'
at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3031)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2946)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2752)
at com.sun.jndi.ldap.LdapCtx.c_createSubcontext(LdapCtx.java:785)
at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_createSubcontext
(ComponentDirContext.java:334)
at
com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.createSubcontext
(PartialCompositeDirContext.java:263)
at javax.naming.directory.InitialDirContext.createSubcontext
(InitialDirContext.java:194)
at com.ibm.di.connector.LDAPConnector.putEntry(Unknown Source)
at com.ibm.di.server.AssemblyLineComponent.add1(Unknown Source)
at com.ibm.di.server.AssemblyLineComponent.add(Unknown Source)
at com.ibm.di.server.AssemblyLine.msExecuteNextConnector(Unknown
Source)
at com.ibm.di.server.AssemblyLine.executeMainStep(Unknown Source)
at com.ibm.di.server.AssemblyLine.executeMainLoop(Unknown Source)
at com.ibm.di.server.AssemblyLine.executeMainLoop(Unknown Source)
at com.ibm.di.server.AssemblyLine.executeAL(Unknown Source)
at com.ibm.di.server.AssemblyLine.run(Unknown Source)
I added the"task.dumpEntry(work);" command to my code for debugging
purposes in the "Before Add" Hook, and here is my output:
15:36:19 CTGDIS003I *** Start dumping Entry
15:36:19 Operation: add
15:36:19 Entry attributes:
15:36:19 sn (replace): 'User'
15:36:19 objectclass
(replace): 'top' 'person' 'inetorgperson' 'organizationalperson'
15:36:19 uid (replace): 'testuser'
15:36:19 cn (replace): 'Test User'
15:36:19 CTGDIS004I *** Finished dumping Entry
The objectclasses and schemas are standard out of the box with my IBM
LDAP 5.2 installation.
Am I missing something here????