I am in need of authenticating a webpage hosted by Apache to an NT domain. Apache is on a linux system running Samba 2.0.6. Is there anything that allows Apache to communicate with Samba for authentication purposes? Ben
> > Date: Fri, 23 Jun 2000 16:29:35 -0400 > From: Ben Meyer <Ben_Meyer@pfm.org> > To: "SAMBA Digest (E-mail)" <samba@samba.org> > Subject: Samba, Apache, & NT > Message-ID: <2056AA5B2D1DD311BEA50008C709636C01AE25A0@NT_4> > MIME-Version: 1.0 > Content-Type: text/plain; > charset="iso-8859-1" > > I am in need of authenticating a webpage hosted by Apache to an NT domain. > Apache is on a linux system running Samba 2.0.6. Is there anything that > allows Apache to communicate with Samba for authentication purposes? > > Ben >http://josefine.ben.tuwien.ac.at/~mfischer/mod_auth_smb/ Regards, Deryk
> Date: Fri, 23 Jun 2000 16:29:35 -0400 > From: Ben Meyer <Ben_Meyer@pfm.org> > Subject: Samba, Apache, & NT > > I am in need of authenticating a webpage hosted by Apache to an NT domain. > Apache is on a linux system running Samba 2.0.6. Is there anything that > allows Apache to communicate with Samba for authentication purposes? > > Ben >There are two methods: 1. look in the CPAN archives for SMB-authentication for Apache (Apache-AuthenSmb-0.60). This is a mod_perl module. You also need the mod_perl module and the Authen-Smb perl module to operate it. 2. also in CPAN: mod_ntlm: a Apache module for automatic authentication from IE. I haven't tried this one and I'm not sure how it works. It looks like it needs to have a special (security) setting in IE to make it work. This module can only authenticate with the supplied Windows name & password and by a given name & password as in method 1. Best regards, Dirk *--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--* Dirk De Wachter, MScEE, MScBME, PhD mailto:Dirk.DeWachter@rug.ac.be postdoctoral fellow, systems administrator http://navier.rug.ac.be Hydraulics Laboratory, Ibitech, University of Gent voice:+32 9 264 3281 Sint-Pietersnieuwstraat 41, B-9000 Gent Belgium faxto:+32 9 264 3595 ~--~--~--~--~--~--~--~--~--~--~--~--~--~--~--~--~--~--~--~--~--~--~--~--~
> > I am in need of authenticating a webpage hosted by Apache > to an NT domain. > > Apache is on a linux system running Samba 2.0.6. Is there > anything that > > allows Apache to communicate with Samba for authentication purposes? > > > > Ben > > > > There are two methods: > 1. look in the CPAN archives for SMB-authentication > for Apache > (Apache-AuthenSmb-0.60). This is a mod_perl module. > You also need the > mod_perl module and the Authen-Smb perl module to operate it.Be careful if you allow the guest user. Authen::SMB 0.91 doesn't make any distinction between logged-in-as-guest and correctly-logged-in. I have a patch to add that behavior (already sent to the maintainer, but I haven't heard from him since).> 2. also in CPAN: mod_ntlm: a Apache module for automatic > authentication from IE. I haven't tried this one and > I'm not sure how > it works. It looks like it needs to have a special > (security) setting > in IE to make it work.I couldn't find it. Could you point me in the right direction? Thanks. /kinkie