[Samba] Samba+MySQL+Apache Authentication = possible?

Martin Lefebvre dadexter at gmail.com
Mon Aug 29 04:43:31 GMT 2005


Good evening,

I don't know if this is the right place to ask... but I gotta start 
somewhere..

I have Samba setup as a PDC for my domain using the MySQL passdb backend for 
authentication. I would also like to use other components such as 
mod_auth_mysql for apache authentication.

Is there a way that it can use one of the 2 password fields from the samba 
MySQL table (nt_pw or lm_pw) in order to do the authentication through the 
web server?

With mod_auth_mysql, I can set several encryption methods, such as md5, or 
des, etc. The passwords in the samba MySQL table seem to be encrypted with 
md5 (I'm saying that just because they're all 32 characters long), but 
whenever I try using them through mod_auth_mysql, the password is not 
recognized.

Any pointers?

-- 
Martin Lefebvre
Unix Integration Consultant

SIGTerm Technologies
eMail: dadexter at gmail.com


More information about the samba mailing list