[Samba] accidentally upgraded DC to 4.17.3 ... didn't work

Stefan G. Weichinger lists at xunil.at
Tue Nov 22 08:17:20 UTC 2022


got this:

Nov 22 08:55:59 adc2 samba[291952]:   /usr/sbin/samba_dnsupdate: 
elif not check_dns_name(d):
Nov 22 08:55:59 adc2 samba[291952]: [2022/11/22 08:55:59.600882,  0] 
../../lib/util/util_runcmd.c:355(samba_runcmd_io_handler)
Nov 22 08:55:59 adc2 samba[291952]:   /usr/sbin/samba_dnsupdate:   File 
"/usr/sbin/samba_dnsupdate", line 311, in check_dns_name
Nov 22 08:55:59 adc2 samba[291952]: [2022/11/22 08:55:59.600907,  0] 
../../lib/util/util_runcmd.c:355(samba_runcmd_io_handler)
Nov 22 08:55:59 adc2 samba[291952]:   /usr/sbin/samba_dnsupdate: 
raise Exception("Failure while trying to resolve %s as %s" % (d, 
normalised_name))
Nov 22 08:55:59 adc2 samba[291952]: [2022/11/22 08:55:59.600925,  0] 
../../lib/util/util_runcmd.c:355(samba_runcmd_io_handler)


wbinfo -u didn't work

I manually downgraded to 4.16.2 now and hopefully got all needed packages.

Yes, I quickly browsed the existing threads before writing this.

smb.conf of that DC:

[global]
	workgroup = ARBEITSGRUPPE
	realm = arbeitsgruppe.my.tld
	netbios name = ADC2
	server role = active directory domain controller
	idmap_ldb:use rfc2307 = yes
     	dns forwarder = 10.0.0.254 9.9.9.9
	winbind offline logon = yes
	log level = 1

	# disable printing completely, when set empty no error log messages.
         load printers = no
         printing = bsd
         printcap name = /dev/null
         disable spoolss = yes

         # disable usershares creating, when set empty no error log 
messages.
         usershare path =

[netlogon]
	path = /var/lib/samba/sysvol/arbeitsgruppe.my.tld/scripts
	read only = No

[sysvol]
	path = /var/lib/samba/sysvol
	read only = No

---

4.16.6 as on my ADC1 seems not available anymore so I am on 4.16.2 
(still from Louis' repo)





More information about the samba mailing list