I was working with CAS 5.0.3 and with the current LDAP setting I could have 
logged in but remember me wasn't working. I was having an error Unrecognized 
field "canonicalizationMode"    which was solved in later version according 
one answer. So now I have updated to 5.2 but I am getting the following 
warning :

2017-11-10 16:56:49,031 WARN 
[org.apereo.cas.config.LdapAuthenticationConfiguration] - <Skipping LDAP 
authentication entry since no type is defined>

Now I can no longer long with the current bindDN and bindCredential and 
Error I am getting is : 

2017-11-10 16:57:57,454 ERROR 
[org.apereo.cas.authentication.PolicyBasedAuthenticationManager] - 
<Authentication has failed. Credentials may be incorrect or CAS cannot find 
authentication handler that supports [TP043264] of type 
[RememberMeUsernamePasswordCredential].>



this is my LDAP setting in CAS.properties 

cas.authn.ldap[1].type=AUTHENTICATED
cas.authn.ldap[1].ldapUrl=xxxxxxxxx
cas.authn.ldap[1].dnFormat=uid=%s,DC=xxxx,DC=xxx,DC=xxx,DC=xxx
cas.authn.ldap[1].baseDn=DC=xxxx,DC=xxxx,DC=xxx,DC=xxx
cas.authn.ldap[1].useSsl=false
cas.authn.ldap[1].useStartTls=false
cas.authn.ldap[1].connectTimeout=5000
cas.authn.ldap[1].userFilter=cn={user}
cas.authn.ldap[1].subtreeSearch=true
cas.authn.ldap[1].usePasswordPolicy=false
cas.authn.ldap[1].bindDn=CN=xxxxx,OU=xxxxx,OU=xxxxx,DC=xxxx,DC=xxxx,DC=xxxx,DC=xxxx
cas.authn.ldap[1].bindCredential=xxxxx
# cas.authn.ldap[1].principalAttributeId=sAMAccountName
# cas.authn.ldap[1].principalAttributePassword=
# 
cas.authn.ldap[1].principalAttributeList=sAMAccountName,sn,cn,givenName,displayName,mail


because CAS is skipping the LDAP authentication entry since no type 
defined. I have 
followed 
https://groups.google.com/a/apereo.org/forum/#!topic/cas-dev/fppkO25Nuo4  
also 
followed 
https://apereo.github.io/cas/development/installation/Configuration-Properties.html#ldap-ssl

 but didn't solve my problem. 


Regards, 

Fazla
__________

-- 
- 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/5772bb74-47ec-433c-8530-18d7494dd290%40apereo.org.

Reply via email to