[PATCH] Finally run bind9_dlz spnego test, fix drs delete behaviour

Andrew Bartlett abartlet at samba.org
Sun Jun 2 07:05:40 MDT 2013


I've been frustrated for over 6 months by why adding some 'simple' tests
to confirm that some of the crypto in the bind9_dlz code works because
it suddenly broke make test, particularly dbcheck.

The attached patches just passed a private autobuild.  They add the
'problem' tests, but first we fix the behaviour of DRS-initiated object
deletes.

Please review/push/comment (this patch series includes the usnChanged
series I posted a few days ago). 

>From here, I would like to continue to improve the tests - the tests in
source4/torture/drs/python/delete_object.py could be trivially extended
to add a 'description' and 'memberOf' element that we should ensure gets
deleted on both hosts, for example.  We could also watch usnChanged
values to ensure we delete the right stuff, but for now I'm simply
stunned that this could ever have worked with this incorrect!

Thanks,
-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-dsdb-Fix-behaviour-for-when-to-update-the-USN-when-t.patch
Type: text/x-patch
Size: 2448 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20130602/f4db8a16/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-dsdb-tests-ldap.py-Fix-quoting-of-print-statements.patch
Type: text/x-patch
Size: 4039 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20130602/f4db8a16/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-dsdb-tests-ldap.py-Add-test-for-usn-behaviour-on-cer.patch
Type: text/x-patch
Size: 10587 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20130602/f4db8a16/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-dsdb-Prune-deleted-objects-of-links-and-extra-attrib.patch
Type: text/x-patch
Size: 14027 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20130602/f4db8a16/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-scripting-join.py-Handle-creating-the-dns-NAME-accou.patch
Type: text/x-patch
Size: 10686 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20130602/f4db8a16/attachment-0004.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0006-scripting-samba_upgradedns-Tighten-up-exception-and-.patch
Type: text/x-patch
Size: 3500 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20130602/f4db8a16/attachment-0005.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0007-selftest-Test-creation-of-the-dns-SERVER-account-dur.patch
Type: text/x-patch
Size: 1169 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20130602/f4db8a16/attachment-0006.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0008-selftest-Start-internal-DNS-server-on-domain-provisi.patch
Type: text/x-patch
Size: 919 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20130602/f4db8a16/attachment-0007.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0009-selftest-Add-a-basic-test-of-samba_upgradedns.patch
Type: text/x-patch
Size: 3579 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20130602/f4db8a16/attachment-0008.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0010-torture-Ensure-that-GSSAPI-and-SPNEGO-packets-are-ac.patch
Type: text/x-patch
Size: 5779 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20130602/f4db8a16/attachment-0009.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0011-dsdb-repl_meta_data-Use-dsdb_request_add_controls.patch
Type: text/x-patch
Size: 1897 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20130602/f4db8a16/attachment-0010.bin>


More information about the samba-technical mailing list