diff options
author | Günther Deschner <gd@samba.org> | 2008-02-04 19:13:15 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-02-04 19:13:15 +0100 |
commit | 24692c83a946f8d215487a49a586f315837f4b63 (patch) | |
tree | 56ef6de5260e3979f084c2105afba462e01d2aac /source3/rpcclient | |
parent | 944f11af5b2e90cb98a1a4f9681c893af644cff6 (diff) | |
download | samba-24692c83a946f8d215487a49a586f315837f4b63.tar.gz samba-24692c83a946f8d215487a49a586f315837f4b63.tar.bz2 samba-24692c83a946f8d215487a49a586f315837f4b63.zip |
Use rpccli_samr_Connect4() in rpcclient.
Guenther
(This used to be commit c05b5709e4943345f5d2a35fad5155c79650686d)
Diffstat (limited to 'source3/rpcclient')
-rw-r--r-- | source3/rpcclient/cmd_samr.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/source3/rpcclient/cmd_samr.c b/source3/rpcclient/cmd_samr.c index 2799e46438..b0c6213f56 100644 --- a/source3/rpcclient/cmd_samr.c +++ b/source3/rpcclient/cmd_samr.c @@ -332,8 +332,12 @@ static NTSTATUS try_samr_connects(struct rpc_pipe_client *cli, TALLOC_CTX *mem_c uint32 access_mask, POLICY_HND *connect_pol) { NTSTATUS result = NT_STATUS_UNSUCCESSFUL; - - result = rpccli_samr_connect4(cli, mem_ctx, access_mask, connect_pol); + + result = rpccli_samr_Connect4(cli, mem_ctx, + cli->cli->desthost, + 2, /* unknown */ + access_mask, + connect_pol); if (!NT_STATUS_IS_OK(result)) { result = rpccli_samr_connect(cli, mem_ctx, access_mask, connect_pol); |