mirror of
https://github.com/dignajar/another-ldap-auth.git
synced 2026-04-26 21:55:47 +03:00
[GH-ISSUE #29] Groups lookup fails if a single match doesn't have the regular expression match #6
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 15, 2021).
Original GitHub issue: https://github.com/dignajar/another-ldap-auth/issues/29
Let's take an example of a group as follows :
When the search hits this particular group it will crash due to an
AttributeErroras the code doesn't handle it and not try to process the next set of groups. The error looks something like this:@aakarshg commented on GitHub (Jun 15, 2021):
I've a fix incoming for this.. will be opening a PR shortly
@dignajar commented on GitHub (Jun 16, 2021):
Why that structure for groups ?
For LDAP the groups are composed like this:
@aakarshg commented on GitHub (Jun 17, 2021):
Freeipa does it like that 😓
@dignajar commented on GitHub (Jun 22, 2021):
Fixed in the new version. thank you!