I'm using the mod_auth_sspi for apache 2.2 (in windows), to do NTLM authentication. I have it setup, and it works fine. Trying to access a protected page properly authenticates the user.
What I haven't been able to figure out, is what do I need to do to get the username of the person who just authenticated?
I've enabled authentication by adding these lines to my apache http.conf file.
Code: Select all
LoadModule sspi_auth_module modules/mod_auth_sspi.so
<Location /--Removed-->
AuthName "--Removed--"
AuthType SSPI
SSPIAuth On
SSPIAuthoritative On
SSPIOfferBasic On
# SSPIBasicPreferred
# SSPIUsernameCase lower
require valid-user
</Location>Thanks!