[Samba] Van Belle Repo - 4.10 for Bionic

Viktor Trojanovic viktor at troja.ch
Sun Mar 31 11:55:18 UTC 2019


On Sat, 30 Mar 2019 at 17:45, L.P.H. van Belle <belle at bazuin.nl> wrote:
>
> you can upgrade from 4.7 to 4.9.
> but you must run samba-tool dbcheck
> that should work also. after the check run samba-tool dbcheck --reindex
>

I thought that maybe indeed I did something wrong the last time so I
followed your advice. Unfortunately, it broke my DC again. (Luckily, I
made a snapshot before doing this so I should be able to easily
revert).

So I went through with the update from 4.7.4 to 4.9.4, and after the
update I ran:

# samba-tool dbcheck
Checking 322 objects
Checked 322 objects (0 errors)

# samba-tool dbcheck --reindex
Re-indexing
completed re-index OK

# ldbedit -H /var/lib/samba/private/sam.ldb
(shows contents of sam.ldb, closing the file)
   # 0 adds  0 modifies  0 deletes

# reboot

# journalctl -xe

Mar 31 11:43:52 dc1 samba[224]: task[dnsupdate][224]:
/usr/sbin/samba_dnsupdate: ERROR(runtime):
uncaught exception - (9711, 'WERR_DNS_ERROR_RECORD_ALREADY_EXISTS')
Mar 31 11:43:52 dc1 samba[224]: task[dnsupdate][224]: [2019/03/31
11:43:52.021002,  0] ../lib/util/
util_runcmd.c:327(samba_runcmd_io_handler)
Mar 31 11:43:52 dc1 samba[224]: task[dnsupdate][224]:
/usr/sbin/samba_dnsupdate:   File "/usr/lib
/python2.7/dist-packages/samba/netcmd/__init__.py", line 177, in _run
Mar 31 11:43:52 dc1 samba[224]: task[dnsupdate][224]: [2019/03/31
11:43:52.021202,  0] ../lib/util/
util_runcmd.c:327(samba_runcmd_io_handler)
Mar 31 11:43:52 dc1 samba[224]: task[dnsupdate][224]:
/usr/sbin/samba_dnsupdate:     return self.
run(*args, **kwargs)
Mar 31 11:43:52 dc1 samba[224]: task[dnsupdate][224]: [2019/03/31
11:43:52.021375,  0] ../lib/util/
util_runcmd.c:327(samba_runcmd_io_handler)
Mar 31 11:43:52 dc1 samba[224]: task[dnsupdate][224]:
/usr/sbin/samba_dnsupdate:   File "/usr/lib
/python2.7/dist-packages/samba/netcmd/dns.py", line 945, in run
Mar 31 11:43:52 dc1 samba[224]: task[dnsupdate][224]: [2019/03/31
11:43:52.021539,  0] ../lib/util/
util_runcmd.c:327(samba_runcmd_io_handler)
Mar 31 11:43:52 dc1 samba[224]: task[dnsupdate][224]:
/usr/sbin/samba_dnsupdate:     raise e
Mar 31 11:43:52 dc1 samba[224]: task[dnsupdate][224]: [2019/03/31
11:43:52.047043,  0] ../source4/d
sdb/dns/dns_update.c:330(dnsupdate_nameupdate_done)
Mar 31 11:43:52 dc1 samba[224]: task[dnsupdate][224]:
../source4/dsdb/dns/dns_update.c:330: Faile
d DNS update - with error code 26

Does anyone have an idea what causes these errors?

- Viktor



More information about the samba mailing list