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.
> 
> Thanks,
> 
> Marc
-- 
Andrew Bartlett                                 [EMAIL PROTECTED]
Manager, Authentication Subsystems, Samba Team  [EMAIL PROTECTED]
Student Network Administrator, Hawker College   [EMAIL PROTECTED]
http://samba.org     http://build.samba.org     http://hawkerc.net

Attachment: signature.asc
Description: This is a digitally signed message part

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Reply via email to