[Samba] Replacing Samba PDC with new hardware

Alex sysadm at omniarch-ny.com
Thu Jun 19 13:36:09 GMT 2003


Hi,
I'm currently running a Samba PDC (2.2.3a) on RedHat 7.3 supporting 10 or so
win2k users with roaming profiles.  Just got a new Dell box and would like
to replace the current PDC machine.  My question is this :

What is the best way to make the switch without making the current user
accounts obsolete.  I've duplicated the most of the environment already, my
users accounts have already been added to /etc/passwd, /etc/group.  I set up
smb.conf, the homes and netlogon share. I copied the logon.bat file I've
been using from the old box, and added all my users and machine accounts to
the smbpasswd file as usual.  Now as far as the SID I'm a little fuzzy.  I
would ideally like the replacement server to have the same netbios name
(SERVER) as the de-commissioned machine.  For the moment I 've given the new
box the name (NEW_SERVER) so that I can copy files over.  I ran smbpasswd -S
(domain) to suck the SID to the new server already.  Now when I shut down
the old box for good, and change the netbios name will the SID for the
domain be re-written making my user accounts useless/ unable to logon?  Is
there any way to avoid this?  Also is there a "better" way to move the users
home directories to new box? I was planning on tar-ing up the /home dir and
just expanding it on the new machine?  Does anyone know if I have all the
users logged in, swap out the servers, and log the users out will that send
the profile back to the home directory on the new server?

Much thanks for any help

Alex Genna




More information about the samba mailing list