https://bugzilla.samba.org/show_bug.cgi?id=10398 and others

Stefan (metze) Metzmacher metze at samba.org
Wed Jul 2 15:23:33 MDT 2014


Hi Andrew,

I just noticed that we haven't backported the fixes for
https://bugzilla.samba.org/show_bug.cgi?id=10398 and maybe some others
(there was one also referring to a univention bug)

I've created two branches with backports:
https://git.samba.org/?p=metze/samba/wip.git;a=shortlog;h=refs/heads/v4-1-test
and
https://git.samba.org/?p=metze/samba/wip.git;a=shortlog;h=refs/heads/v4-1-drepl
on top of the first one.

v4-1-drepl contains more stuff that's not easy to backport as we would
require a newer ldb version
than older 4.1.x releases.

Were there more patches which need to be backported? Some "conflict
resolving" or "deletion" patches?
I have a customer with strange problems.

CN=NTDS
Settings,CN=DC1\ACNF:9a2f0f4f-a693-4f06-b035-2f1e05d00bfe,CN=SomeSite,....
Is not deleted, while
CN=DC1\ACNF:9a2f0f4f-a693-4f06-b035-2f1e05d00bfe,CN=SomeSite
is deleted. Our kcc finds this but later crash we in
dreplsrv_get_target_principal()
line 207, as dsdb_search_dn() doesn't have some logic like if
(dsdb_flags & DSDB_SEARCH_ONE_ONLY) {
in dsdb_search(). So we may get res->count == 0 instead of
LDB_ERR_NO_SUCH_OBJECT.

Should we implement dsdb_search_dn() on top of dsdb_search() passing
DSDB_SEARCH_ONE_ONLY
and LDB_SCOPE_BASE?

Jelmer, is there a way to overload the Ldb.Dn class, within python?
Then we could backport the pylddb patches in a Samba specific file,
so that dbcheck can work with an older system pyldb.

metze

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 246 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20140702/1ec1f3ff/attachment.pgp>


More information about the samba-technical mailing list