Posted: Fri Jun 09, 2006 2:30 am Post subject: Error parsing LDAP-Path
Novice
Joined: 14 Nov 2005 Posts: 18
Hi.
I try to use the LDAP-Bridge to export users from LDAP to FDL.
This works for some LDAP-Queries defined in MSADSampleConfig.xml.
But in some LDAP-Paths I get an InvalidNameException during the import.
For example:
The LDAP-Query is: "OU=City,OU=Standorte,DC=domain"
I have defined, that all cn in the whole subtree should be exported.
When starting the Staffbridge i get the following Exception:
10:55:33 Parsing mapping specifications from "D:\entwicklung\Workflow\LdapBridge\test\MSADSampleMapping.xml".
10:55:34.681 Caught exception:
javax.naming.InvalidNameException: Invalid name: "CN=name,OU=BW organization,OU=BW group 1/group2"
at javax.naming.ldap.Rfc2253Parser.parseAttrType(Unknown Source)
at javax.naming.ldap.Rfc2253Parser.doParse(Unknown Source)
at javax.naming.ldap.Rfc2253Parser.parseDn(Unknown Source)
at javax.naming.ldap.LdapName.parse(Unknown Source)
at javax.naming.ldap.LdapName.<init>(Unknown Source)
at com.sun.jndi.ldap.LdapNameParser.parse(Unknown Source)
at com.ibm.workflow.util.bridge.LDAPObjHandler.performQuery(LDAPObjHandler.java:569)
at com.ibm.workflow.util.bridge.LDAPObjHandler.readRecords(LDAPObjHandler.java:512)
at com.ibm.workflow.util.bridge.LDAPIn.<init>(LDAPIn.java:62)
at com.ibm.workflow.util.bridge.ConnectionEngine.fromSource(ConnectionEngine.java:394)
at com.ibm.workflow.util.bridge.ConnectionEngine.<init>(ConnectionEngine.java:52)
at com.ibm.workflow.util.bridge.StaffBridge.libMain(StaffBridge.java:97)
at com.ibm.workflow.util.bridge.StaffBridge.main(StaffBridge.java:32)
10:55:34 Elapsed time: 1266 ms. Exit with return code 8.
The Exception occurs in all Paths which contains the "/". Is it not allowed to use a "/"-Sign in Ldap-Paths?
When I try to parse the name manually it throws no Exception:
try {
LdapName rfc = new LdapName("CN=name,OU=BW organization,OU=BW group 1/group2");
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum