Environment variable in require ldap-group?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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!

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux