From fba4af3a1bdc350b51e61d173730b1542377dd88 Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Sat, 18 Sep 2004 12:47:57 +0000 Subject: r2410: Add test for samr_SetSecurity(). (This used to be commit e822979e84d33015c937e22174288a3f2c2ff04b) --- source4/scripting/swig/torture/samr.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'source4/scripting/swig/torture') diff --git a/source4/scripting/swig/torture/samr.py b/source4/scripting/swig/torture/samr.py index e7ee4e8796..f3be954d65 100755 --- a/source4/scripting/swig/torture/samr.py +++ b/source4/scripting/swig/torture/samr.py @@ -12,7 +12,6 @@ def test_Connect(handle): r['access_mask'] = 0x02000000 result = dcerpc.samr_Connect(pipe, r) - dcerpc.samr_Close(pipe, result) print 'testing samr_Connect2' @@ -68,7 +67,13 @@ def test_QuerySecurity(pipe, handle): r['sec_info'] = 7 result = dcerpc.samr_QuerySecurity(pipe, r) - print result + + r = {} + r['handle'] = handle + r['sec_info'] = 7 + r['sdbuf'] = result['sdbuf'] + + result = dcerpc.samr_SetSecurity(pipe, r) # Parse command line -- cgit