httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jehan procaccia <jehan.procac...@it-sudparis.eu>
Subject [users@httpd] mod_authnz_ldap AUTHENTICATE_* Env variables ?
Date Thu, 31 Jan 2008 15:11:05 GMT
hello,

in the doc: 
http://httpd.apache.org/docs/2.2/mod/mod_authnz_ldap.html#exposed
it is said that " all LDAP attributes returned by the query are placed 
in the environment, using environment variables with the prefix 
"AUTHENTICATE_"
however I cannot see these "AUTHENTICATE_<attr>=value" in my 
environement variable !?

my test is based on a simple perl script which show environement variables :

#!/usr/bin/perl
print "Content-type: text/plain\n\n";
foreach $var (sort(keys(%ENV))) {
    $val = $ENV{$var};
    print "${var}=\"${val}\"\n";
}

my .htaccess file contains

<Limit GET POST>
 AuthType CAS
 AuthName "INT auth"
 AuthLDAPUrl 
"ldap://ldap4.int-evry.fr/dc=int-evry,dc=fr?uid,mail,cn,eduPersonAffiliation"
 Require ldap-attribute     eduPersonAffiliation=employee
 </Limit>

Hence, I was expected viriable like AUTHENTICATE_uid , 
AUTHENTICATE_mail, AUTHENTICATE_cn and AUTHENTICATE_eduPersonAffiliation 
. None show up, not even in php_info() script :-( . How these variables 
can be available  ?
I'am on centos5 with httpd-2.2.3
Thanks

PS: similar question with no solutions:
http://www.techlists.org/archives/web/apache-users/2003-10/msg00651.shtml
http://meta.wikimedia.org/wiki/User:Otheus/Auto_Login_via_REMOTE_USER/code

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message