Hi, In the near future we are going to replace our current fileserver (domain member server in a samba4 AD) with new hardware, and new fresh debian 9 installation. I don't want to upgrade the old installation, but completely reinstall. So, should it simply work to: - install the new machine with a random temp name / ip - make it also a domain member server (under the temp name) - configure winbind for nsswitch AD uid/gid on new server - turn off samba on the old server (to prevent client access) - rsync the user files from the old to the new server - make sure file/dir ownerships/permissions match the old server - turn off the old server - put the old server ip on the new server - put old server hostname on the new server - adjust smb.conf for the new hostname - rejoin domain with the new hostname - restart the new machine And, since the new server has now the same ip / dns / netbios name as the old server, should all GPO (drive mappings) 'just work' as if nothing was changed? Or if there is a (wiki) doc on this, kindly point me to it, as I couldn't find it... MJ
On Mon, 10 Jul 2017 21:54:21 +0200 lists via samba <samba at lists.samba.org> wrote:> Hi, > > In the near future we are going to replace our current fileserver > (domain member server in a samba4 AD) with new hardware, and new > fresh debian 9 installation. > > I don't want to upgrade the old installation, but completely > reinstall. So, should it simply work to: > > - install the new machine with a random temp name / ip > - make it also a domain member server (under the temp name) > - configure winbind for nsswitch AD uid/gid on new server > - turn off samba on the old server (to prevent client access) > - rsync the user files from the old to the new server > - make sure file/dir ownerships/permissions match the old serverNow leave the domain> - turn off the old server > - put the old server ip on the new server > - put old server hostname on the new server > - adjust smb.conf for the new hostnameIf you don't put 'netbios name =' in smb.conf, you wont have to do this.> - rejoin domain with the new hostname > - restart the new machine > > And, since the new server has now the same ip / dns / netbios name as > the old server, should all GPO (drive mappings) 'just work' as if > nothing was changed?Provided EVERYTHING is the same as the old Unix domain member, I can see no reasons why this will not work.> > Or if there is a (wiki) doc on this, kindly point me to it, as I > couldn't find it... >Fairly sure there isn't one, want to write one once you have done it ? Rowland
Mandi! lists via samba In chel di` si favelave...> - adjust smb.conf for the new hostname > - rejoin domain with the new hostnameReally i don't know if work in AD as worked in NT mode, but there's also 'netbios aliases = '... -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia'' http://www.lanostrafamiglia.it/ Polo FVG - Via della Bontà , 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)lanostrafamiglia.it t +39-0434-842711 f +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/index.php/it/sostienici/5x1000 (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)
Hi all, Thanks for the interesting suggestions, Rowland, Marco and Louis! I'll do some testing, keep my notes, and when everything turns out working, I'll write something up for the wiki. Thanks, MJ On 11-7-2017 12:13, Marco Gaiarin via samba wrote:> Mandi! lists via samba > In chel di` si favelave... > >> - adjust smb.conf for the new hostname >> - rejoin domain with the new hostname > > Really i don't know if work in AD as worked in NT mode, but there's > also 'netbios aliases = '... >