Probleme mit samba-tool dbcheck

Hallo wir haben ein Problem mit dem samba-tool.

Wir einen dbcheck, egal mit welchen weiteren Optionen ausführen wollen bekommen wir folgende Fehlermeldung. Mit -d 5 Sieht alles gut aus bis Normal der Punkt Checking Objects kommt, dann kommt die Fehlermeldung.

Blockquote
ERROR(<type ‘exceptions.KeyError’>): uncaught exception - ‘No such element’
File “/usr/lib/python2.7/dist-packages/samba/netcmd/init.py”, line 185, in _run
return self.run(*args, **kwargs)
File “/usr/lib/python2.7/dist-packages/samba/netcmd/dbcheck.py”, line 144, in run
check_for_conflicts=check_for_conflicts)
File “/usr/lib/python2.7/dist-packages/samba/dbchecker.py”, line 222, in init
self.tombstoneLifetime = int(res[0][“tombstoneLifetime”][0])
Blockquote

Mit strace Sieht das so aus

Blockquote
write(2, “ERROR(<type 'exceptions.KeyError”…, 76ERROR(<type ‘exceptions.KeyError’>): uncaught exception - ‘No such element’
) = 76
write(2, " File “/usr/lib/python2.7/dist-”…, 86 File “/usr/lib/python2.7/dist-packages/samba/netcmd/init.py”, line 185, in run
) = 86
stat("/usr/lib/python2.7/dist-packages/samba/netcmd/init.py", {st_mode=S_IFREG|0644, st_size=9673, …}) = 0
open("/usr/lib/python2.7/dist-packages/samba/netcmd/init.py", O_RDONLY) = 13
fstat(13, {st_mode=S_IFREG|0644, st_size=9673, …}) = 0
fstat(13, {st_mode=S_IFREG|0644, st_size=9673, …}) = 0
read(13, “# Unix SMB/CIFS implementation.\n”…, 8192) = 8192
read(13, " if isinstance(sub, “…, 4096) = 1481
read(13, “”, 4096) = 0
close(13) = 0
write(2, " return self.run(*args, **kwa”…, 37 return self.run(*args, **kwargs)
) = 37
write(2, " File “/usr/lib/python2.7/dist-”…, 84 File “/usr/lib/python2.7/dist-packages/samba/netcmd/dbcheck.py”, line 144, in run
) = 84
stat("/usr/lib/python2.7/dist-packages/samba/netcmd/dbcheck.py", {st_mode=S_IFREG|0644, st_size=7358, …}) = 0
open("/usr/lib/python2.7/dist-packages/samba/netcmd/dbcheck.py", O_RDONLY) = 13
fstat(13, {st_mode=S_IFREG|0644, st_size=7358, …}) = 0
fstat(13, {st_mode=S_IFREG|0644, st_size=7358, …}) = 0
read(13, “# Samba4 AD database checker\n#\n#”…, 8192) = 7358
read(13, “”, 4096) = 0
close(13) = 0
write(2, " check_for_conflicts=check_fo"…, 45 check_for_conflicts=check_for_conflicts)
) = 45
write(2, " File “/usr/lib/python2.7/dist-”…, 84 File “/usr/lib/python2.7/dist-packages/samba/dbchecker.py”, line 222, in init
) = 84
stat("/usr/lib/python2.7/dist-packages/samba/dbchecker.py", {st_mode=S_IFREG|0644, st_size=132990, …}) = 0
open("/usr/lib/python2.7/dist-packages/samba/dbchecker.py", O_RDONLY) = 13
fstat(13, {st_mode=S_IFREG|0644, st_size=132990, …}) = 0
fstat(13, {st_mode=S_IFREG|0644, st_size=132990, …}) = 0
read(13, “# Samba4 AD database checker\n#\n#”…, 8192) = 8192
read(13, “zone), domain[0]))\n\n fore”…, 4096) = 4096
read(13, " for nc in self.ncs_lacking_d"…, 4096) = 4096
read(13, " “wellKnownObjects”)\n"…, 4096) = 4096
read(13, “msg, err))\n return Fa”…, 4096) = 4096
read(13, “(values))))\n if not self.”…, 4096) = 4096
read(13, " "%s in object “”…, 4096) = 4096
read(13, “report(“Fixed %s on attribute %s”…, 4096) = 4096
read(13, " [“relax:0”, “show_recycled:1”],”…, 4096) = 4096
read(13, "ink_attr))\n\n def err_recover
"…, 4096) = 4096
read(13, “’’\n\n new_rdn = ldb.Dn(sel”…, 4096) = 4096
read(13, “userParameters(self, obj, attrn"…, 4096) = 4096
read(13, " duplicate_dict[keystr][“delete”"…, 4096) = 4096
read(13, “ns:1:2”,\n "…, 4096) = 4096
read(13, " unique_dict)\n “…, 4096) = 4096
read(13, " object might or might not be de”…, 4096) = 4096
read(13, " continue\n\n "…, 4096) = 4096
read(13, “) on ‘%s’ to ‘%s’ (%d) on ‘%s’” “…, 4096) = 4096
read(13, “ecurity.SEC_ACE_TYPE_SYSTEM_ALAR”…, 4096) = 4096
read(13, “al = ndr_pack(sd)\n sd_fla”…, 4096) = 4096
read(13, " isDeleted.version,\n “…, 4096) = 4096
read(13, “d = False\n for o in ctr.a”…, 4096) = 4096
read(13, “or %s in %s on %s\n’ % (att, att”…, 4096) = 4096
mmap(NULL, 262144, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7faab9886000
read(13, “: description not present on Del”…, 4096) = 4096
read(13, " result = self.samdb.searc”…, 4096) = 4096
read(13, “s None:\n attrs = [’*’”…, 4096) = 4096
read(13, " self.report(”…, 4096) = 4096
read(13, " # order of last set)\n "…, 4096) = 4096
read(13, " on those\n error
”…, 4096) = 4096
read(13, " replication metadata" % att)\n “…, 4096) = 4096
read(13, " attrs=[“rIDAllocationPool”,\n”…, 4096) = 4096
read(13, "ssing in @ROOTDSE’)\n “…, 4096) = 1918
read(13, “”, 4096) = 0
close(13) = 0
write(2, " self.tombstoneLifetime = int”…, 65 self.tombstoneLifetime = int(res[0][“tombstoneLifetime”][0])
) = 65
Blockquote

Hat Jemand eine Idee wie man das Problem debuggen kann?

Mastodon