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
Samba passwd smbpasswd and tdbsam
原文:http://www.cnblogs.com/linuxbo/p/4290996.html