[Samba] Moving to a new PDC, and if possible, rename the domain name

Jean-Yves Avenard jyavenard at gmail.com
Wed Aug 25 02:40:25 MDT 2010

Hi there.

We've had a Samba (version 3.3) server acting as a primary domain
controller for about 30 windows PC (XP, vista and 7) for a while. All
nice and dandy there.

Samba is running on a FreeBSD 8 machine...

I would like to migrate this service to a newly acquired Mac mini
server , mainly in order to ease maintenance and creation of accounts.
Something I like with the 10.6 server solution is that accounts are
nicely integrated together, change your password once and it's all
changed everywhere and all in LDAP .

Now, is there a simple way to move the PDC from one machine to another
so it remains fully transparent for users, and mainly they won't loose
their account settings.
If I was to use a tdbsam database, I guess I could simply
backup/restore the whole thing, but as the new PDC would use LDAP, I'm
guessing it won't be that simple.

Having done this, is there an easy way to rename a domain, also so
users keep their local account settings.


More information about the samba mailing list