Hi, You can check out my configs here: https://github.com/oldmanpeterson/CAS I use Active Directory as a back end.
On Tuesday, May 8, 2018 at 12:54:31 PM UTC-5, Spider Main wrote: > > Hello, > > I generated a war file from cas-gradle-overlow and deployed on to Tomcat9. > Default Username/Password authentication worked and now I'm trying to > change it to LDAP but for some reason, am not able to see authentication > with LDAP. Can anyone of you guys suggest what's going on? > > Below is the config for LDAP: > cas.authn.accept.users= > cas.authn.ldap[0].type=AUTHENTICATED > cas.authn.ldap[0].ldapUrl=ldap://xxxxxx:3268 > cas.authn.ldap[0].connectionStrategy= > cas.authn.ldap[0].connectTimeout=5000 > cas.authn.ldap[0].subtreeSearch=true > cas.authn.ldap[0].baseDn=dc=ad,dc=xxxx,dc=com > cas.authn.ldap[0].userFilter=sAMAccountName={user} > cas.authn.ldap[0].bindCredential=ldap > cas.authn.ldap[0].useSsl=false > cas.authn.ldap[0].validator.type=SEARCH > cas.authn.ldap[0].validator.baseDn=dc=ad,dc=xxx,dc=com > cas.authn.ldap[0].validator.attributeValues=top > cas.authn.ldap[0].validator.scope=SUBTREE > cas.authn.ldap[0].bindDn=cn=ldap user,ou=System > Accounts,dc=ad,dc=xxx,dc=com > > ldap.url=ldap://ldap.xxxxxxx.com:3268 > ldap.useStartTLS=false > ldap.baseDn=dc=ad,dc=xxxx,dc=com > ldap.connectTimeout=3000 > ldap.managerDn=cn=ldap user,ou=System Accounts,dc=ad,dc=xxxxxx,dc=com > ldap.managerPassword=ldap > ldap.authn.searchFilter=sAMAccountName={user} > ldap.domain=cxtec.com > ldap.allowMultipleDns=false > > 2018-05-08 13:53:38,070 ERROR > [org.apereo.cas.authentication.PolicyBasedAuthenticationManager] - > <Authentication has failed. Credentials may be incorrect or CAS cannot find > authentication handler that supports [pvemi] of type > [UsernamePasswordCredential]. Examine the configuration to ensure a method > of authentication is defined and analyze CAS logs at DEBUG level to trace > the authentication event.> > 2018-05-08 13:53:38,074 INFO > [org.apereo.inspektr.audit.support.Slf4jLoggingAuditTrailManager] - <Audit > trail record BEGIN > ============================================================= > WHO: xxxx > WHAT: Supplied credentials: [xxxx] > ACTION: AUTHENTICATION_FAILED > APPLICATION: CAS > > -Phani Vemi > -- - Website: https://apereo.github.io/cas - Gitter Chatroom: https://gitter.im/apereo/cas - List Guidelines: https://goo.gl/1VRrw7 - Contributions: https://goo.gl/mh7qDG --- You received this message because you are subscribed to the Google Groups "CAS Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/de424220-ae33-49bf-89de-b1fe8132d5b3%40apereo.org.
