move everything in /etc/samba/ and the .tdb files from /var/lib/samba to
the new server. also run net domainsid and write down the server and
domain sids. start samba on the new server. run net getdomainsid and
if the sids are different, set them to what they were on the old server
with net setlocalsid and net setdomainsid.
Chris Roubekas wrote:> Dear all,
>
> I currently have an old machine running SuSE 8.1 and Samba (as installed
out of the box) setup and working as a windows domain for a set of WinXP SP2
machines. Everything is working just splendid except that I am Running out of
space on it because it has a 40GB drive.
>
> Recently I have been instructed to switch the machine's hard-disk with
a brand new one which will be ofcourse larger in size to the 40GB capacity that
the current one is. I am also thinking of reinstalling a fresh and brand-new
installation of SuSE's latest version with the samba that comes with it.
>
> My question is how will I go about doing such a "switch" in order
for the computers of the network NOT to undergo re-joining of Windows domain etc
and to transfer all the files and users one-to-one to the new machine?
>
> The end of the task is for the users to switch on their WinXP computers and
realize NO change at all, find their files in their homes directories etc, with
the exception that their network space has increased.
>
> Any good suggestions?
>
> Chris
>
>