summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDeryck Hodge <deryck@samba.org>2006-05-01 22:53:29 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:16:38 -0500
commit0d14777a479477ba117b3c56b26b316a3b227851 (patch)
tree73a39d3eda62f6d2d1d260b40503b105873fac63
parentaee979faaa45ee9b1f9ab20af3832d97fb74dcf2 (diff)
downloadsamba-0d14777a479477ba117b3c56b26b316a3b227851.tar.gz
samba-0d14777a479477ba117b3c56b26b316a3b227851.tar.bz2
samba-0d14777a479477ba117b3c56b26b316a3b227851.zip
r15386: Missed some functions in my last commit.
deryck (This used to be commit fdb5be797acce071b4c0de2c63fd54f906e340c6)
-rw-r--r--source3/python/py_samr.c8
1 files changed, 4 insertions, 4 deletions
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) {