diff options
author | Tim Potter <tpot@samba.org> | 2004-09-18 12:47:57 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:58:49 -0500 |
commit | fba4af3a1bdc350b51e61d173730b1542377dd88 (patch) | |
tree | c5f34f67ff78b7e1264782e8f16b3c45f0674d74 /source4/scripting | |
parent | 6d00d88f94f410bffe7058786f17abd58c2de23f (diff) | |
download | samba-fba4af3a1bdc350b51e61d173730b1542377dd88.tar.gz samba-fba4af3a1bdc350b51e61d173730b1542377dd88.tar.bz2 samba-fba4af3a1bdc350b51e61d173730b1542377dd88.zip |
r2410: Add test for samr_SetSecurity().
(This used to be commit e822979e84d33015c937e22174288a3f2c2ff04b)
Diffstat (limited to 'source4/scripting')
-rwxr-xr-x | source4/scripting/swig/torture/samr.py | 9 |
1 files changed, 7 insertions, 2 deletions
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 |