summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/rpcclient/cmd_samr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpcclient/cmd_samr.c b/source3/rpcclient/cmd_samr.c
index 4ea436dc92..332a67ecc4 100644
--- a/source3/rpcclient/cmd_samr.c
+++ b/source3/rpcclient/cmd_samr.c
@@ -335,7 +335,7 @@ static NTSTATUS try_samr_connects(struct rpc_pipe_client *cli, TALLOC_CTX *mem_c
result = rpccli_samr_Connect4(cli, mem_ctx,
cli->cli->desthost,
- 2, /* unknown */
+ SAMR_CONNECT_W2K,
access_mask,
connect_pol);
if (!NT_STATUS_IS_OK(result)) {