|
-
March 23rd, 2006, 12:28 PM
#1
Get NT user name from Apache Webserver
Hello
How can I get the NT username from a Apache WebServer running on win32?
I've found the following two modules:
http://rc.vintela.com/topics/apache/mod_auth_vas/
http://technologists.com/mod_auth++/mod_auth++.html
But they only have binaries for linux, i need binaries for win32.
Thanks,
Jonas
"The making of software, like the making of sausages, should never be watched."
http://blog.gauffin.org - .NET Coding/Architecture
-
March 24th, 2006, 10:35 AM
#2
Re: Get NT user name from Apache Webserver
Do you want the name of the user on the client station or on the server ?
The username of the client station cannot be obtained, unless it is passed to the server as an argument in a request.
The username of the server station will be the one that was used for launching Apache, which is rarely interesting. Anyway, sometimes, there is an environment variable holding it. Open a console window, and type "Set" in order to view all the environment variables. One of them might the one you are looking for.
-
March 24th, 2006, 04:25 PM
#3
Re: Get NT user name from Apache Webserver
I want the user name of the client. The two modules that I mentioned can fetch the user name of the client. IIS does this if "Integrate windows authentication" is checked.
"The making of software, like the making of sausages, should never be watched."
http://blog.gauffin.org - .NET Coding/Architecture
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|