smbd keeps to change same permission 600 on smbpasswd if download lots of files

Andrew Bartlett abartlet at samba.org
Tue Aug 19 20:11:55 MDT 2014


On Wed, 2014-08-20 at 09:07 +0800, Jones wrote:
> Hello Jeremy,
> 
> Thanks for kindly feedback!
> 
> But is there a reason you can't use a tdb passdb backend
> > instead ? That won't suffer from the same issue.
> 
> 
> Does this mean 'passdb backend = tdbsam' ?
> Good i'd like to try this.
> Hmm one thing im concerned is,
> if there are earlier account/password pairs resident in smbpasswd,
> how these pairs could migrate into tdbsam?

This should do it:
pdbedit -i smbpasswd -e tdbsam

Thanks,

Andrew Bartlett

-- 
Andrew Bartlett
http://samba.org/~abartlet/
Authentication Developer, Samba Team  http://samba.org
Samba Developer, Catalyst IT          http://catalyst.net.nz/services/samba






More information about the samba-technical mailing list