summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-12-29 13:51:17 +1100
committerAndrew Bartlett <abartlet@samba.org>2011-12-29 14:01:55 +1100
commit2ee67e37c239f303351eb80917d9c68334ce26ac (patch)
tree765a93742465cc228760ff249db3175781ca8f1d /source4
parent149f8f16be79dc9d142971fb74633cfc5b186840 (diff)
downloadsamba-2ee67e37c239f303351eb80917d9c68334ce26ac.tar.gz
samba-2ee67e37c239f303351eb80917d9c68334ce26ac.tar.bz2
samba-2ee67e37c239f303351eb80917d9c68334ce26ac.zip
s4-pyauth: Make sure event context allows nesting
Diffstat (limited to 'source4')
-rw-r--r--source4/auth/pyauth.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/auth/pyauth.c b/source4/auth/pyauth.c
index 08ce9d3f7f..f448a4404d 100644
--- a/source4/auth/pyauth.c
+++ b/source4/auth/pyauth.c
@@ -30,6 +30,7 @@
#include "auth/credentials/pycredentials.h"
#include <tevent.h>
#include "librpc/rpc/pyrpc_util.h"
+#include "lib/events/events.h"
void initauth(void);
@@ -245,7 +246,7 @@ static PyObject *py_auth_context_new(PyTypeObject *type, PyObject *args, PyObjec
lp_ctx = lpcfg_from_py_object(mem_ctx, py_lp_ctx);
- ev = tevent_context_init(mem_ctx);
+ ev = s4_event_context_init(mem_ctx);
if (ev == NULL) {
PyErr_NoMemory();
return NULL;