Re: windows auth with php

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

 



Gustav Wiberg wrote:
I read
"The HTTP Authentication hooks in PHP are only available when it is running as an Apache module and is hence not available in the CGI version. In an Apache module PHP script, it is possible to use the header() function to send an "Authentication Required" message to the client browser causing it to pop up a Username/Password input window. Once the user has filled in a username and a password, the URL containing the PHP script will be called again with the predefined variables PHP_AUTH_USER, PHP_AUTH_PW, and AUTH_TYPE set to the user name, password and authentication type respectively. These predefined variables are found in the $_SERVER and $HTTP_SERVER_VARS arrays. Both "Basic" and "Digest" (since PHP 5.1.0) authentication methods are supported. See the header() function for more information."

Transparent authentication *does not* use HTTP authentication. It falls back to HTTP authentication if it has to.

I'm checking Windows Integrated Authentication in IIS 6.0 and I'm using PHP 5.0.1.

PHP is working as an ISAPI-module. Is this the problem? Is that why the authentication is not working automatically? (without logging in with username and password at first)

Or is the version of PHP the problem? Should it be larger than 5.1.0 ? Is that why the authentication is not working automatically? (without logging in with username and password at first)

I'm trying with IE6 and IE7...

5.0.1 is very old now, you really should upgrade to the latest version. However, I highly doubt that's the cause of your issue.

You need to understand that with transparent authentication PHP does not get involved at all - everything happens before PHP gets called. As I said in my other email, get it working with ASP, then try it with PHP. You'll find the support around ASP far more helpful with this problem than the PHP community.

-Stut

--
http://stut.net/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux