[rt-users] Active Directory/LDAP Auth
Josiah Ritchie
jritchie at bible.edu
Tue May 11 10:29:55 EDT 2004
here's my VirtualHost section. Someone guided me through a little perl
hacking to get AuthenSMB to work. Someone sent me the following pointers
that I put up on my wiki just now:
http://josiah.ritchietribe.net/moniwiki/wiki.php/RTLDAPAuthentication
<VirtualHost x.x.x.x>
ServerName rt.localdomain
DocumentRoot /opt/rt3/share/html
AddDefaultCharset UTF-8
# Added for SMB Authentication
<Directory "/opt/rt3/share/html/">
# AuthPam_Enabled Off
PerlModule Apache::AuthenSmb
AuthName "Username/Password"
AuthType Basic
PerlSetVar myPDC x.x.x.x
PerlSetVar myBDC x.x.x.x
PerlSetVar MyDomain LocalDomain
PerlAuthenHandler Apache::AuthenSmb
require valid-user
</Directory>
# these four lines apply to Apache2+mod_perl2 only: {{{
# PerlSetVar MasonArgsMethod CGI
# PerlModule Apache2 Apache::compat
# RewriteEngine On
# RewriteRule ^(.*)/$ $1/index.html
# }}}
PerlModule Apache::DBI
PerlRequire /opt/rt3/bin/webmux.pl
<Location />
SetHandler perl-script
PerlHandler RT::Mason
</Location>
</VirtualHost>
On Tue, 2004-05-11 at 10:16, Stevo wrote:
> I've been trying to get this setup on my RT install and haven't had any
> luck. What LDAP module are you guys using and with that version of Apache??
>
> Also, if anyone who has this working could post the relevant sections of
> your httpd.conf file that would be awesome!!!
>
> Thanks
>
> Stevo
>
> ----- Original Message -----
> From: "Marco Marongiu" <bronto at tiscali.com>
> To: "Steven Coutts" <scoutts at bcs.org.uk>
> Cc: <rt-users at lists.bestpractical.com>
> Sent: Tuesday, May 11, 2004 6:18 AM
> Subject: Re: [rt-users] Active Directory/LDAP Auth
>
>
> >
> >
> > Steven Coutts wrote:
> > > Have searched and searched on google, can anyone give me a hint?
> >
> > I had the same problem. Besides restarting apache from the ground up
> > (i.e.: stop, then start; not restart), close all your browser windows
> > and restart it fresh.
> >
> > Let me know if it works.
> >
> > Cheers
> > --bronto
More information about the rt-users
mailing list