This works for me:
connectionDictionary = {
authenticationMethod = Simple;
initialContextFactory = "com.sun.jndi.ldap.LdapCtxFactory";
plugInClassName = "com.webobjects.jndiadaptor.LDAPPlugIn";
scope = Subtree;
serverUrl = "ldap://host:port/o=base.dn";
timeout = 3600;
username = "cn=Manager,o=base.dn";
password = xxxxxxxx;
};
Of course, you replace host, port, o=base.dn, etc.
Rob
On Oct 15, 2010, at 10:47 AM, Ray Kiddy wrote:
>
> Hello -
>
> Does anyone have an actual example of a model that uses JNDI to talk to an LDAP data source? I want to use an LDAP accessible authentication source. The usual thing. I end up having to do this every few years. Since the last time I did it, JNDI things seem to have become unfindable on google. I can find lots of incomplete discussions that talk about solutions. But none of them actually have the solutuion being referred to. And, of course, there is no example on the Wonder wiki.
>
> I figure that once I see a working connection dictionary, I will remember which arbitrary crud has to be inserted that I am, I have no doubt, forgetting to put in.
>
> thanx - ray
>
-- Rob Urquhart Institutional, Collaborative, and Academic Technologies (ICAT) IT Services Simon Fraser University 778-782-3650 rob.urquhar..fu.ca
This archive was generated by hypermail 2.0.0 : Fri Oct 15 2010 - 18:01:18 UTC