Hi,

Is there for the LDAP search string for require ldap-group to be based on
some variable (like an environment variable)?

I've tried something like the following without success :

<LocationMatch /hg/[\^]+>
    require ldap-group CN=%{ENV:HG_GROUP},OU=SAVX,OU=Comptes et groupes de
services,DC=CDDDC01,DC=LOCAL
</LocationMatch>

I was setting the HG_GROUP variable using a rewrite rule like this :

RewriteRule ^/hg/([^/]+)/.* - [E=HG_GROUP:$1]

Thanks!

Reply via email to