FW: help, having problems authenticating user with LDAP

Manuel Haim haim at hrz.uni-marburg.de
Mon Sep 19 15:02:24 BST 2011


Hi,

your login.config looks quite strange - it must contain a JAAS config
like described here:
http://code.google.com/p/vt-middleware/wiki/vtldapJAAS

Remember that JAAS config looks different from that XML in
attribute-resolver.xml

Here is an example config (the {0} will be replaced by your
principalName when executed):

ShibUserPassAuth {
   edu.vt.middleware.ldap.jaas.LdapLoginModule required
      ldapUrl="ldap://xxxxxxdc1.yyyyy.net ldap://xxxxxxdc2.yyyyyyy.net"
      baseDn="dc=umassb,dc=net"
      bindDn="uid=yourProxyUser,ou=proxy,dc=umassb,dc=net"
      bindCredential="yourPassword"
      userFilter="uid={0}"
      subtreeSearch="true"
}

-Manuel




More information about the users mailing list