summaryrefslogtreecommitdiff
path: root/source4/torture/rpc
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-07-16 22:41:32 +0200
committerGünther Deschner <gd@samba.org>2010-07-16 22:47:30 +0200
commit7755e196a15ada80505c3ffd77b41c20e60b69ec (patch)
tree651146b21e1031ac6b05e38a09d76540d44352f1 /source4/torture/rpc
parent65116adcebe23d3ae42a641515f6001268ed0ef0 (diff)
downloadsamba-7755e196a15ada80505c3ffd77b41c20e60b69ec.tar.gz
samba-7755e196a15ada80505c3ffd77b41c20e60b69ec.tar.bz2
samba-7755e196a15ada80505c3ffd77b41c20e60b69ec.zip
s4-smbtorture: make sure to wipe out dcerpc auth flags before RPC-BIND starts.
Guenther
Diffstat (limited to 'source4/torture/rpc')
-rw-r--r--source4/torture/rpc/bind.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/torture/rpc/bind.c b/source4/torture/rpc/bind.c
index b36e54cac0..909596d1cd 100644
--- a/source4/torture/rpc/bind.c
+++ b/source4/torture/rpc/bind.c
@@ -52,6 +52,7 @@ static bool test_bind(struct torture_context *tctx,
torture_rpc_binding(tctx, &binding),
"failed to parse binding string");
+ binding->flags &= ~DCERPC_AUTH_OPTIONS;
binding->flags |= *flags;
torture_assert_ntstatus_ok(tctx,