Samba passwd smbpasswd and tdbsam
ome commands to convert samba backend password-databases.
If you use “passdb backend = smbpasswd” in your smb.conf you must convert your system-user accounts to smbpasswd:
cat /etc/passwd | mksmbpasswd >/etc/samba/smbpasswd
you use “passdb backend = tdbsam” in your smb.conf you must convert your system-user accounts to passdb.tdb
pdbedit -i smbpasswd:/etc/samba/smbpasswd -e tdbsam:/etc/samba/passdb.tdb