[Samba] How to move NT4-Domain from one samba-PDC to another
Stefan G. Weichinger
lists at xunil.at
Tue Jan 14 07:25:40 MST 2014
Am 14.01.2014 14:47, schrieb Andrew Bartlett:
> On Tue, 2014-01-14 at 14:06 +0100, Stefan G. Weichinger wrote:
>> Am 14.01.2014 13:55, schrieb Andrew Bartlett:
>>> 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.
>> Is it problematic to change the hostname?
> It shouldn't be a problem, as in our 'classic' domain code we don't have
> a 'self join' of the DC to it's own domain.
but ... net getlocalsid shows
"SID for domain SAMBA is: S-1- ... "
when the unix-hostname is "samba" ... correct?
More information about the samba