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@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx