I'm using CAS 5.3.2 and want to configure CAS with LDAP. I haven't done it 
before. I found this guide 
<https://apereo.github.io/cas/5.3.x/installation/LDAP-Authentication.html> for 
my installation. I followed it and dded the "compile" line and built 
succeed. But I don't know how to make a full configuration to link my LDAP 
with this CAS. The doc looks simple. Anyone can show me a simple example? 
Thanks!

Here's what I added to my cas.properties, but it worked yet:


cas.authn.ldap[0].ldapUrl=ldaps://ldap.forumsys.com
> cas.authn.ldap[0].bindDn=cn=read-only-admin,dc=example,dc=com
> cas.authn.ldap[0].bindCredential=password
> cas.authn.ldap[0].useSsl=true
> cas.authn.ldap[0].useStartTls=false
>
> cas.authn.ldap[0].principalAttributeList=sn,cn:commonName,givenName
> cas.authn.ldap[0].collectDnAttribute=false
> cas.authn.ldap[0].principalDnAttributeName=principalLdapDn
> cas.authn.ldap[0].allowMultiplePrincipalAttributeValues=true
> cas.authn.ldap[0].allowMissingPrincipalAttributeValue=true

-- 
- 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/3b7b089c-f08a-495e-9b90-6af20083043e%40apereo.org.

Reply via email to