Am 2017-05-23 um 16:59 schrieb Rowland Penny:> As this is testing, rather than changing anything now, re-run the > classic upgrade, but this time do it on a a machine with the required > hostname and change the netbios name in smb.conf.so: rm -fr /var/lib/samba/* edit/set hostname and /etc/hosts, maybe reboot classic-upgrade ... ?
Am 2017-05-23 um 17:12 schrieb Stefan G. Weichinger via samba:> Am 2017-05-23 um 16:59 schrieb Rowland Penny: > >> As this is testing, rather than changing anything now, re-run the >> classic upgrade, but this time do it on a a machine with the required >> hostname and change the netbios name in smb.conf. > > so: > > rm -fr /var/lib/samba/* > > edit/set hostname and /etc/hosts, maybe reboot > > classic-upgrade ...I still get "server.my.tld" into the records. Does classic upgrade read that from wins.dat or so ?
Am 2017-05-23 um 17:22 schrieb Stefan G. Weichinger via samba:> Am 2017-05-23 um 17:12 schrieb Stefan G. Weichinger via samba: >> Am 2017-05-23 um 16:59 schrieb Rowland Penny: >> >>> As this is testing, rather than changing anything now, re-run the >>> classic upgrade, but this time do it on a a machine with the required >>> hostname and change the netbios name in smb.conf. >> >> so: >> >> rm -fr /var/lib/samba/* >> >> edit/set hostname and /etc/hosts, maybe reboot >> >> classic-upgrade ... > > I still get "server.my.tld" into the records. > Does classic upgrade read that from wins.dat or so ?whoa, got it. Hadn't rm-ed target smb.conf ... looks good now. Now for test-joins etc
On Tue, 23 May 2017 17:22:09 +0200 "Stefan G. Weichinger via samba" <samba at lists.samba.org> wrote:> Am 2017-05-23 um 17:12 schrieb Stefan G. Weichinger via samba: > > Am 2017-05-23 um 16:59 schrieb Rowland Penny: > > > >> As this is testing, rather than changing anything now, re-run the > >> classic upgrade, but this time do it on a a machine with the > >> required hostname and change the netbios name in smb.conf. > > > > so: > > > > rm -fr /var/lib/samba/* > > > > edit/set hostname and /etc/hosts, maybe reboot > > > > classic-upgrade ... > > I still get "server.my.tld" into the records. > Does classic upgrade read that from wins.dat or so ? > > >As far as I am aware, you just need to change the netbios name setting in smb.conf. I take it you are following this: https://wiki.samba.org/index.php/Migrating_a_Samba_NT4_Domain_to_Samba_AD_%28Classic_Upgrade%29#The_classicupgrade_process Rowland