CPT John W. Holmes wrote:
You can get the username, that's it.Don't you mean $_SERVER['LOGON_USER']?
$_SESSION['LOGON_USER']
I have no variable for either, and I'm authenticated thru a NT domain. We were doing this at the last place I worked for. Users had to logon to the NT domain just to use their computer, so we wanted to make it easier for them to reach the intranet (linux box, running apache/php/etc.) without having to login to it. Unfortunately, I didn't work on the project, so I'm afraid I won't be much help with the gory details, but I know we used LDAP in some way, shape, or form (the guy who did the project lurks around this mailing list from time to time). If I remember correctly, you had to use IE for this to work, and the domain (web site domain) had to be part of the NT domain. I know...not much help, but maybe it'll give you a starting point.
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php