From 0d14777a479477ba117b3c56b26b316a3b227851 Mon Sep 17 00:00:00 2001 From: Deryck Hodge Date: Mon, 1 May 2006 22:53:29 +0000 Subject: r15386: Missed some functions in my last commit. deryck (This used to be commit fdb5be797acce071b4c0de2c63fd54f906e340c6) --- source3/python/py_samr.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source3/python') diff --git a/source3/python/py_samr.c b/source3/python/py_samr.c index c448c4f89a..fced5b3ddd 100644 --- a/source3/python/py_samr.c +++ b/source3/python/py_samr.c @@ -283,7 +283,7 @@ PyTypeObject samr_user_hnd_type = { 0, /*tp_hash */ }; -PyObject *new_samr_user_hnd_object(struct cli_state *cli, TALLOC_CTX *mem_ctx, +PyObject *new_samr_user_hnd_object(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, POLICY_HND *pol) { samr_user_hnd_object *o; @@ -304,7 +304,7 @@ static void py_samr_connect_hnd_dealloc(PyObject* self) PyObject_Del(self); } -PyObject *new_samr_domain_hnd_object(struct cli_state *cli, TALLOC_CTX *mem_ctx, +PyObject *new_samr_domain_hnd_object(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, POLICY_HND *pol) { samr_domain_hnd_object *o; @@ -396,7 +396,7 @@ PyTypeObject samr_connect_hnd_type = { 0, /*tp_hash */ }; -PyObject *new_samr_connect_hnd_object(struct cli_state *cli, TALLOC_CTX *mem_ctx, +PyObject *new_samr_connect_hnd_object(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, POLICY_HND *pol) { samr_connect_hnd_object *o; @@ -577,7 +577,7 @@ static PyObject *samr_connect(PyObject *self, PyObject *args, PyObject *kw) goto done; } - result = new_samr_connect_hnd_object(cli, mem_ctx, &hnd); + result = new_samr_connect_hnd_object(cli->pipe_list, mem_ctx, &hnd); done: if (!result) { -- cgit