[Samba] Painless migration from 2.2.x on old server to 3.0.x on newserver needed ASAP

John H Terpstra jht at Samba.Org
Tue Jul 19 20:03:39 GMT 2005


On Tuesday 19 July 2005 13:50, Chris wrote:
> On Tuesday 19 July 2005 03:45 pm, Chris wrote:
> > The new question is ... how does one convert from smbpasswd to
> > tdbsam?
>
> Just found this in the docs. But can it be done on the fly?

Yes.

In your smb.conf [global] set:

	passdb backend = tdbsam smbpasswd


Then execute:

	pdbedit -i smbpasswd -e tdbsam

Then edit smb.conf to:

	passdb backend = tdbsam


Then prove that it worked by executing:

	pdbedit -Lw

All accounts should be listed.


- John T.
-- 
John H Terpstra
Samba-Team Member
Phone: +1 (650) 580-8668

Author:
The Official Samba-3 HOWTO & Reference Guide, ISBN: 0131453556
Samba-3 by Example, ISBN: 0131472216
Hardening Linux, ISBN: 0072254971
Other books in production.


More information about the samba mailing list