mirror of
https://github.com/dignajar/another-ldap-auth.git
synced 2026-04-27 05:55:55 +03:00
[GH-ISSUE #25] Group listing always returns empty string #4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @aakarshg on GitHub (Jun 11, 2021).
Original GitHub issue: https://github.com/dignajar/another-ldap-auth/issues/25
I have freeipa ldap server and authentication happens fine however listing groups for some reason always returns empty...
This is how i have configured the relevant parts of deployment
Now this is how my user looks like:
Here's my ingress annotations:
Here's the logs:
What is interesting is that if I try to use the nginx-ldap-auth image instead wiht following config itt works fine:
Can anyone please help me figure out the
LDAP_SEARCH_BASEandLDAP_SEARCH_FILTERvars that i need to be rather using?I;ve a tried a multitude of variations for
LDAP_SEARCH_BASEandLDAP_SEARCH_FILTERbut never succeeded..@dignajar commented on GitHub (Jun 13, 2021):
the memberof is in lowercases ?
cn=grafana-viewers,cn=groups,cn=accounts,dc=blah,dc=net?because I'm checking and the regex to get the groups is
'CN=((\w*\s?_?-?)*)'@dignajar commented on GitHub (Jun 13, 2021):
probably I need to add ignore case sensitive in the regex here: https://github.com/dignajar/another-ldap-auth/blob/master/files/aldap.py#L74
@dignajar commented on GitHub (Jun 14, 2021):
Fixed in version 2.1.
https://github.com/dignajar/another-ldap-auth/releases/tag/2.1
@aakarshg commented on GitHub (Jun 15, 2021):
Thanks @dignajar ! I'll give it a shot later today.. and let you know how it goes.