summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-02-05 13:23:56 +0100
committerGünther Deschner <gd@samba.org>2008-02-05 13:23:56 +0100
commit75dc740ee32969702f27b43d0a1434618c1cee1a (patch)
tree1afed780bfc70ffead376e71c366e2aba72285cb
parent2bca1422908c5221af4fbed3eb33e0f07eb063ca (diff)
downloadsamba-75dc740ee32969702f27b43d0a1434618c1cee1a.tar.gz
samba-75dc740ee32969702f27b43d0a1434618c1cee1a.tar.bz2
samba-75dc740ee32969702f27b43d0a1434618c1cee1a.zip
Use SAMR_CONNECT_W2K for samr_Connect4 in rpcclient.
Guenther (This used to be commit c0ebdb555d0ef04d49bb88c312b52bd1b0398f82)
-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)) {