summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-05-02 20:02:26 +0200
committerJelmer Vernooij <jelmer@samba.org>2010-05-18 01:40:19 +0200
commitf7f1a3a4516528be8722bb416428c8abb4bab652 (patch)
tree88a7d0320b309c91c5342dee39adc0ed5f88a458
parentfe31b67d5e9bf5b6c195eddb5f7b42e680a0f36a (diff)
downloadsamba-f7f1a3a4516528be8722bb416428c8abb4bab652.tar.gz
samba-f7f1a3a4516528be8722bb416428c8abb4bab652.tar.bz2
samba-f7f1a3a4516528be8722bb416428c8abb4bab652.zip
pynet: Remove unused credentials argument.
-rw-r--r--source4/libnet/py_net.c7
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);