• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Using JNDI ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Using JNDI ?


  • Subject: Using JNDI ?
  • From: Pascal Robert <email@hidden>
  • Date: Sun, 09 Mar 2008 15:28:15 -0400

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


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@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: DTJC running on the iPhone
  • Next by Date: D2iPhone
  • Previous by thread: Re: DTJC running on the iPhone
  • Next by thread: D2iPhone
  • Index(es):
    • Date
    • Thread