Environment variable in require ldap-group?
am 01.12.2009 17:13:55 von Emmanuel Pirsch--001485f20b9685e7bb0479ad0b20
Content-Type: text/plain; charset=ISO-8859-1
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 :
require ldap-group CN=%{ENV:HG_GROUP},OU=SAVX,OU=Comptes et groupes de
services,DC=CDDDC01,DC=LOCAL
I was setting the HG_GROUP variable using a rewrite rule like this :
RewriteRule ^/hg/([^/]+)/.* - [E=HG_GROUP:$1]
Thanks!
--001485f20b9685e7bb0479ad0b20
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Hi,
Is there for the LDAP search string for require ldap-group to be=
based on some variable (like an environment variable)?
I've tri=
ed something like the following without success :
<LocationMatch =
/hg/[\^]+>
=A0 require ldap-group CN=3D%{ENV:HG_GROUP},OU=3DSAVX,OU=3DComptes et=
groupes de services,DC=3DCDDDC01,DC=3DLOCAL
</LocationMatch>
<=
br>I was setting the HG_GROUP variable using a rewrite rule like this :
=
RewriteRule ^/hg/([^/]+)/.* - [E=3DHG_GROUP:$1]
Thanks!
--001485f20b9685e7bb0479ad0b20--