summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-08-23 12:07:56 +1000
committerAndrew Tridgell <tridge@samba.org>2010-08-23 15:55:39 +1000
commitf0803de830d4f1a009b5ef2a06fd94e0f25b3ea8 (patch)
treef1362555a27a192034a64f67d09e8fdb44c2b78d /source4
parent470d87701bfc4d3d58b9cf0c6e5f240bc24707d9 (diff)
downloadsamba-f0803de830d4f1a009b5ef2a06fd94e0f25b3ea8.tar.gz
samba-f0803de830d4f1a009b5ef2a06fd94e0f25b3ea8.tar.bz2
samba-f0803de830d4f1a009b5ef2a06fd94e0f25b3ea8.zip
s4-pyrpc: use s4_event_context_init()
This fixes a crash when using kerberos and the python dcercpc interface, which requires event nesting Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4')
-rw-r--r--source4/librpc/rpc/pyrpc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/librpc/rpc/pyrpc.c b/source4/librpc/rpc/pyrpc.c
index 258e4584be..bcfe8cf795 100644
--- a/source4/librpc/rpc/pyrpc.c
+++ b/source4/librpc/rpc/pyrpc.c
@@ -339,7 +339,7 @@ PyObject *py_dcerpc_interface_init_helper(PyTypeObject *type, PyObject *args, Py
ret = PyObject_New(dcerpc_InterfaceObject, type);
ret->mem_ctx = mem_ctx;
- event_ctx = event_context_init(ret->mem_ctx);
+ event_ctx = s4_event_context_init(ret->mem_ctx);
if (py_basis != Py_None) {
struct dcerpc_pipe *base_pipe;