[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] Password Protected Areas?
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] Password Protected Areas?
- From: Stef Coene <stef.coene (at) docum.org>
- Date: Fri, 13 Nov 2009 11:04:57 +0100
- References: <961092e10911101306w4d98e3a5m6e12a4c59122e9f2 (at) mail.gmail.com> <BAY133-W98025609B24B9A43D30FBB4AA0 (at) phx.gbl> <hdj968$bv5$3 (at) voodoo.hswn.dk>
- User-agent: KMail/1.12.3 (Linux/2.6.31-14-generic; KDE/4.3.3; i686; ; )
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