Some 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:
1 | cat /etc/passwd | mksmbpasswd >/etc/samba/smbpasswd |
If you use “passdb backend = tdbsam” in your smb.conf you must convert your system-user accounts to passdb.tdb:
1 | pdbedit -i smbpasswd:/etc/samba/smbpasswd -e tdbsam:/etc/samba/passdb.tdb |
Leave a Reply