http://www.perlmonks.org?node_id=1003106

Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

I have following code which tries to read the REMOTE_USER environment variable passed by IE to the server, but it's not working:
use strict; use warnings; use CGI; my $q = CGI->new(); my $UserID = $ENV{"REMOTE_USER"}; print $q->header(); if($UserID){ print "User:<b>$UserID</b>"; }
The apache log shows
[error] Bad/Missing NTLM/Basic Authorization Header for /testarea/test +.pl [6275] AuthenNTLM: timed outwhile waiting for lock (key = 23754)
Anyone has some sugestion how to make this simple script work, or where to start debug?