[Samba] Re: Moving samba PDC to new machine (same name?)

Mark Nienberg gmane at tippingmar.com
Tue Feb 28 05:50:00 GMT 2006


Paul Smith wrote:
> I'm using a tdbsam database with Samba 3.0.11 on a machine that's
> getting a little long in the tooth.  I'd like to move the whole deal to
> a new machine without any reconfiguring on the clients - I'm happy with
> a little downtime - out of office hours the system is hardly used
> anyway.  I'd like to upgrade to 3.0.21c at the same time.
> 
> I'm thinking:
> 1. backup domain data on old server
> 2. shut down old server
> 3. build new server with same name as old one
> 4. restore domain data to new server
> 
> I'm having trouble with steps 1 and 4.  What exactly do I need to
> backup, and how?
> 
> Is this possible or do I have to make a new domain and rejoin the users
> all over?


You can do this with no changes to the clients.  they will be able to 
log on to the new PDC just fine if you do it right.  The process is 
explained here:

http://us4.samba.org/samba/docs/man/Samba-Guide/upgrades.html

Read the whole chapter and pay particular attention to the section 
"Migrating Samba 3 to a new server", "Replacing a domain controller".

I did it about a week ago with no difficulties.

Mark Nienberg



More information about the samba mailing list