[Samba] Samba with Mysql as backend and VIRTUAL users.

Alex Pita newmail at softhome.net
Tue Dec 10 17:01:19 GMT 2002


Hello samba experts,

I want to configure samba with mysql as backend. I searched on google 
and i found some info about this subject but it seems to be not really 
what i nedd. I said this because i found few howtos about how to 
configure samba to read password from mysql database to authenticate 
users. Is good but not enough. I don't want shell users with different 
password for samba!!! I want ONLY VIRTUAL USERS (no one shell account) 
and al of them MUST resides in mysql database with all attributes (home 
directory, UID, GID, password, domain, etc).....

Google said that my problem is not well documented and in the past was 
some tryes about this subject. I found also some info about samba and 
pam_mysql plugin. I've configured few weeks ago this plugin to 
authenticate users for postfix smtp, and everithing was ok. Actually, i 
want to do the same work with samba, but i don't know if samba-2.2.7 
support it.

Can anybody point me to the right way? Some success stories about this 
subject will be appreciated.

Thanks in advance,

Alex Pita







More information about the samba mailing list