I would recommend digging through your logs – I’m guessing that the value you’re seeing there (cyiXVXfM2gcgUD6d1kBfoa21HiUlt6vfDwdn) is being pulled as a principal attribute.
I had a similar problem where the application kept trying to use one of the password attributes that was being returned during the authentication process.
What I did was use the following settings to map the sAMAccountName to ‘uid’:
cas.authn.ldap[0].principal-attribute-list=sAMAccountName:uid
cas.authn.ldap[0].principal-attribute-id=sAMAccountName
And then I referenced ‘uid’ in my attribute search filters:
cas.authn.attribute-repository.ldap[0].search-filter=sAMAccountName={uid}
cas.authn.attribute-repository.ldap[1].search-filter=sAMAccountName={uid}
cas.authn.attribute-repository.ldap[2].search-filter=uid={uid}
This is with CAS 6.3.0
Thanks,
Tom
From: cas-...@apereo.org <cas-...@apereo.org> On Behalf Of
SK Sahraoui
Sent: Wednesday, February 24, 2021 12:34 PM
To: CAS Community <cas-...@apereo.org>
Subject: [EXT] [cas-user] Attribute Repository issue!
CAUTION: This email originated from outside of SIG. Exercise caution when opening attachments or clicking links, especially from unknown senders.
[EXT-STAMP-ADDED]
--
- 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
cas-user+u...@apereo.org.
To view this discussion on the web visit
https://groups.google.com/a/apereo.org/d/msgid/cas-user/1acdcccd-8fb4-4fe0-b47f-d9822e3f10f2n%40apereo.org.