mirror of
https://github.com/samba-team/samba.git
synced 2025-02-03 13:47:25 +03:00
r15386: Missed some functions in my last commit.
deryck (This used to be commit fdb5be797acce071b4c0de2c63fd54f906e340c6)
This commit is contained in:
parent
aee979faaa
commit
0d14777a47
@ -283,7 +283,7 @@ PyTypeObject samr_user_hnd_type = {
|
|||||||
0, /*tp_hash */
|
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)
|
POLICY_HND *pol)
|
||||||
{
|
{
|
||||||
samr_user_hnd_object *o;
|
samr_user_hnd_object *o;
|
||||||
@ -304,7 +304,7 @@ static void py_samr_connect_hnd_dealloc(PyObject* self)
|
|||||||
PyObject_Del(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)
|
POLICY_HND *pol)
|
||||||
{
|
{
|
||||||
samr_domain_hnd_object *o;
|
samr_domain_hnd_object *o;
|
||||||
@ -396,7 +396,7 @@ PyTypeObject samr_connect_hnd_type = {
|
|||||||
0, /*tp_hash */
|
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)
|
POLICY_HND *pol)
|
||||||
{
|
{
|
||||||
samr_connect_hnd_object *o;
|
samr_connect_hnd_object *o;
|
||||||
@ -577,7 +577,7 @@ static PyObject *samr_connect(PyObject *self, PyObject *args, PyObject *kw)
|
|||||||
goto done;
|
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:
|
done:
|
||||||
if (!result) {
|
if (!result) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user