Did you find a solution to this problem? I am stuck at the same point...

/Fredrik

9 mar 2008 kl. 20.28 skrev Pascal Robert:

I'm trying to make a model out of OpenDirectory LDAP schema. My settings:

<Picture 1.png>

I can query this URL with "pure" JNDI calls and with Apache Directory Studio, but when I try to reserve engineer the schema, I get:

com.webobjects.jndiadaptor.JNDIAdaptorException: Cannot create InitialDirContext: javax.naming.InvalidNameException: [LDAP: error code 34 - invalid DN] at com .webobjects .jndiadaptor.JNDIPlugIn.createInitialDirContext(JNDIPlugIn.java:195) at com.webobjects.jndiadaptor.JNDIContext._connect(JNDIContext.java: 111) at com.webobjects.jndiadaptor.JNDIContext._tryConnect(JNDIContext.java: 100) at com .webobjects .jndiadaptor.JNDIContext._channelWillOpen(JNDIContext.java:67) at com.webobjects.jndiadaptor.JNDIChannel.openChannel(JNDIChannel.java: 155) at com .webobjects .jndiadaptor .JNDIAdaptor.assertConnectionDictionaryIsValid(JNDIAdaptor.java:228) at org .objectstyle .wolips .eomodeler .core.sql.EOFSQLReverseEngineer.<init>(EOFSQLReverseEngineer.java:30)
...

And in the LDAP log:

        Mar  9 15:20:21 leopards slapd[41]: bind: invalid dn (diradmin)

"diradmin" is a valid OD user (and it's even the OD admin).

Does anyone is using JNDI with WO ? The only example I was able to find is Chuck's model in GVCJNDIAddittions framework.


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/frelin%40timeoff.se

This email sent to [email protected]

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to