[hobbit] Password Protected Areas?

Stef Coene stef.coene at docum.org
Fri Nov 13 11:04:57 CET 2009


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



More information about the Xymon mailing list