summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-05-28 08:21:35 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:08:40 -0500
commitb63d6b22e481bc09ac2cbd4dd14e72547bc95f0b (patch)
tree75563efb71f7c3a1632cc86ac9d47912cca4b47e /source4/torture
parent90a5e19e03842b77fd7811965fb2603e552261bc (diff)
downloadsamba-b63d6b22e481bc09ac2cbd4dd14e72547bc95f0b.tar.gz
samba-b63d6b22e481bc09ac2cbd4dd14e72547bc95f0b.tar.bz2
samba-b63d6b22e481bc09ac2cbd4dd14e72547bc95f0b.zip
r15916: Modify RPC-AUTHCONTEXT so that it can be anabled in samba3 make test
(This used to be commit 4298fde656ac72a2f0fae9f25e3b5b1f3948f8f5)
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/rpc/bind.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/rpc/bind.c b/source4/torture/rpc/bind.c
index 4c0ceb29c4..cece5eb928 100644
--- a/source4/torture/rpc/bind.c
+++ b/source4/torture/rpc/bind.c
@@ -140,7 +140,7 @@ BOOL torture_bind_authcontext(struct torture_context *torture)
mem_ctx, "\\\\%s", dcerpc_server_name(lsa_pipe));
ZERO_STRUCT(objectattr);
openpolicy.in.attr = &objectattr;
- openpolicy.in.access_mask = SEC_GENERIC_WRITE;
+ openpolicy.in.access_mask = SEC_FLAG_MAXIMUM_ALLOWED;
openpolicy.out.handle = &handle;
status = dcerpc_lsa_OpenPolicy2(lsa_pipe, mem_ctx, &openpolicy);