You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some LDAP implementations/configurations do not allow queries that include attributes that don't exist, even when used in an or statement with other conditions that match.
because in this particular LDAP server, memberUid is not a recognized attribute.
While the current filter is a good catch-all default, we could work around this issue and other potential ones by exposing a command-line option to override group_filter, similarly to lookup_dn_search_filter.
In addition, some group implementations may require specifying search_base on the group search, which currently isn't possible, so this could be another configuration option to expose.
The text was updated successfully, but these errors were encountered:
The filter used for checking allowed group membership is hard-coded, see
ldapauthenticator/ldapauthenticator/ldapauthenticator.py
Lines 397 to 403 in 455432a
Some LDAP implementations/configurations do not allow queries that include attributes that don't exist, even when used in an
or
statement with other conditions that match.For example, this works (returns >= 1 results):
but this doesn't (returns zero results):
because in this particular LDAP server,
memberUid
is not a recognized attribute.While the current filter is a good catch-all default, we could work around this issue and other potential ones by exposing a command-line option to override
group_filter
, similarly tolookup_dn_search_filter
.In addition, some group implementations may require specifying
search_base
on the group search, which currently isn't possible, so this could be another configuration option to expose.The text was updated successfully, but these errors were encountered: