Is your feature request related to a problem? Please describe.
When using Authentik's LDAP Outpost to secure an apache server (mod_authnz_ldap), only Require valid-user constraints are functional.
Any constraint more complicated such as a group membership check is currently not possible, due to the ldap outpost not supporting the Compare operation.
Describe the solution you'd like
Authentik's LDAP Outpost should support the compare message type.
Describe alternatives you've considered
mod_auth_oidc is not useful here; common subversion clients such as Tortoise SVN and the svn command unfortunately do not support web-based authentication. (adding this to the list of reasons to prefer git to svn, as git does support web-based auth)
Additional context
A simple repro with ldapcompare:
Is your feature request related to a problem? Please describe. When using Authentik's LDAP Outpost to secure an apache server (mod_authnz_ldap), only
Require valid-user
constraints are functional. Any constraint more complicated such as a group membership check is currently not possible, due to the ldap outpost not supporting the Compare operation.Describe the solution you'd like Authentik's LDAP Outpost should support the compare message type.
Describe alternatives you've considered mod_auth_oidc is not useful here; common subversion clients such as Tortoise SVN and the svn command unfortunately do not support web-based authentication. (adding this to the list of reasons to prefer git to svn, as git does support web-based auth)
Additional context A simple repro with ldapcompare:
I have a proof-of-concept that implements Compare by calling Search and using beryju/ldap's filtering funcs (note: uses a patched version of beryju/ldap to expose needed fields)
Discord link to the support channel, where I posted while exploring this: https://discord.com/channels/809154715984199690/1170914395472277584