Stefan G. Weichinger
2014-Jan-14 11:36 UTC
[Samba] How to move NT4-Domain from one samba-PDC to another
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" ..). Is there any documented howto? On google I only found rather old ml-postings etc. Thanks for any help on this! Stefan
Andrew Bartlett
2014-Jan-14 12:55 UTC
[Samba] How to move NT4-Domain from one samba-PDC to another
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
Apparently Analagous Threads
- Ldap PDC NT4 Redhat 9 domain problems
- Smbldap tools blocks when using net rpc vampire to migrate accounts from the NT4 PDC to the SambaLdap BDC
- Profiles change when migrating from NT4 to Samba PDC
- does a pdc need to be in the domain itself?
- SambaSID's on PDC/BDC