ldb one-level search performance issue
abartlet at samba.org
Tue May 29 05:29:54 UTC 2018
On Tue, 2018-05-29 at 06:54 +1200, Andrew Bartlett via samba-technical
> The challenge continues:
> [778(4311)/853 at 1h17m51s]
> REASON: Exception: Exception: Traceback (most recent call last):
> File "/tmp/samba-
> line 68, in tearDown
> self.ldb.delete(self.ou, ["tree_delete:1"])
> LdbError: (68, 'LDAP error 68 LDAP_ENTRY_ALREADY_EXISTS - <error in
> module samldb: Entry already exists during LDB_DELETE (68)> <>')
> Very strange, but I will continue to investigate.
> Presumably something was relying on the wrong behaviour, ouch!
For those playing along at home, that was fairly easy to fix (a legit
check in samldb being caught when the index order started to be used),
but now I get:
make test TESTS="deletetest rodc"
Failed to apply linked attribute change 'attribute 'isDeleted': invalid modify flags on 'CN=g1_1527570609273,CN=Users,DC=samba,DC=example,DC=com': 0x0'
The fix is not to re-use a search result (possibly containing
isDeleted) during the repl_meta_data link processing. I'll fix that up
The fun continues!
Authentication Developer, Samba Team https://samba.org
Samba Development and Support, Catalyst IT
More information about the samba-technical