As you have probably figured out by now, You decide which dependencies you would like to add. The property file is just there to feed whatever is running, and, of course, breaking it when it lacks something vital for the configuration.
Glad I could help with my little CAS knowledge! Without forgetting Jérôme's help of course. On Tuesday, 2 March 2021 at 16:47:59 UTC+1 Bartosz Nitkiewicz wrote: > I found it I didn't add LDAP dependency to build.graddle. > > > CAS + LDAP finally working. Thank you for help. > Bartosz Nitkiewicz > > 2 mar 2021 15:36:09 Bartosz Nitkiewicz <[email protected]>: > > Pierre, > Thanks for reply. What do you mean? > > "Also, I assume you compiled your CAS war including > compile "org.apereo.cas:cas-server-support-ldap:${casServerVersion}" > in the dependencies." > > Isn't those dependencies automatically compiled depending of > cas.properties entries? > Where should I add > "org.apereo.cas:cas-server-support-ldap:${casServerVersion}" entry? > BN > > wtorek, 2 marca 2021 o 14:34:00 UTC+1 Kink napisał(a): > > Hi Bartosz, >> >> I use simple ldap against an ApacheDS, it works well. >> CAS is a marvellous thing ,but a highly sensitive one, you may want to >> verify you have no white space at the end of lines in your config file. >> I ran into that issue once which drove me crazy. >> >> Also, I assume you compiled your CAS war including >> compile "org.apereo.cas:cas-server-support-ldap:${casServerVersion}" >> in the dependencies. >> >> If I were you I would also make the search filter even simpler by >> removing the wild card. I know it sounds dull, but with CAS you've got to >> start small (X_X). >> Basically, do not assume that a working ldap search request ran using an >> LDAP tool will always be interpreted correctly inside CAS, that is not my >> experience but this could be due to bugs on the versions of CAS I have been >> using. >> >> Doesn't the full report of the startup give you any hint? >> >> Cheers, >> Pierre >> > On Tuesday, 2 March 2021 at 12:26:19 UTC+1 Bartosz Nitkiewicz wrote: >> > No success. I'm wondering if this config file is enough for proper LDAP >>> authentication. One thing I want is to enter user name and password and >>> then CAS msg logged in. >>> >>> wtorek, 2 marca 2021 o 11:30:16 UTC+1 leleuj napisał(a): >>> >> Hi, >>>> >>>> It looks like: *cas.authn.ldap[0].dn-format: '%s@domain'* >>>> Thanks. >>>> Best regards, >>>> Jérôme >>>> >>>> >>>> Le mar. 2 mars 2021 à 10:13, Bartosz Nitkiewicz <[email protected]> >>>> a écrit : >>>> >>> Could you please tell me how it should looks like? >>>>> >>>>> wtorek, 2 marca 2021 o 10:09:05 UTC+1 leleuj napisał(a): >>>>> >>>> … >>>>> >>>>> -- - 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/954ef07b-3eb2-4052-973a-6fca05b1b357n%40apereo.org.
