users@glassfish.java.net

Re: Ldap as admin-realm authentication

From: Sathyan Catari <Sathyan.Catari_at_Sun.COM>
Date: Thu, 24 Sep 2009 09:43:54 -0700

See if this thread helps you.

http://forums.java.net/jive/thread.jspa?messageID=326015

-Sathyan


glassfish_at_javadesktop.org wrote:
> I would like to use ldap for the admin realm. The following is what i have configured.
>
> <auth-realm classname="com.sun.enterprise.security.auth.realm.ldap.LDAPRealm" name="admin-realm">
> <property name="jaas-context" value="ldapRealm" />
> <property name="bind-dn" value="ou=stis,ou=st,dc=stcg,dc=net" />
> <property name="base-dn" value="dc=stcg,dc=net" />
> <property name="directory" value="ldap://stcg.net:389" />
> </auth-realm>
>
> I'm getting an exception that says it must complete a successful bind first. What am i missing or doing wrong. Any help would be appreciated.
> [Message sent by forum member 'chrisjasp' (chrisjasp_at_gmail.com)]
>
> http://forums.java.net/jive/thread.jspa?messageID=365581
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>