Re: Using JNDI ?
Re: Using JNDI ?
- Subject: Re: Using JNDI ?
- From: Pascal Robert <email@hidden>
- Date: Sun, 12 Apr 2009 21:12:37 -0400
Yes, I did with :
URL : ldap://leopards.macti.lan:389/dc=leopards,dc=macti,dc=lan
Username : uid=admin,cn=users
Authentification : None
Plugin : com.webobjects.jndiadaptor.LDAPPlugIn
Context factory : com.sun.jndi.ldap.LdapCtxFactory
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.
-------------------------------------------------------
Pascal Robert
http://www.macti.ca
http://www.aircourriel.com
http://www.linkedin.com/in/macti
Skype: MacTICanada
AIM/iChat : MacTICanada
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden