From 4e049b0a1c95d896280944588df130a5f5e7563f Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Tue, 28 Jul 2009 18:00:13 +1000 Subject: Fix compile of py_net.c --- source4/libnet/py_net.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'source4') diff --git a/source4/libnet/py_net.c b/source4/libnet/py_net.c index d9dc8d485b..5136fc54eb 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) -- cgit