IIS / PHP Intranet Setup auth_user
Posted on 2010-11-22
I am trying to setup an intranet for our employees using IIS 6 and php5. My problem is capturing user information for single sign on
In IIS, I have "Integrated Windows Authentication" checked for the site and "enable anonymous access checked. The phpinfo.php shows that AUTH_USER = value instead of showing me the user name.
If I go back into IIS and disable Anonymous Access, phpinfo.php shows AUTH_USER =Domain\username which is what I want. The problem is that everyone on our network gets prompted to log in using domain\uername. I do not want them to get promoted if they are on our network.
Basically, if they are logged into our domain, they should be able to automatically be able to see the website AND allow php to grab the auth_user.
Now sure what I am doing wrong here. I need some pretty simple steps as I'm not a IIS guy, but Linux is not an option here. Any ideas?