On 07/03/2010 05:29 AM, [email protected] wrote:
> Hi,
> 
>   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 
> ---------------------
> r...@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.

You can not do that without changing the pam_smbpasswd code. This module
specifically operates against the smbpasswd file.

-John T.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

Reply via email to