httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <>
Subject [users@httpd] mod_authzn_ldap: combining queries to different LDAP layouts
Date Thu, 22 Mar 2018 09:26:01 GMT
Is it possible to use two mod_authzn_ldap checks that need different
settings in the same Location container?

For example:

<Location ...>
  AuthType Basic
  AuthBasicProvider ldap
  AuthName ...
  AuthLDAPurl ...
    AuthLDAPGroupAttribute member
    AuthLDAPGroupAttributeIsDN On
    Require ldap-group cn=one,...
    AuthLDAPGroupAttribute memberUid
    AuthLDAPGroupAttributeIsDN Off
    Require ldap-group cn=two,...

I have tried the above and it looks like only the last instance of
AuthLDAPGroupAttribute and AuthLDAPGroupAttributeIsDN are used.

The groups one and two are defined differently and need different
settings if the validation is to work.
The individual Require commands work if used in different <Location> sections.

Is there a way to get round this?

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message