RE: [PHP-WIN] Re: NT username detectable?
| From: | Gryffyn, Trevor | Date: | Tue, 07 Sep 2004 18:14:17 +0000 |
| Subject: | RE: [PHP-WIN] Re: NT username detectable? | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-24539@lists.php.net to get a copy of this message | ||
Thanks for the response, Manuel.
Yeah, "LOGON_USER" doesn't show up in PHP or ASP.
It's been a while since I've done any IIS admin and I don't have direct
access to the server setup (and want to minimize the amount of pestering
to our IT staff). Can someone give me a checklist of things that should
be turned on or settings that should be set and where to find those
settings so I can just tell my people "Go here, do this.." and get it
done?
Does this whole process require the server to "request authentication"?
Would that be a checkbox or setting in IIS, a header sent via PHP, or an
NTFS permission setting?
Thanks for your patience. There are just a lot of possibilities and I
know these guys hate me bugging them for dumb stuff (that's not a
"mission critical" feature that is) and would like to make it as
painless as possible for them. Especially if it's something I can just
do in a header sent via PHP or something.
Thanks!
-TG
> -----Original Message-----
> From: Manuel Lemos [mailto:mlemos@acm.org]
> Sent: Tuesday, September 07, 2004 1:51 PM
> To: php-windows@lists.php.net
> Subject: Re: [PHP-WIN] Re: NT username detectable?
>
>
> Hello,
>
> On 09/07/2004 11:45 AM, Trevor Gryffyn wrote:
> > I put in a request to have the Windows Integrated
> Authentication enabled
> > on the web server that runs my PHP scripts at work here. Just got a
> > note back saying that the task was completed, but I still don't see
> > LOGON_USER in the _ENV or _SERVER (or anywhere in phpinfo).
> >
> > Does anyone know if there is there anything else that needs
> to be set in
> > order to access this variable?
>
> The user must be logged in the same Windows Domain as the one that is
> required to authenticate.
>
> From what I could gather, if the Web server requires
> authentication and it fails, the LOGON_USER value is set to an
> empty string. Therefore, if the LOGON_USER is not set at all,
> the Web server seems not really be requesting authentication.
> In that case you need to verify that with server administrator.
>
> --
>
> Regards,
> Manuel Lemos
>
> PHP Classes - Free ready to use OOP components written in PHP
> http://www.phpclasses.org/
>
> PHP Reviews - Reviews of PHP books and other products
> http://www.phpclasses.org/reviews/
>
> Metastorage - Data object relational mapping layer generator
> http://www.meta-language.net/metastorage.html