|P is for Practical|
Obtaining Windows username from an intranet ActiveState Perl scriptby saa (Initiate)
|on Feb 06, 2013 at 21:09 UTC||Need Help??|
saa has asked for the
wisdom of the Perl Monks concerning the following question:
I have a Perl web script running on Apache in Windows, and I'd like to get the Windows usernames of the users who access this script. Everyone who accesses this script will be on intranet and running Windows.
I think I found this exact question at:
However, the solution presented there was to use Apache2::AuthenNTLM. For my Perl I'm using ActiveState Perl on Windows, and this module does not show up in Perl Package manager. I tried getting it and compiling it, but it does not compile properly under windows. I looked around for other packages to get this information, but most of the other NTLM packages seem to be around the script authenticating itself with NTLM, rather than the script being able to read username using that information.
Does anyone know how I could get AuthenNTLM running under ActiveState Perl, or have ideas for other packages or techniques I could use to solve this problem?