NT user information

hagar's picture

They have: 104 posts

Joined: Oct 2002

Heya folks, this is connected to another post i made here http://www.webmaster-forums.net/showthread.php?s=&threadid=19596
about gaining NTLM information using apache/php on a windowsxp box that is not a dedicated web server, not a PDC either. Using the module didnt seem to work, now im hoping for a scripting solution.

I'm trying to get NT usernames captured as a variable as people hit the webserver, I've seen some things alluding to this such as

header('WWW-Authenticate: NTLM', True);

but the use of this is a mystery 2 me, its only mentioned once, and even then only using it as a comparison against a text file with users in it, which I dont want. I just need to know the users logon name which I would normally obtain through ASP via

request.servervariables("AUTH_USER")

Need help bad folks, if I cant get this done, I'll abandon php/apache as a viable alternative to asp/vbscript/iis in an Intranet environment, and wont recommend it. I don't see a point in Open Source, if its not flexible to its environment, adaptable to security types and AWARE of the environment it is installed on(a windows machine).

I wont use text files as a security system, this seems rather pathetic and insecure, and like a database of users and passwords, would only be a duplication of the effort undertaken to maintain user logins and permissions in the PDC NTLM system.

"I ’ll make thee glorious by my pen, And famous by my sword." - James Graham, Marquess of Montrose (1612–1650)

Mark Hensler's picture

He has: 4,048 posts

Joined: Aug 2000

posted in other thread before I saw this one

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.