From: Andrew Bartlett Date: Tue, 28 Jul 2009 08:00:13 +0000 (+1000) Subject: Fix compile of py_net.c X-Git-Tag: tevent-0.9.8~641 X-Git-Url: http://git.samba.org/samba.git/?p=ira%2Fwip.git;a=commitdiff_plain;h=4e049b0a1c95d896280944588df130a5f5e7563f;ds=sidebyside Fix compile of py_net.c --- diff --git a/source4/libnet/py_net.c b/source4/libnet/py_net.c index d9dc8d485b4..5136fc54ebd 100644 --- a/source4/libnet/py_net.c +++ b/source4/libnet/py_net.c @@ -20,6 +20,7 @@ #include "includes.h" #include #include "libnet.h" +#include "auth/credentials/pycredentials.h" #include "libcli/security/security.h" #include "lib/events/events.h" #include "param/param.h" @@ -35,7 +36,8 @@ static struct libnet_context *py_net_ctx(PyObject *obj, struct tevent_context *e if (!libnet) { return NULL; } - libnet->credentials = creds; + libnet->cred = creds; + return libnet; } static PyObject *py_net_join(PyObject *cls, PyObject *args, PyObject *kwargs)