Dave, That was a really helpful insight, cas.log indeed provides a more "debuggable" output. CAS uses the port 636 by default, so I just had to disable SSL since we use startTLS on 389 instead. For reference, the entry is:
*cas.authn.ldap[0].useSsl: false* Thank you ! On 26/02/2018 16:52, David Curry wrote: > Do you get any log entries in cas.log? Sometimes those can be a little > more informative than the ones in catalina.out. > > --Dave > > > -- > > DAVID A. CURRY, CISSP > *DIRECTOR OF INFORMATION SECURITY* > INFORMATION TECHNOLOGY > > 71 FIFTH AVE., 9TH FL., NEW YORK, NY 10003 > +1 212 229-5300 x4728 • [email protected] > <mailto:[email protected]> > > The New School > > > On Mon, Feb 26, 2018 at 10:21 AM, sami <[email protected] > <mailto:[email protected]>> wrote: > > Hi David, > Yep, already got that. > > > On 26/02/2018 14:35, David Curry wrote: >> Sami, >> >> Do you have the LDAP dependency in pom.xml? >> >> <dependency> >> <groupId>org.apereo.cas</groupId> >> <artifactId>cas-server-support-ldap</artifactId> >> <version>${cas.version}</version> >> </dependency> >> >> --Dave >> >> >> -- >> >> DAVID A. CURRY, CISSP >> *DIRECTOR OF INFORMATION SECURITY* >> INFORMATION TECHNOLOGY >> >> 71 FIFTH AVE., 9TH FL., NEW YORK, NY 10003 >> +1 212 229-5300 x4728 • [email protected] >> <mailto:[email protected]> >> >> The New School >> >> >> On Mon, Feb 26, 2018 at 9:18 AM, sami <[email protected] >> <mailto:[email protected]>> wrote: >> >> >> I've been following this guide throughout >> >> https://dacurry-tns.github.io/deploying-apereo-cas/introduction_overview.html >> >> <https://dacurry-tns.github.io/deploying-apereo-cas/introduction_overview.html>, >> and everything has been going smoothly so far; up to the part >> where I needed to add the ldap authentication. The log says >> cas is deployed with errors. >> Catalina logs: https://pastebin.com/eitkHDQs >> And this is my cas.properties file: >> >> cas.server.name >> <http://cas.server.name>: >> https://cas.uni.edu >> cas.server.prefix: ${cas.server.name >> <http://cas.server.name>}/cas >> >> cas.tgc.secure: true >> cas.tgc.crypto.signing.key: >> KKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKK >> cas.tgc.crypto.encryption.key: >> KKKKKKKKKKKKKKKKKKKKKKKKKKKKK >> >> cas.webflow.crypto.signing.key: >> WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW >> cas.webflow.crypto.encryption.key: >> wwwwwwwwwwwwwwwwwwwwwwwwww== >> >> cas.authn.accept.users: >> cas.adminPagesSecurity.ip=127\.0\.0\.1 >> >> logging.config: file:/etc/cas/config/log4j2.xml >> cas.serviceRegistry.config.location: file:/etc/cas/services >> >> cas.authn.ldap[0].order: 0 >> cas.authn.ldap[0].name: OpenLDAP >> cas.authn.ldap[0].type: AUTHENTICATED >> cas.authn.ldap[0].ldapUrl: ldap://ldap.uni.edu >> cas.authn.ldap[0].validatePeriod: 270 >> cas.authn.ldap[0].userFilter: uid={user} >> cas.authn.ldap[0].baseDn: ou=people,dc=uni,dc=edu >> cas.authn.ldap[0].bindDn: cn=manager,dc=uni,dc=edu >> cas.authn.ldap[0].bindCredential: Password >> >> Tried to debug, but being new to this and having 200 lines of >> errors thrown at you doesn't make it much of an easy task. >> I'm hoping someone could point me to the right direction. >> Thanks ! >> >> >> On 17/02/2018 21:05, Matthew Uribe wrote: >>> I have found David Curry's guide incredibly helpful. >>> >>> >>> https://dacurry-tns.github.io/deploying-apereo-cas/introduction_overview.html >>> >>> <https://dacurry-tns.github.io/deploying-apereo-cas/introduction_overview.html> >>> >>> Matt >>> >> >> >> On 17/02/2018 21:05, Matthew Uribe wrote: >>> I have found David Curry's guide incredibly helpful. >>> >>> >>> https://dacurry-tns.github.io/deploying-apereo-cas/introduction_overview.html >>> >>> <https://dacurry-tns.github.io/deploying-apereo-cas/introduction_overview.html> >>> >>> Matt >>> >> >> -- >> - 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] >> <mailto:[email protected]>. >> To view this discussion on the web visit >> >> https://groups.google.com/a/apereo.org/d/msgid/cas-user/13e7d691-1d79-d94c-d15f-63977b81e588%40gmail.com >> >> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/13e7d691-1d79-d94c-d15f-63977b81e588%40gmail.com?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 a topic >> in the Google Groups "CAS Community" group. >> To unsubscribe from this topic, visit >> >> https://groups.google.com/a/apereo.org/d/topic/cas-user/LgZzuXvh3OY/unsubscribe >> >> <https://groups.google.com/a/apereo.org/d/topic/cas-user/LgZzuXvh3OY/unsubscribe>. >> To unsubscribe from this group and all its topics, send an email >> to [email protected] >> <mailto:[email protected]>. >> To view this discussion on the web visit >> >> https://groups.google.com/a/apereo.org/d/msgid/cas-user/CA%2Bd9XAP-rZWiEj5ZRB2%2BraMeN7wrz_Kb1BaNL7%2B1FrCni7gPkg%40mail.gmail.com >> >> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/CA%2Bd9XAP-rZWiEj5ZRB2%2BraMeN7wrz_Kb1BaNL7%2B1FrCni7gPkg%40mail.gmail.com?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] > <mailto:[email protected]>. > To view this discussion on the web visit > > https://groups.google.com/a/apereo.org/d/msgid/cas-user/d0021193-740d-ad17-e81b-7d7a20ecf1ea%40gmail.com > > <https://groups.google.com/a/apereo.org/d/msgid/cas-user/d0021193-740d-ad17-e81b-7d7a20ecf1ea%40gmail.com?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 a topic in the > Google Groups "CAS Community" group. > To unsubscribe from this topic, visit > https://groups.google.com/a/apereo.org/d/topic/cas-user/LgZzuXvh3OY/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected] <mailto:[email protected]>. > To view this discussion on the web visit > https://groups.google.com/a/apereo.org/d/msgid/cas-user/CA%2Bd9XAMo04GJL8W3sixnPXorpuRUKJcJfm8%2Bq6a9GQZ-nqkKWQ%40mail.gmail.com > <https://groups.google.com/a/apereo.org/d/msgid/cas-user/CA%2Bd9XAMo04GJL8W3sixnPXorpuRUKJcJfm8%2Bq6a9GQZ-nqkKWQ%40mail.gmail.com?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/4ed7ae9d-757e-e509-3773-1dd0c1143459%40gmail.com.
