<div>Thanks for the info.  I think that we will just run around and
rejoin or put out a letter for the teachers to walk through the process
and then change the Admin account password when finished.</div>
<div> </div>
<div>Sincerely,</div>
<div><BR><BR> </div>
<P style="MARGIN: 0px">Ronald R. McDaniel<BR>Conecuh County
Schools<BR>(251) 578-7073 x26<BR>(251) 230-0658 cell<BR><A
href="mailto:rmcdaniel@indata.us">rmcdaniel@indata.us</A></P><BR><BR>
<BLOCKQUOTE style="PADDING-LEFT: 8px; MARGIN-LEFT: 8px; BORDER-LEFT:
blue 2px solid"><BR>-------- Original Message --------<BR>Subject: Re:
[K12OSN] migrating machine accounts to new server<BR>From: Brian
Chivers <brian@portsmouth-college.ac.uk><BR>Date: Thu, August 04,
2005 4:56 am<BR>To: "Support list for opensource software in
schools."<BR><k12osn@redhat.com><BR><BR>rmcdaniel@indata.us
wrote:<BR>> Has anyone tried to migrate machine (computer) accounts
from an old <BR>> server to a new one?  Is this possible?
 I hate to have to go around and <BR>> have 500 xp boxes rejoin
the new domain controller.  I am replacing an <BR>> older redhat
server with a new one.<BR>>  <BR>>  <BR>>
Thanks,<BR>> <BR>> Ronald R. McDaniel<BR>> Conecuh County
Schools<BR>> (251) 578-7073 x26<BR>> (251) 230-0658 cell<BR>>
rmcdaniel@indata.us <mailto:rmcdaniel@indata.us><BR>> <BR>>
<BR>>
------------------------------------------------------------------------<BR>>
<BR>> _______________________________________________<BR>> K12OSN
mailing list<BR>> K12OSN@redhat.com<BR>>
https://www.redhat.com/mailman/listinfo/k12osn<BR>> For more info
see <http://www.k12os.org><BR><BR>I tried (you might guess what's
coming next) to migrate all my machine accounts from a Samba 2.2.x
<BR>system using smbpasswd backend to our new system.<BR><BR>I used the
pdbedit command to transfer everything from the smbpasswd backend into
the LDAP and it <BR>looked OK but a test machine couldn't login, so I
looked and it appeared that the even through I'd <BR>set the SID the
same on both server the last 5 digit's which I presume are the unique
identifier for <BR>the machine we different, after looking at the old
system I thought I'd worked out that the last 5 <BR>digits were
actually based on the machines account UID so I altered all the SID's
stored in the LDAP <BR>computers group to reflect this using a bit of
scripting and one the test machine it seemed OK, <BR>tried another
machine and it seemed OK BUT when I rolledi t out across college (500 +
Win2K boxes) <BR>it all went to badly wrong.<BR><BR>The long and the
short of it is that we're now visiting all the machines and rejoining
them to the <BR>domain !!!!<BR><BR>I think if your using the same
backend eg old server = LDAP and new server = LDAP you'd be OK is you
<BR>did a dump of the LDAP and then imported it to the new server.
You'd also have to set the SID's to <BR>the same value on both servers.
I'd be tempted to set this BEFORE I ran the installer script, that
<BR>way you don't have to alter anything in all the scripts such as
smbldap-useradd etc. If you want to <BR>know how to set the SID let me
know, it's really really easy.<BR><BR>My advice if you can do this is
to build the server, setup a isolated test network and TEST TEST
<BR>TEST with quite a few machine off your existing network, you can't
have two servers on the same <BR>network with identical SID's, not sure
what would happen but I think it would be bad *grin*<BR><BR>Brian
Chivers<BR>Portsmouth
College<BR><BR>---------------------------------------------------------------<BR> 
 The views expressed here are my own and not necessarily <BR> 
             the views of Portsmouth
College            
<BR><BR>_______________________________________________<BR>K12OSN
mailing
list<BR>K12OSN@redhat.com<BR>https://www.redhat.com/mailman/listinfo/k12osn<BR>For
more info see <http://www.k12os.org> </BLOCKQUOTE>