diff options
Diffstat (limited to 'source4/scripting/swig/torture')
-rwxr-xr-x | source4/scripting/swig/torture/samr.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/source4/scripting/swig/torture/samr.py b/source4/scripting/swig/torture/samr.py index 00e4db1958..1f3b60eed4 100755 --- a/source4/scripting/swig/torture/samr.py +++ b/source4/scripting/swig/torture/samr.py @@ -90,7 +90,13 @@ def test_LookupDomain(pipe, handle, domain): result = dcerpc.samr_LookupDomain(pipe, r) - print result + r['domain']['name'] = 'xxNODOMAINxx' + + try: + result = dcerpc.samr_LookupDomain(pipe, r) + except dcerpc.NTSTATUS, arg: + if arg[0] != 0xc00000df: + raise dcerpc.NTSTATUS(arg) def test_EnumDomains(pipe, handle): |