ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » Error parsing LDAP-Path

Post new topic  Reply to topic
 Error parsing LDAP-Path « View previous topic :: View next topic » 
Author Message
legux
PostPosted: Fri Jun 09, 2006 2:30 am    Post subject: Error parsing LDAP-Path Reply with quote

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");

} catch (InvalidNameException e) {
e.printStackTrace();
}



I am using IBM Websphere MQ Workflow with ServicePack 2, installed on a MS Windows 2003 Enterprise Server.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » Error parsing LDAP-Path
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.