Stefan G. Weichinger
2022-Nov-22 08:17 UTC
[Samba] accidentally upgraded DC to 4.17.3 ... didn't work
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)
Kees van Vloten
2022-Nov-22 08:25 UTC
[Samba] accidentally upgraded DC to 4.17.3 ... didn't work
Op 22-11-2022 om 09:17 schreef Stefan G. Weichinger via samba:> > 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) >4.16.6 is available at Michael's repo: http://www.corpit.ru/mjt/packages/samba/
Rowland Penny
2022-Nov-22 08:33 UTC
[Samba] accidentally upgraded DC to 4.17.3 ... didn't work
On 22/11/2022 08:17, Stefan G. Weichinger via samba wrote:> > 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) >To try and sort this out, the lines above what you have posted are required, you seem to have posted the lower portion of a python exception. Rowland