Adrian, Frank,

That was exactly what I was looking for. I wasn't aware that changes had to
be made to the security stuff, but in hindsight it makes perfect sence.

Thanks a lot ;-)

/Christian

-----Original Message-----
From: Frank M. Kromann [mailto:[EMAIL PROTECTED]]
Sent: 17. september 2001 18:41
To: Christian Sandfeld
Cc: '[EMAIL PROTECTED]'
Subject: Re: [PHP-WIN] How can I retreive a users Windows logon name?


Hi Christian,

If you change the access control from Basic to NT LM for the Intranet web
site you will gain the following things:

1) Users loged on to the same NT domain as the web server will be veryfied
and have access to your Intranet. This will work for IE browsers. If you use
netscape or the user is unautoraized by the NT Domain the user will be
prompted for a user id and password.

2) The users login name and auth method will be available in $AUTH_USER and
$AUTH_TYPE.

- Frank

> Hi group,
> 
> Is there any way I can retreive a users Windows logon name?
> 
> I'm running a system with IIS 4/PHP 4.0.6/MySQL 3.23.xx.
> 
> Basicaly what I'm after is some simple way to verify what user is
accessing
> our intranet, without having to prompt the user for his initials.
> 
> I am aware that this does not provide for much security, but that's ok
(I'm
> not after security, only after a simple user verification).
> 
> I thank you in advance for your time ;-)
> 
> /Christian
> 
> ----------------------------------------------
> Christian Sandfeld
> Zensys A/S
> ----------------------------------------------
> 
> 
> -- 
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
> 
> 
> 




-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to