That error reads like an error in your JAAS config file.  Following is
the JAAS config file we use in the vt-ldap unit tests.  You may find
it helpful as a starting point for configuring the one for your
environment:

vt-ldap {
  edu.vt.middleware.ldap.jaas.LdapLoginModule required
    ldapUrl="ldap://ed-dev.middleware.vt.edu:14389";
    base="ou=test,dc=vt,dc=edu"
    tls="true"
    hostnameVerifier="edu.vt.middleware.ldap.AnyHostnameVerifier"
    serviceUser="uid=1,ou=test,dc=vt,dc=edu"
    serviceCredential="not-the-password"
    userField="mail"
    roleBase="ou=test,dc=vt,dc=edu"
    roleFilter="(mail={1})"
    roleAttribute="objectClass"
    userRoleAttribute="departmentNumber";
};

Hope that helps,
Marvin

-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to