Authentication via UID:

cas.authn.ldap[0].type=DIRECT
cas.authn.ldap[0].useSsl=false
cas.authn.ldap[0].ldapUrl=ldap://ldap.domain.fr:388
cas.authn.ldap[0].baseDn=uid=%s,ou=people,dc=domain,dc=fr


OR Authentication with other id:

cas.authn.ldap[0].type=ANONYMOUS
cas.authn.ldap[0].useSsl=false
cas.authn.ldap[0].ldapUrl=ldap://ldap.domain.fr:388
cas.authn.ldap[0].baseDn=ou=people,dc=domain,dc=fr
cas.authn.ldap[0].dnFormat=ou=people,dc=domain,dc=fr
cas.authn.ldap[0].userFilter=otherLoginId={user}


A little too late but might serve someone.

On Thursday, April 6, 2017 at 10:18:33 AM UTC+2, Nour Krichene wrote:
>
>
> It works now
>
> I added the LDAP dependency before building the project and change 
> cas.properties
>
> cas.authn.ldap[0].type=AUTHENTICATED
> cas.authn.ldap[0].ldapUrl=ldap://localhost:389
> cas.authn.ldap[0].useSsl=false
> cas.authn.ldap[0].useStartTls=false
> cas.authn.ldap[0].connectTimeout=5000
> cas.authn.ldap[0].baseDc=dc=example,dc=com
> cas.authn.ldap[0].baseDn=ou=users,dc=example,dc=com
> cas.authn.ldap[0].userFilter=uid={user}
> cas.authn.ldap[0].subtreeSearch=true
> cas.authn.ldap[0].usePasswordPolicy=false
> cas.authn.ldap[0].bindDn=cn=admin,dc=example,dc=com
> cas.authn.ldap[0].bindCredential=***
> ...
>
>
> On Wednesday, April 5, 2017 at 3:35:29 PM UTC+2, Nour Krichene wrote:
>>
>> hello
>> have you a guide (step by step) for using CAS (4 or 5 ) with LDAP 
>> (OpenLDAP)
>> with maven on Ubuntu
>> ?
>> I followed the instructions in the documentation but it did not work
>> Thank you
>>
>

-- 
- CAS gitter chatroom: https://gitter.im/apereo/cas
- CAS mailing list guidelines: https://apereo.github.io/cas/Mailing-Lists.html
- CAS documentation website: https://apereo.github.io/cas
- CAS project website: https://github.com/apereo/cas
--- 
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/efc758f3-8743-41de-868d-853d7931b878%40apereo.org.

Reply via email to