[CentOS] Anyone using Active Driectory auth with Centos 5.4.....?

Wed Feb 10 06:32:26 UTC 2010
Stephen Carville <stephen.carville at gmail.com>

On Mon, Feb 8, 2010 at 8:18 AM, Tom Bishop <bishoptf at gmail.com> wrote:
> Setting up a new backuppc for a small group of device and I am running
> centos 5.4 with winbind setup and working.  Everything is working and I
> would like the users to authenicate using their AD creds and was wondering
> what folks are using to do that with apache 2.2 and centos 5.4.  I know
> about mod_auth_pam but that seems pretty dead so I was just wondering what
> folks were using and whats the easiest to setup.  Any pointers to any how
> to's would be appreciated...Thanks.

This works for me

  PerlModule Authen::Simple::Apache

  PerlModule Authen::Simple::ActiveDirectory
  PerlSetVar AuthenSimpleActiveDirectory_host "mydc.inside.net"
  PerlSetVar AuthenSimpleActiveDirectory_principal "mydomain"

  <Directory /var/www/whatever >
    PerlAuthenHandler Authen::Simple::ActiveDirectory

    AuthType Basic
    AuthName  "Sekret Playce"
    require valid-user

  </Directory>

-- 
Stephen Carville