[Samba] Moving Samba installation from one host to another

R.Nieuwenhuizen R.Nieuwenhuizen at cpb.nl
Mon Jun 23 08:55:03 GMT 2003


You forgot to to transfer your domain-SID to the new samba-server.

This can be done by running rpcclient on the old samba-server and run 
the "lsaquery" command. This will output the domain-SID. Next you copy 
and paste this in to a file called "MACHINE.SID" on the new server (this 
file should be placed in the private subdir where secrets.tdb is 
located) and remove the secrets.tdb file. If samba is restarted the 
domain-SID (from MACHINE.SID) is imported into the secrets.tdb.

At last you should transport the smbpasswd file (located in the private 
subdir) from the old samba-server to the new samba-server.

Things should now be up and running fine...

MH - Entwicklung wrote:

>Hello,
>
>last week I experienced some problems when moving a Samba installation from one host to another host.
>
>The old system ran Samba 2.2.8 on a SuSE Linux 7.3
>The new system is also running Samba 2.2.8 but on Debian Woody 
>The Client Systems are all running Win2K SP1. One is running Win2K SP2. One is running Win98.
>
>I moved smbpasswd to the new host. I also made sure that all entries in passwd, group and shadow existed on the new system. Anyway all computers lost the connection to the Domain when switching to the new Samba PDC. I had to remove all hosts from the domain and let them join the domain again in order to get it working again. Also all Windows SIDS associated with the users had changed.
>
>Any idea what I've done wrong ?
>
>Regards
>Manfred
>
>
>  
>

-- 
René Nieuwenhuizen
Afdeling Informatietechnologie
Centraal Planbureau

Bezoekadres: Van Stolkweg 14, 2585 JR Den Haag
Postadres: Postbus 80510, 2508 GM Den Haag

T (070) 3383 342
F (070) 3383 350
I http://www.cpb.nl/nl/general/org/afdelingen/it/


--
================================================================================
Aan dit bericht kunnen geen rechten worden ontleend.
Het bericht is alleen bestemd voor de geadresseerde.
Indien dit bericht niet voor u is bestemd, verzoeken wij u dit onmiddellijk aan
ons te melden en de inhoud van het bericht te vernietigen.

This message shall not constitute any obligations.
This message is intended solely for the addressee.
If you have received this message in error, please inform us immediately and
delete its contents.
================================================================================



More information about the samba mailing list