Forum Discussion
AlexS_yb
Apr 02, 2021Cirrocumulus
ldap auth not setting %{session.ldap.last.attr.dn}
Hi I have a ldapauth followed by ldap query and the query is not working I have a search filter of uniquemember=%{session.ldap.last.attr.dn} But %{session.ldap.last.attr.dn} is not set ...
AlexS_yb
Cirrocumulus
Seems like I have multiple issues going on. my ldap server is not serving up memberof attribute.
spalande
Apr 06, 2021Nacreous
Please try to use memberof attribute as it worked as expected.
"session.ldap.last.attr.dn" works as well but you would see if user is part of more than 1 group those will be populated as session.ldap.last.attr.dn.1 until session.ldap.last.attr.dn.n and you would have to use some outside the box expressions to catch the required membership of the group.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects