[Samba] How to move NT4-Domain from one samba-PDC to another

Andrew Bartlett abartlet at samba.org
Tue Jan 14 05:55:22 MST 2014


On Tue, 2014-01-14 at 12:36 +0100, Stefan G. Weichinger wrote:
> Could someone please point me at the current best practice to move an
> existing Samba-NT4-Domain from one samba-PDC to another?
> 
> I have to move over ... the old server gets substituted.
> 
> The current PDC runs Samba 3.5.11 and has its data in tdb-files, not in
> LDAP. The new server runs Samba 3.6.22 if that is important in any way.
> (both servers on gentoo linux)
> 
> This is a rather small domain with around 20 users/machines ...
> 
> As far as I understand I will have to copy over stuff like
> /var/lib/samba etc ... and make sure to keep up the SID ("net
> getlocalsid" ..).

That's pretty much all that is required.  If you keep the same hostname,
then the SID will stay the same, because Samba really won't know the
difference, but regardless just check and set it if it changes on you. 

Andrew Bartlett

-- 
Andrew Bartlett                       http://samba.org/~abartlet/
Authentication Developer, Samba Team  http://samba.org
Samba Developer, Catalyst IT          http://catalyst.net.nz/services/samba




More information about the samba mailing list