diff options
author | Andrew Bartlett <abartlet@samba.org> | 2009-07-28 18:00:13 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2009-07-28 18:00:46 +1000 |
commit | 4e049b0a1c95d896280944588df130a5f5e7563f (patch) | |
tree | f8199dd475d567774a8381fd7c391df95d9d5589 /source4/libnet | |
parent | 058cd95c88f693a42bb1c4f620b62346a3f0f08d (diff) | |
download | samba-4e049b0a1c95d896280944588df130a5f5e7563f.tar.gz samba-4e049b0a1c95d896280944588df130a5f5e7563f.tar.bz2 samba-4e049b0a1c95d896280944588df130a5f5e7563f.zip |
Fix compile of py_net.c
Diffstat (limited to 'source4/libnet')
-rw-r--r-- | source4/libnet/py_net.c | 4 |
1 files changed, 3 insertions, 1 deletions
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 <Python.h> #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) |