I spent hours of search and it seems there once was a "followReferrals" property that no longer works in 5.3.x. When I try setting it, the application refuses to start. I tried all kinds of properties without success. From what I can tell, it looks like the property may have existed in CAS 4.x and must have been removed in 5.x (just my guess). https://github.com/apereo/cas/blob/master/docs/cas-server-documentation/configuration/Configuration-Properties-Common.md
I ended up grabbing the source code for ldaptive and recompiling it with the referral-following block commented out (AbstractReferralHandler.java). It's not the best solution but it works and appears to be the only way. - Mike On Sunday, November 18, 2018 at 9:06:28 PM UTC-5, casuser wrote: > > Hello Mike, > > We are also having the same problem. Did you able to solve it? > > Regards, > > On Friday, November 16, 2018 at 11:07:34 PM UTC+8, Mike wrote: >> >> Hi. Is there any way to disable CAS 5.x from following referrals returned >> by Active Directory when using the root level DC=DOMAIN,DC=COM to search? I >> believe this was done in earlier versions by ignoring partial results. I >> couldn't find any properties or settings in 5.x. >> >> 2018-11-16 09:54:43,373 DEBUG >> [org.ldaptive.referral.SearchReferralHandler] - <Following referral with >> URLs: [ldaps:// >> ForestDnsZones.DOMAIN.COM/DC=ForestDnsZones,DC=DOMAIN,DC=COM]> >> >> >> Thanks, >> - Mike >> > -- - 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/3e832e91-cc8d-4cf8-a46c-0b4ebdc5d791%40apereo.org.
