[Samba] Upgrading samba 3.3.x to 3.5.x old smbpasswd file and domainaccounts

Götz Reinicke - IT-Koordinator goetz.reinicke at filmakademie.de
Fri Jan 14 02:34:38 MST 2011


I plan to update our main RedHat EL 5.6 samba server from samba 3.3.x to
3.5.x .

What I noticed as our main challenge so far, is migrating the user and
machine accounts from our old smbpasswd file to a tdbsam-.tdm fileformat.

pdbedit -i smbpasswd:/etc/samba/smbpasswd -e tdbsam:/etc/samba/passwd.tdb

throws a lot of errors regarding useraccounts which did not exist on the
posix passwd/shadow side.

If I remove the deleted accounts from the sambapasswd file as well, the
convertion goes on.

But what about the machine accounts which are in the smbpasswdfile and
not in the passwd/shadow file?

Thanks for any suggestion and comment.

	Regards . Götz
Götz Reinicke

Tel. +49 7141 969 420
Fax  +49 7141 969 55 420
E-Mail goetz.reinicke at filmakademie.de

Filmakademie Baden-Württemberg GmbH
Akademiehof 10
71638 Ludwigsburg

Eintragung Amtsgericht Stuttgart HRB 205016
Vorsitzende des Aufsichtsrats:
Prof. Dr. Claudia Hübner

Prof. Thomas Schadt

More information about the samba mailing list