[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [hobbit] Password Protected Areas?



On Friday 13 November 2009, Henrik "Størner" wrote:
> In <BAY133-W98025609B24B9A43D30FBB4AA0 (at) phx.gbl> <wiskbroom (at) hotmail.com> 
writes:
> >Really? You know of a way in which I can auth against AD and based on
> >page/pages in apache?
> 
> Pages and subpages are just physical directories below ~hobbit/server/www/
> so you can setup standard Apache "<Directory ...>" definitions to impose
> access restrictions.
> 
> As for authenticating against an AD, you must use the Apache mod_auth_ldap
> module. If you google "apache auth active directory" it should give you
> some hints.
I always use this module:

http://search.cpan.org/~reggers/Apache2-AuthenMSAD-0.02/AuthenMSAD.pm

Very easy to install and also very easy to hack the perl source and add your 
own authentication mechanisme.
(I added a username / paswoord combo so I can log on even when the AD servers 
are down)


Stef