The
pdbedit
tool allows migration of authentication (account)
databases from one backend to another. For example, to migrate accounts from an
old smbpasswd
database to a
tdbsam
backend:
-
Set the
passdb backend = tdbsam, smbpasswd.
-
Execute:
root#
pdbedit -i smbpasswd -e tdbsam
-
Remove the
smbpasswd
from the passdb backend
configuration in smb.conf
.