diff options
author | Tim Potter <tpot@samba.org> | 2002-10-17 04:45:25 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2002-10-17 04:45:25 +0000 |
commit | 14df81590cd7f2b26053803de924c8604aad3c3b (patch) | |
tree | 25b0ef71450a745804bf17a08b609b84797da1bc /source3/python/py_samr.c | |
parent | dae2b02f781267d2a00bc627a053abef39299831 (diff) | |
download | samba-14df81590cd7f2b26053803de924c8604aad3c3b.tar.gz samba-14df81590cd7f2b26053803de924c8604aad3c3b.tar.bz2 samba-14df81590cd7f2b26053803de924c8604aad3c3b.zip |
open_pipe_creds() now takes a pipe index instead of a pipe name.
(This used to be commit 3a0a30beda4b8be0038c98ccc6f8f01c6dae386a)
Diffstat (limited to 'source3/python/py_samr.c')
-rw-r--r-- | source3/python/py_samr.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/python/py_samr.c b/source3/python/py_samr.c index 917a90a2fb..92a2eaf063 100644 --- a/source3/python/py_samr.c +++ b/source3/python/py_samr.c @@ -393,7 +393,7 @@ static PyObject *samr_connect(PyObject *self, PyObject *args, PyObject *kw) return NULL; } - if (!(cli = open_pipe_creds(server, creds, PIPE_SAMR, &errstr))) { + if (!(cli = open_pipe_creds(server, creds, PI_SAMR, &errstr))) { PyErr_SetString(samr_error, errstr); free(errstr); return NULL; @@ -409,7 +409,6 @@ static PyObject *samr_connect(PyObject *self, PyObject *args, PyObject *kw) if (!NT_STATUS_IS_OK(ntstatus)) { cli_shutdown(cli); - SAFE_FREE(cli); PyErr_SetObject(samr_ntstatus, py_ntstatus_tuple(ntstatus)); goto done; } |