The branch, master has been updated via 020c8df... s4-smbtorture: fix spoolss SD test against w2k8r2. from 41bb876... s4-smbtorture: more work on test_PrinterInfo_DevMode RPC-SPOOLSS-PRINTER.
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log ----------------------------------------------------------------- commit 020c8df2815b5ccf9d63ec690f329ea83d5c900f Author: Günther Deschner <g...@samba.org> Date: Tue Feb 16 10:45:29 2010 +0100 s4-smbtorture: fix spoolss SD test against w2k8r2. Guenther ----------------------------------------------------------------------- Summary of changes: source4/torture/rpc/spoolss.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) Changeset truncated at 500 lines: diff --git a/source4/torture/rpc/spoolss.c b/source4/torture/rpc/spoolss.c index 54101e7..ec72335 100644 --- a/source4/torture/rpc/spoolss.c +++ b/source4/torture/rpc/spoolss.c @@ -1672,6 +1672,10 @@ static bool test_PrinterInfo_SDs(struct torture_context *tctx, torture_assert(tctx, test_GetPrinter_level(tctx, p, handle, 2, &info), ""); sd2 = info.info2.secdesc; + if (sd1->type & SEC_DESC_DACL_DEFAULTED) { + torture_comment(tctx, "removing SEC_DESC_DACL_DEFAULTED\n"); + sd1->type &= ~SEC_DESC_DACL_DEFAULTED; + } torture_assert(tctx, test_security_descriptor_equal(tctx, sd1, sd2), ""); -- Samba Shared Repository