git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
058cd95
)
Fix compile of py_net.c
author
Andrew Bartlett
<abartlet@samba.org>
Tue, 28 Jul 2009 08:00:13 +0000
(18:00 +1000)
committer
Andrew Bartlett
<abartlet@samba.org>
Tue, 28 Jul 2009 08:00:46 +0000
(18:00 +1000)
source4/libnet/py_net.c
patch
|
blob
|
history
diff --git
a/source4/libnet/py_net.c
b/source4/libnet/py_net.c
index d9dc8d485b4054cba203f1c1abd65955e80d7869..5136fc54ebdafeb35fa06083e7ccb95def7f76aa 100644
(file)
--- 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)