Hello Mokoko
You can add first
*implemntation "org.apereo.cas:cas-server-support-ldap" *
After create a file in /etc/cas/config/cas.properties and paste your CAS
config

Le jeu. 25 mai 2023 à 13:36, Coeurcy Mokoko <[email protected]> a
écrit :

> Hello, can someone please tell me why I can't authenticate to cas server
> with the user I configured in the "cas.properties", this user is the one I
> created in ldap with the same information I entered in "cas.properties"
>
> Here is cas.properties:
>
>
> cas.server.name=http://acsi.cg:8443
> cas.server.prefix=${cas.server.name}/cas
>
> logging.config: file:/etc/cas/config/log4j2.xml
>
> cas.authn.accept.users=
> ### Connexion LDAP
>
> cas.authn.ldap[0].providerClass=org.ldaptive.provider.unboundid.UnboundIDProvid>
> cas.authn.ldap[0].type=AUTHENTICATED
> cas.authn.ldap[0].useSsl=false
> cas.authn.ldap[0].ldapUrl=ldap://acsi.cg:389
> cas.authn.ldap[0].baseDn=dc= acsi,dc=cg
> cas.authn.ldap[0].subtreeSearch=true
> cas.authn.ldap[0].searchFilter=sAMAccountName={user}
> cas.authn.ldap[0].principalAttributeList=cn,givenName,mail
> # Credential to connect to LDAP
> cas.authn.ldap[0].bindDn=CN=admin,DC= acsi,DC=cg
> cas.authn.ldap[0].bindCredential=@Debian453
> ---------------------------------------------------------------------
>
> My user for ldap is:
>
> username: admin
> password: @Debian453
>
>
> Thanks !
>
> --
> - 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/3dcf346c-8592-412c-b7f0-fab661577427n%40apereo.org
> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/3dcf346c-8592-412c-b7f0-fab661577427n%40apereo.org?utm_medium=email&utm_source=footer>
> .
>

-- 
- 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/CAFu1ZRu2qeVVW%3DYHFZcttO1zdHgGzx6KDf8YErV0G89zpkBERg%40mail.gmail.com.

Reply via email to