summaryrefslogtreecommitdiff
path: root/source3/lib/netapi/cm.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-01-18 18:15:49 +0100
committerVolker Lendecke <vl@samba.org>2009-01-18 20:10:06 +0100
commita9542ddcb77f0296cb835d0ae337dc54418c1bf4 (patch)
treee0d020037400f5d6a9a96f6a9125f732f2b4bff5 /source3/lib/netapi/cm.c
parent6ffe233f9442792a0e8e52167a01b76eabd83be9 (diff)
downloadsamba-a9542ddcb77f0296cb835d0ae337dc54418c1bf4.tar.gz
samba-a9542ddcb77f0296cb835d0ae337dc54418c1bf4.tar.bz2
samba-a9542ddcb77f0296cb835d0ae337dc54418c1bf4.zip
libnetapi_open_pipe does not need to return cli_state
The user session key is also available in rpccli->auth->user_session_key Guenther, please check! Thanks, Volker
Diffstat (limited to 'source3/lib/netapi/cm.c')
-rw-r--r--source3/lib/netapi/cm.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source3/lib/netapi/cm.c b/source3/lib/netapi/cm.c
index 0e059edb29..e616a2509f 100644
--- a/source3/lib/netapi/cm.c
+++ b/source3/lib/netapi/cm.c
@@ -165,7 +165,6 @@ static NTSTATUS pipe_cm_open(TALLOC_CTX *ctx,
WERROR libnetapi_open_pipe(struct libnetapi_ctx *ctx,
const char *server_name,
const struct ndr_syntax_id *interface,
- struct cli_state **pcli,
struct rpc_pipe_client **presult)
{
struct rpc_pipe_client *result = NULL;
@@ -192,7 +191,6 @@ WERROR libnetapi_open_pipe(struct libnetapi_ctx *ctx,
}
*presult = result;
- *pcli = cli;
return WERR_OK;
}