summaryrefslogtreecommitdiff
path: root/source3/python/py_samr.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/python/py_samr.c')
-rw-r--r--source3/python/py_samr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/python/py_samr.c b/source3/python/py_samr.c
index a26cd8d132..c448c4f89a 100644
--- a/source3/python/py_samr.c
+++ b/source3/python/py_samr.c
@@ -569,7 +569,7 @@ static PyObject *samr_connect(PyObject *self, PyObject *args, PyObject *kw)
goto done;
}
- ntstatus = rpccli_samr_connect(cli, mem_ctx, desired_access, &hnd);
+ ntstatus = rpccli_samr_connect(cli->pipe_list, mem_ctx, desired_access, &hnd);
if (!NT_STATUS_IS_OK(ntstatus)) {
cli_shutdown(cli);