well, I'm sure that if you really wanted to try to write your own
auth module in PHP you could theoretically do so - but in lieu of
that there is an open source apache module that you might want to
look into called mod_ntlm http://modntlm.sourceforge.net/
keep in mind that all this does is ask the browser for the current
users creds after a handshake. IE is the only one that I know of that
will gleefully hand out that info without asking the user - all the
other browsers that I've tested ask you if that's ok with you first
(as it should be)
On Jun 28, 2006, at 8:07 AM, Jay Blanchard wrote:
[snip]
thanks for the response, i can see how this works (i think) for basic
authentication with user input,but what i really need is to actually
retrieve the logged on user name after a user has logged into windows.
i.e. the user name that the http client passes to the apache mod has
been captured not from user input, but from say a piece of code that
picks up the user name when the user logs in.
Probably less to do with php now that i come to think of it, but
thanks
anyway.
[/snip]
Ah...I see now. Several have asked this question, let me rephrase and
see if this makes better sense....
How can one capture the login user name from a Windows logon? ASP
can do
it, but can it be done with PHP as one would do with PHP_AUTH_USER?
IIRC I don't think that it is possible with PHP.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php