Hello,
I had that exact error.
When you build your cas.war file make sure the ldap dependency embedded inside pom.xml.
If you don’t
After that, the cas.properties file must be formatted correctly.
This is what stumped me the most.
Thanks to David Curry for helping me out on this.
Mine LDAP inside of cas.properties looks like this.
Pay attention to the numbers in scheme zero and one and so forth if you have multiple authentication handlers.
# Employee LDAP
cas.authn.ldap[0].useSsl: true
cas.authn.ldap[0].order: 0
cas.authn.ldap[0].name: Employee-LDAP
cas.authn.ldap[0].type: AUTHENTICATED
cas.authn.ldap[0].ldapUrl: ldaps://devm.philasd.net
cas.authn.ldap[0].validatePeriod: 270
cas.authn.ldap[0].userFilter: uid={user}
cas.authn.ldap[0].baseDn: dc=philasd,dc=org
cas.authn.ldap[0].bindDn: uid=cauth,ou=svc_accts,dc=philasd,dc=org
cas.authn.ldap[0].bindCredential: xxxxx
#
#LDAP for SG (Student Guardian)
cas.authn.ldap[1].useSsl: true
cas.authn.ldap[1].order: 1
cas.authn.ldap[1].name: SG-LDAP
cas.authn.ldap[1].type: AUTHENTICATED
cas.authn.ldap[1].ldapUrl: ldaps://devsgm.philasd.net
cas.authn.ldap[1].validatePeriod: 270
cas.authn.ldap[1].userFilter: uid={user}
cas.authn.ldap[1].baseDn: dc=philasd,dc=org
cas.authn.ldap[1].bindDn: uid=casauth,ou=svc_accts,dc=philasd,dc=org
cas.authn.ldap[1].bindCredential: xxxxx
===========================
Thank You;
Chris Cheltenham
Technology Services
The School District of Philadelphia
Work # 215-400-5025
Cell # 215-301-6571
--
- 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/1adc9541-9f73-49bf-9904-3abb2e3e7c55%40apereo.org.
<dependency>
<groupId>org.apereo.cas</groupId>
<artifactId>cas-server-support-ldap</artifactId>
<version>${cas.version}</version>
</dependency>
and cas.properties file -->
Something it doesn’t like in your cas.properties section I would guess.
I am not familiar with your ldap so its difficult for me to say exactly what you need.
Start out very simple and connect to one LDAP.
I don’t use AD so I don’t know what that require either.
Start off with something simple and build on it from there.
# LDAP connector (for single instance)
# cas.authn.ldap[0].type=Authenticated
# cas.authn.ldap[0].ldapUrl=ldaps://
# cas.authn.ldap[0].useSsl=true
I saw ssl false in your configuration
# cas.authn.ldap[0].baseDn=dc=philasd,dc=org
# cas.authn.ldap[0].userFilter=uid={user}
# cas.authn.ldap[0].bindDn=uid=cuth,dc=philasd,dc=org
# cas.authn.ldap[0].bindCredential=
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/6e9599ed-469d-4657-8628-363a2fa04774%40apereo.org.