[Samba] Are tdbsam and smbpasswd linked?

Gary Dale garydale at rogers.com
Mon Mar 30 03:39:24 GMT 2009


MargoAndTodd wrote:
> Hi All,
>
>    I just added three users to my tdbsam with
> "pdbedit -a -u username" (had to do "useradd"
> first).  All three appeared in tdbsam as they
> should, as verified with "pdbedit -L".
>
> But, all three also appeared in /etc/samba/smbpasswd.
> This is not a mistake, they were not there before.
>
> Are "tdbsam" and "smbpasswd" linked?  I am confused.
>
> Many thanks,
> -T
No. tdbsam is the authoritative source for Samba. I imagine that 
smbpasswd is kept up to date in case you revert to using it.


More information about the samba mailing list