in reply to Checking Windows Authentication
Actually I am looking at doing this by using a mod for apache called mod_auth_smb. I believe it is written in perl. It requires that you have the samba client libraries installed on the *nix system. Then you can install the module using:
Hope this helps. </code>
--BigJoe
Learn patience, you must.
Young PerlMonk, craves Not these things.
Use the source Luke.
This will install the stuff you need for authentication. Then I put in my httpd.conf file this line where I wanted the authentication point to be:perl -MCPAN -e'shell' install Apache::AuthenSmb
you need to change PDC.domain to your PDC server and your domain along with changing the domian on the next line. Because it passes these variables through to the authentication script. Also in your open Location tag you need to specify the location (acording to the webserver like /). Location can also be replaced by file directive to allow authentication to a file.<Location > AuthName "Warning this is a restricted area" AuthType Basic PerlSetVar myPDC PDC.domain PerlSetVar myDOMAIN domain PerlAuthenHandler Apache::AuthenSmb require valid-user </Location>
Hope this helps. </code>
--BigJoe
Learn patience, you must.
Young PerlMonk, craves Not these things.
Use the source Luke.
|
---|
In Section
Seekers of Perl Wisdom