[Samba] domain member server: change distro

Rowland Penny rpenny at samba.org
Thu Apr 5 09:19:54 UTC 2018

On Thu, 5 Apr 2018 10:30:22 +0200
"Stefan G. Weichinger via samba" <samba at lists.samba.org> wrote:

> Greets, samba-users and -devs
> I am currently preparing to move a problematic Samba file server from
> Gentoo Linux to Debian (9.4).

If you are going to do this, use Louis's repo, it will get you a pretty
much up-to-date version of Samba (4.7.6) 
> Now my samba-related questions:
> I assume I would "net ads leave" within gentoo linux before migration
> to clean up things in the ADS somehow and join the same server (= same
> hostname, same smb.conf) again as soon as it is running debian.


> My concern are the user and group ids, for sure I want to keep the
> data-directories (ext4 on LVM-volumes, just for the records) untouched
> and all the ownership and permission info should be kept as is.
> As far as I understand the whole mapping comes from within ADS anyway
> and winbindd plus nsswitch etc should give me the same setup after
> all.
> Right? Or are there maybe differences?

Provided that the server in question is a Unix domain member, all you
need is the smb.conf, it might be an idea to post it here.

If it is a DC, then you would create a new computer, join this to the
domain, then demote the old DC.


More information about the samba mailing list