suzun30 has asked for the wisdom of the Perl Monks concerning the following question:
I need to retrieve the username of the remote user accessing my intranet site. I have installed mod_auth_sspi.so and included it to the httpd.conf file in my apache2.2 server. I am trying to retrieve the username using $cgi->user_name() and $cgi->remote_user() and also checking in the ENV variable for REMOTE_USER and AUTH_USER. None returns it. I am not sure if my SSPI is functioning either. Does this method of authentication need mod_perl installed. I have got Active State perl v5.16 on Windows 2008 server. I don't see a active mod_perl build for this version of perl in activestate home. Appreciate any pointers. My code in my httpd.conf file is as follows.
Appreciate any inputs /pointers towards the solution. Thanks!!<IfModule !mod_auth_sspi.c> LoadModule sspi_auth_module modules/mod_auth_sspi.so </IfModule> </Directory> <Directory "C:/Program Files (x86)/Apache Software Foundation/Apache2. +2/htdocs/TestWeb/"> <Files TestWeb.pl> Options FollowSymLinks Order allow,deny Allow from all AuthName "TestWeb" AuthType SSPI SSPIAuth On SSPIAuthoritative On SSPIOfferBasic on Require valid-user SSPIDomain ip or domainname </Files> </Directory>
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Retrieve REMOTE_USER Cgi Env with mod_auth_sspi
by igelkott (Priest) on Apr 02, 2013 at 22:16 UTC | |
by suzun30 (Acolyte) on Apr 02, 2013 at 22:30 UTC | |
by igelkott (Priest) on Apr 02, 2013 at 22:52 UTC | |
by suzun30 (Acolyte) on Apr 02, 2013 at 23:54 UTC | |
by igelkott (Priest) on Apr 03, 2013 at 05:25 UTC | |
|