[Samba] pam_smbpass.so passdb.tdb support

Kandukuru_Suresh at emc.com Kandukuru_Suresh at emc.com
Sat Jul 3 04:29:31 MDT 2010


  Recently I have installed samba 3.4.8 on  my device. Since  then ftp
(vsftp,proftpd)   which is taking users from samba database with
pam_smbpass.so is not working. After enabling  detailed log I have
noticed it is looking for the passwords in  smbpasswd
(/etc/samba/private) which is of zero size . I think all users passwd
are located in passwd.tdb.I could fix this by giving "passdb
backend=smbpasswd" .


somewhere I read smbpasswd is obsolete , and recommended to use tdbsam


and /etc/pam.d/ftp file is 
root at storage:/# cat /etc/pam.d/ftp
auth       required     /lib/security/pam_smbpass.so
account    required     /lib/security/pam_nologin.so
account    required     /lib/security/pam_smbpass.so
password   required     /lib/security/pam_smbpass.so
session    required     /lib/security/pam_unix.so



How can I tell pam_smbpass module to use passdb.tdb (tdbsam) .?. Please
tell me I have been trying for last 2 days. Did  not find anything.





More information about the samba mailing list