I get it! :D The old Samba NT4 is in a freebsd. I would like to migrate to a new distro. I will use debian8. I have to copy the files and permissions from groups and users for this new. I've been searching and with rsync maybe I could do this. http://amar-linux.blogspot.com.br/2012/03/migrating- samba-server-and-users-in.html?m=1 Have you done something like that? On Thu, Sep 22, 2016 at 4:14 AM, Rowland Penny via samba < samba at lists.samba.org> wrote:> On Wed, 21 Sep 2016 17:58:22 -0300 > Elias Pereira via samba <samba at lists.samba.org> wrote: > > > > > > > Do you mean you will be using the DC as a fileserver ? > > > > No. I was thinking of using the old samba server (NT4-style) as a file > > server. AD stays separate. > > > > I don't think that will work and if it does, it will mean keeping a > separate user & group database and keeping the passwords in sync. > > I would suggest turning it into a domain member and then use this as a > fileserver, see here for more info: > > https://wiki.samba.org/index.php/Setup_Samba_as_an_AD_Domain_Member > https://wiki.samba.org/index.php/Shares_with_Windows_ACLs > > I would also, if possible, take the opportunity to upgrade the OS and > Samba. > > Rowland > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba >-- Elias Pereira
On Thu, 22 Sep 2016 14:38:57 -0300 Elias Pereira via samba <samba at lists.samba.org> wrote:> I get it! :D > > The old Samba NT4 is in a freebsd. I would like to migrate to a new > distro. I will use debian8. > > I have to copy the files and permissions from groups and users for > this new. I've been searching and with rsync maybe I could do this. > http://amar-linux.blogspot.com.br/2012/03/migrating- > samba-server-and-users-in.html?m=1 > > Have you done something like that? >well no, I also think you shouldn't need to either. If you classic upgrade your NT4-style PDC to an AD DC, your users and groups should have the same IDs, so if you back up everything you need, then reformat the hard drive and install the new OS and install Samba and join it to the new domain, you should find all your users and groups are available. Now restore your backup and all the data should be back. Rowland
Performing the backup, for example on an external hard drive and restoring after all ok, the permissions will not be changed? In NT4 use the "lam" for management. Can I use ldap account manager for managing Samba4 ADDC or should only use the RSAT? Or is possible using both? On Thu, Sep 22, 2016 at 3:08 PM, Rowland Penny via samba < samba at lists.samba.org> wrote:> On Thu, 22 Sep 2016 14:38:57 -0300 > Elias Pereira via samba <samba at lists.samba.org> wrote: > > > I get it! :D > > > > The old Samba NT4 is in a freebsd. I would like to migrate to a new > > distro. I will use debian8. > > > > I have to copy the files and permissions from groups and users for > > this new. I've been searching and with rsync maybe I could do this. > > http://amar-linux.blogspot.com.br/2012/03/migrating- > > samba-server-and-users-in.html?m=1 > > > > Have you done something like that? > > > > well no, I also think you shouldn't need to either. > > If you classic upgrade your NT4-style PDC to an AD DC, your users and > groups should have the same IDs, so if you back up everything you need, > then reformat the hard drive and install the new OS and install Samba > and join it to the new domain, you should find all your users and > groups are available. Now restore your backup and all the data should > be back. > > Rowland > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba >-- Elias Pereira