CentOS release 5 (Final) and Apache/2.2.3<br><br>Is it possible that .htpasswd acts differently from LDAP?<br><br><div><span class="gmail_quote">On 3/13/08, <b class="gmail_sendername">T.J. Yang</b> <<a href="mailto:tj_yang@hotmail.com">tj_yang@hotmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I got a working configuration in Solaris 10 with apache 2.x server.<br> What is your OS and apache version ?<br> <br> lets document the fix here when problem is resolved.<br> <br> <a href="http://en.wikibooks.org/wiki/System_Monitoring_with_Hobbit/Administration_Guide#LDAP_Authentication">http://en.wikibooks.org/wiki/System_Monitoring_with_Hobbit/Administration_Guide#LDAP_Authentication</a><br>
 <br> tj<br> <br> --------------------------------------------------<br> From: "Dirk Kastens" <<a href="mailto:Dirk.Kastens@uni-osnabrueck.de">Dirk.Kastens@uni-osnabrueck.de</a>><br> Sent: Thursday, March 13, 2008 2:01 AM<br>
 To: <<a href="mailto:hobbit@hswn.dk">hobbit@hswn.dk</a>><br> Subject: Re: [hobbit] Securing Hobbit from visitors<br> <br><br> > Josh Luthman schrieb:<br> >> Forgot all about that - I originally had the lines...<br>
 >><br> >> AuthName "Hobbit Monitoring"<br> >><br> >> Then I added the 1, 2 and 3 to the ends of them to identify/confirm where<br> >> the secondary and tertiary logins were coming from (obviously, the Alias<br>
 >> statements =)<br> >><br> >> There was no change before/after the number after the AuthName<br> ><br> > Then I don't know why it didn't work. I have the following configuration<br> > in my httpd.conf:<br>
 ><br> > ScriptAlias /hobbit-cgi/ "/data1/hobbit/cgi-bin/"<br> > <Directory "/data1/hobbit/cgi-bin"><br> > ...<br> >     AuthName "LDAP-Kennung"<br> >     AuthType basic<br>
 >     AuthLDAPEnabled on<br> > ...<br> > require user userA userB userC<br> > </Directory><br> ><br> > ScriptAlias /hobbit-seccgi/ "/data1/hobbit/cgi-secure/"<br> > <Directory "/data1/hobbit/cgi-secure"><br>
 > ...<br> >     AuthName "LDAP-Kennung"<br> >     AuthType basic<br> >     AuthLDAPEnabled on<br> > ...<br> >     require user userB userD<br> > </Director><br> ><br> > When userB calls a script under /hobbit-cgi he has to authenticate against<br>
 > LDAP. When he then calls a script under /hobbit-seccgi he doesn't have to<br> > authenticate again, because apache regognizes the he already authenticated<br> > against the AuthName "LDAP-Kennung".<br>
 ><br> > ----------------<br> > Regards,<br> ><br> > Dirk Kastens<br> > Universitaet Osnabrueck, Rechenzentrum (Computer Center)<br> > Albrechtstr. 28, 49069 Osnabrueck, Germany<br> > Tel.: +49-541-969-2347, FAX: -2470<br>
 ><br> > To unsubscribe from the hobbit list, send an e-mail to<br> > <a href="mailto:hobbit-unsubscribe@hswn.dk">hobbit-unsubscribe@hswn.dk</a><br> ><br> ><br> ><br> <br> To unsubscribe from the hobbit list, send an e-mail to<br>
 <a href="mailto:hobbit-unsubscribe@hswn.dk">hobbit-unsubscribe@hswn.dk</a><br> <br> <br> </blockquote></div><br><br clear="all"><br>-- <br>Josh Luthman<br>Office: 937-552-2340<br>Direct: 937-552-2343<br>1100 Wayne St<br>
Suite 1337<br>Troy, OH 45373<br><br>Those who don't understand UNIX are condemned to reinvent it, poorly.<br>--- Henry Spencer