s4-smbtorture: make sure to wipe out dcerpc auth flags before RPC-BIND starts.
authorGünther Deschner <gd@samba.org>
Fri, 16 Jul 2010 20:41:32 +0000 (22:41 +0200)
committerGünther Deschner <gd@samba.org>
Fri, 16 Jul 2010 20:47:30 +0000 (22:47 +0200)
Guenther

source4/torture/rpc/bind.c

index b36e54cac07931d30a1bedb1c2226490f4a27cb0..909596d1cd360eed54b72f5e4477b23c7e8b79a8 100644 (file)
@@ -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,