I have a PHP application running on a Windows 2008 R2 server that authenticates users in Active Directory using the PHP LDAP library.
Like this answer , I am looking to use $_SERVER['AUTH_USER'] , but I get an empty value for it. The same goes for AUTH_TYPE and AUTH_PASSWORD . Variables are declared, but none of them has any meaning for them.
I enabled the Basic Authentication and Windows Authentication roles (through the server manager), but none of them solved the problem.
I am using PHP 5.3.14, Zend Server CE and IIS 7.5.
I need to apply a solution with one sign, but, not being able to get the current user credentials, I lose.
Any help would be greatly appreciated.
source share