in reply to Regarding Perl CGI and Ldap

Check %ENV. There should be the name of the user and domain that they're authenticated in if it's using HTTP basic or digest authentication.

It's been so long since I've done it that I can't remember what the fields are named.

Replies are listed 'Best First'.
Re^2: Regarding Perl CGI and Ldap
by karayan (Novice) on Feb 23, 2009 at 12:56 UTC
    Apache sets the login username to the ENV variable REMOTE_USER. Using this I was able to do a LDAP search for the details.

    Thanks everyone.