From aee979faaa45ee9b1f9ab20af3832d97fb74dcf2 Mon Sep 17 00:00:00 2001 From: Deryck Hodge Date: Mon, 1 May 2006 22:31:33 +0000 Subject: r15385: Some work to bring the python code up to date with the rpc client rewrite. (This used to be commit fd5bcecceb518d0683f400a61e11ce37f3d52d42) --- source3/python/py_lsa.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source3/python/py_lsa.c') diff --git a/source3/python/py_lsa.c b/source3/python/py_lsa.c index a4e8254e0d..915223a5bb 100644 --- a/source3/python/py_lsa.c +++ b/source3/python/py_lsa.c @@ -20,7 +20,7 @@ #include "python/py_lsa.h" -PyObject *new_lsa_policy_hnd_object(struct cli_state *cli, TALLOC_CTX *mem_ctx, +PyObject *new_lsa_policy_hnd_object(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, POLICY_HND *pol) { lsa_policy_hnd_object *o; @@ -90,14 +90,14 @@ static PyObject *lsa_open_policy(PyObject *self, PyObject *args, } ntstatus = rpccli_lsa_open_policy( - cli, mem_ctx, True, desired_access, &hnd); + cli->pipe_list, mem_ctx, True, desired_access, &hnd); if (!NT_STATUS_IS_OK(ntstatus)) { PyErr_SetObject(lsa_ntstatus, py_ntstatus_tuple(ntstatus)); goto done; } - result = new_lsa_policy_hnd_object(cli, mem_ctx, &hnd); + result = new_lsa_policy_hnd_object(cli->pipe_list, mem_ctx, &hnd); done: if (!result) { -- cgit