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
On Fri, 23 Sep 2016 17:15:21 -0300 Elias Pereira via samba <samba at lists.samba.org> wrote:> Performing the backup, for example on an external hard drive and > restoring after all ok, the permissions will not be changed?It would be better if you could back everything up to another domain member, such as the new DC, but you will have to set up nsswitch and the required links i.e. whatever you use will have to know who your users are.> > 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? >Yes, you can use LAM, the only problem that I am aware of (if you can call it a problem) it adds the totally un-required posix objectclasses. Rowland
Hi Rowland, On 23.09.2016 22:37, Rowland Penny via samba wrote:>> 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? >> > > Yes, you can use LAM, the only problem that I am aware of (if you can > call it a problem) it adds the totally un-required posix objectclasses.there is an option to not add this object class in LAM. ;-) Please note that there might be applications that require this object class. -- Best regards Roland -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 648 bytes Desc: OpenPGP digital signature URL: <http://lists.samba.org/pipermail/samba/attachments/20160925/dad888de/signature.sig>