diff options
Diffstat (limited to 'source4')
-rw-r--r-- | source4/libnet/py_net.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/source4/libnet/py_net.c b/source4/libnet/py_net.c index 0592b3f503..9b5fa5d76b 100644 --- a/source4/libnet/py_net.c +++ b/source4/libnet/py_net.c @@ -40,12 +40,11 @@ static PyObject *py_net_join(py_net_Object *self, PyObject *args, PyObject *kwar NTSTATUS status; PyObject *result; TALLOC_CTX *mem_ctx; - PyObject *py_creds; - const char *kwnames[] = { "domain_name", "netbios_name", "join_type", "level", "credentials", NULL }; + const char *kwnames[] = { "domain_name", "netbios_name", "join_type", "level", NULL }; - if (!PyArg_ParseTupleAndKeywords(args, kwargs, "ssiiO:Join", discard_const_p(char *, kwnames), + if (!PyArg_ParseTupleAndKeywords(args, kwargs, "ssii:Join", discard_const_p(char *, kwnames), &r.in.domain_name, &r.in.netbios_name, - &r.in.join_type, &r.in.level, &py_creds)) + &r.in.join_type, &r.in.level)) return NULL; mem_ctx = talloc_new(self->mem_ctx); |