Baba, Can you connect and search with ldapsearch or apache directory studio?
Do you want to connect as 'Directory Manager' or 'admin'? Ray On Fri, 2021-10-22 at 08:49 -0700, Baba Ndiaye wrote: Notice: This message was sent from outside the University of Victoria email system. Please be cautious with links and sensitive information. Hi i'm a new user of cas apereo i already install cas ldap and i add ldap module i want to connect with ldap (uid and password) but i always have failed and casuser and Mellon also failed my cas.properties file #cas.server.name=http://192.168.1.5:8080 cas.server.name=https://192.168.1.5:8443 cas.server.prefix=${cas.server.name}/cas logging.config=file:/etc/cas/config/log4j2.xml # cas.authn.accept.enabled=false #############mes mes ajouts################## cas.authn.ldap[0].type=AUTHENTICATED cas.authn.ldap[0].ldapUrl=ldap://192.168.1.6:389 cas.authn.ldap[0].baseDn=dc=retel,dc=sn cas.authn.ldap[0].searchFilter=uid={user} cas.authn.ldap[0].subtreeSearch=true cas.authn.ldap[0].bindDn=cn=Directory Manager,dc=retel,dc=sn cas.authn.ldap[0].bindCredential=passer cas.authn.ldap[0].principalAttributeId=uid cas.authn.ldap[0].principalAttributePassword=password ################ fin ajout ################# and my slapcat is root@ubuntu18:/etc/cas/config# slapcat dn: dc=retel,dc=sn objectClass: top objectClass: dcObject objectClass: organization o: retel.sn dc: retel structuralObjectClass: organization entryUUID: 05c02142-c779-103b-966e-39ba122b4bd4 creatorsName: cn=admin,dc=retel,dc=sn createTimestamp: 20211022114330Z entryCSN: 20211022114330.237590Z#000000#000#000000 modifiersName: cn=admin,dc=retel,dc=sn modifyTimestamp: 20211022114330Z dn: cn=admin,dc=retel,dc=sn objectClass: simpleSecurityObject objectClass: organizationalRole cn: admin description: LDAP administrator userPassword:: e1NTSEF9T3M2VUduZlA2S05ySGhKMlJZbjQvM1V2Vk1EVTBqbTk= structuralObjectClass: organizationalRole entryUUID: 05c1166a-c779-103b-966f-39ba122b4bd4 creatorsName: cn=admin,dc=retel,dc=sn createTimestamp: 20211022114330Z entryCSN: 20211022114330.243915Z#000000#000#000000 modifiersName: cn=admin,dc=retel,dc=sn modifyTimestamp: 20211022114330Z dn: ou=people,dc=retel,dc=sn objectClass: organizationalUnit ou: people structuralObjectClass: organizationalUnit entryUUID: 5f0ec51e-c779-103b-83f2-b9a607630f9c creatorsName: cn=admin,dc=retel,dc=sn createTimestamp: 20211022114600Z entryCSN: 20211022114600.070216Z#000000#000#000000 modifiersName: cn=admin,dc=retel,dc=sn modifyTimestamp: 20211022114600Z dn: ou=groups,dc=retel,dc=sn objectClass: organizationalUnit ou: groups structuralObjectClass: organizationalUnit entryUUID: 5f0fa92a-c779-103b-83f3-b9a607630f9c creatorsName: cn=admin,dc=retel,dc=sn createTimestamp: 20211022114600Z entryCSN: 20211022114600.076076Z#000000#000#000000 modifiersName: cn=admin,dc=retel,dc=sn modifyTimestamp: 20211022114600Z dn: uid=baba,ou=people,dc=retel,dc=sn objectClass: inetOrgPerson objectClass: posixAccount objectClass: shadowAccount cn: baba sn: Wiz userPassword:: cGFzc2Vy loginShell: /bin/bash uidNumber: 2000 gidNumber: 2000 homeDirectory: /home/baba structuralObjectClass: inetOrgPerson uid: baba entryUUID: b9731220-c77a-103b-83f4-b9a607630f9c creatorsName: cn=admin,dc=retel,dc=sn createTimestamp: 20211022115541Z entryCSN: 20211022115541.219243Z#000000#000#000000 modifiersName: cn=admin,dc=retel,dc=sn modifyTimestamp: 20211022115541Z dn: uid=babacar,ou=people,dc=retel,dc=sn objectClass: inetOrgPerson objectClass: posixAccount objectClass: shadowAccount cn: babacar sn: Wiz userPassword:: e1NTSEF9d0JTSS9tYk9OcVdsL0pqWDFFQTh1ZTErZldEWUxZVy8= loginShell: /bin/bash uidNumber: 2000 gidNumber: 2000 homeDirectory: /home/babacar structuralObjectClass: inetOrgPerson uid: babacar entryUUID: f39c262c-c788-103b-83f5-b9a607630f9c creatorsName: cn=admin,dc=retel,dc=sn createTimestamp: 20211022133731Z entryCSN: 20211022133731.750520Z#000000#000#000000 modifiersName: cn=admin,dc=retel,dc=sn thank for your help guys!!!! -- Ray Bon Programmer Analyst Development Services, University Systems 2507218831 | CLE 019 | [email protected]<mailto:[email protected]> I acknowledge and respect the lək̓ʷəŋən peoples on whose traditional territory the university stands, and the Songhees, Esquimalt and WSÁNEĆ peoples whose historical relationships with the land continue to this day. -- - 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/507f7af2f867864ec754d2a05b21b8b74863cd74.camel%40uvic.ca.
