mod_authnz_ldap AUTHENTICATE_* Env variables ?

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

 



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


[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