Re: Help NT Authentication
| From: | Brian McGarvie | Date: | Mon, 29 Jul 2002 08:19:06 +0000 |
| Subject: | Re: Help NT Authentication | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-14994@lists.php.net to get a copy of this message | ||
Try adding the user that looks like...
IUSER_<MACHINENAME>
to the security of the folder that your site is in...
"Kk Lee" <kklee6@yahoo.com> wrote in message
news:3D447A42.72023309@yahoo.com...
> Dear ALL,
>
> I'm working on a win2k, IIS 5.0, PHP and MYSQL system.
> I activated Integrated windows authentication using IIS and i was able
> to popup a login dialog box and could restrict access by authenticating
> through the NT PDC.
>
> The problem is how can i pass the username (which is a domain user in
> the NT domain) into a PHP script for further processing.
> Since it's not an apache-based system, there is no username/password
> file stored locally in the web server (i didn't intend to do so since my
> intention was to utilize ONE set of passwords for NT domain intranet
> logon and web authentication in my school).
>
> I've tried the variables $REMOTE_USER and
> $_SERVER['PHP_AUTH_USER']. It failed and those variables returned NULL
> strings.
>
> Your suggestion would be mostly appreicated.
>
> regards,
>
> KK Lee
>
>
>