Good afternoon, I have installed CAS in the new version 5.3.0, once modified the application.properties and indicated that the default credentials stop working I have tried to add the follow
cas.authn.ldap[0].type= AD
cas.authn.ldap[0].ldapUrl= ldap://IP:389
cas.authn.ldap[0].useSsl= false
cas.authn.ldap[0].useStartTls= false
cas.authn.ldap[0].connectTimeout= 3000
cas.authn.ldap[0].baseDn= OU=VDI,DC=domain,DC=local
cas.authn.ldap[0].searchFilter= cm={user}
cas.authn.ldap[0].subtreeSearch= true
cas.authn.ldap[0].dnFormat= %s@domain
When I try to log in with the credentials, the LOG shows the following error:
2018-11-27 12:57:24,594 DEBUG [org.apereo.cas.authentication.PolicyBasedAuthenticationManager] - <Authentication handler [HttpBasedServiceCredentialsAuthenticationHandler] does not support the credential type [UsernamePasswordCredential(username=Test)]. Trying next...>
2018-11-27 12:57:24,629 INFO [org.apereo.inspektr.audit.support.Slf4jLoggingAuditTrailManager] - <Audit trail record BEGIN
=============================================================
WHO: Test
WHAT: Supplied credentials: [UsernamePasswordCredential(username=Test)]
ACTION: AUTHENTICATION_FAILED
APPLICATION: CAS
WHEN: Tue Nov 27 12:57:24 CET 2018
From the server of cas with ldapsearch I can show all the information.
Can you help me in this matter? It is an environment that needs to be authenticated with AD and I do not get it.
Thank you so much.
--
- 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 cas-user+u...@apereo.org.
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/57d36eab-e109-42c8-9514-9476e9dcef8e%40apereo.org.
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/de868633-b559-43a0-8489-73a0a0efe219%40apereo.org.
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/8378915f-d57a-411c-a8fd-08ce55eb255c%40apereo.org.
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/adbf480d-ad7e-42a0-9226-880dc4310843%40apereo.org.
-- Ray Bon Programmer analyst Development Services, University Systems 2507218831 | CLE 019 | rb...@uvic.ca
cas.authn.ldap[0].type=AUTHENTICATED
cas.authn.ldap[0].ldapUrl=ldaps://ad.fandm.edu
cas.authn.ldap[0].baseDn=ou=Users,dc=fandm,dc=edu
cas.authn.ldap[0].searchFilter=sAMAccountName={user}
cas.authn.ldap[0].bindDn=CN=CAS AD Lookup,CN=Robots,DC=fandm,DC=edu
cas.authn.ldap[0].bindCredential=aPassword
--
- 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 cas-user+u...@apereo.org.
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/57d36eab-e109-42c8-9514-9476e9dcef8e%40apereo.org.