Copying smbpasswd->passdb.tdb to new server
idra at samba.org
Wed May 12 10:13:53 GMT 2004
On Wed, 2004-05-12 at 11:48, Tom Alsberg wrote:
> Hi there.
> I want to change the PDC of a domain to a new machine - I think I can
> deal well with the domain SID and secret, but I have one problem:
> The old PDC uses and older Samba and has the machine accounts in an
> smbpasswd file. The new PDC users tdbsam (passdb.tdb). What would
> the easiest way to export all machine accounts from the old one to the
> new one be?
> I could write some program that would read the smbpasswd and try to
> put the fields in the right format in the tdb, but that'd be a bit
> tedious, might not work that well, and I hope to avoid it.
this is a user question and OT on samba-technical.
Anyway, take a look at pdbedit's -i and -e options to migrate passdb
database data through the various formats.
Simo Sorce - idra at samba.org
Samba Team - http://www.samba.org
Italian Site - http://samba.xsec.it
More information about the samba-technical