[Samba] Moving SAMBA PDC to another machine.
abartlet at samba.org
Fri Oct 10 02:40:07 GMT 2003
On Fri, 2003-10-10 at 02:58, Marc Harding wrote:
> I am sorry if this has been covered before, my searches have found
> variations in results.
> I am using a Redhat 9 build with the Samba 2.2.7a RPM from Redhat. I am
> planning to move all of the services from this machine to another Redhat 9
> machine. It will take the IP address and hostname of the original machine.
> What I need to make sure is if I simply backup the files in /etc/samba
> (smb.conf, lmhosts, secrets.tdb, smbpasswd, smbusers) and /var/cache/samba
> (the remaining .tdb files and .dat files) and copy them to the new machine
> will my domain be functional on the new machine?
Should be - as long as you don't change it's name. If you do, then you
will need to restore the domain sid, from that MACHINE.SID file. Think
there is now an smbpasswd option for that, but it's better handled in
Samba 3.0. Easy option it to keep the name :-)
> I do have a /etc/MACHINE.SID which I have kept around from previous samba
> versions, but I am assuming that this is no longer used. The old machine
> will be turned on again, but not the samba services, so no conflicts of name
> should arise.
> I am hoping that this upgrade will be a fairly simple file copy to the new
> machine. Any feedback and previous experience would be greatly appreciated.
Andrew Bartlett abartlet at pcug.org.au
Manager, Authentication Subsystems, Samba Team abartlet at samba.org
Student Network Administrator, Hawker College abartlet at hawkerc.net
http://samba.org http://build.samba.org http://hawkerc.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba/attachments/20031010/b19e2db2/attachment.bin
More information about the samba