summaryrefslogtreecommitdiffstats
path: root/source/python
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2005-05-12 01:44:09 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:56:53 -0500
commit16ddf2812266c314950f464a6f4d75d55de0f9d6 (patch)
tree74eb70426e111de6be200d01979c4e76a8b296e7 /source/python
parent4d99b57aedba8431ef5827d1e75413a10b35e1ce (diff)
downloadsamba-16ddf2812266c314950f464a6f4d75d55de0f9d6.tar.gz
samba-16ddf2812266c314950f464a6f4d75d55de0f9d6.tar.xz
samba-16ddf2812266c314950f464a6f4d75d55de0f9d6.zip
r6739: Fix for segfault in samba.winbind.auth_crap module found by Ed Plese.
Closes bugzilla 2699.
Diffstat (limited to 'source/python')
-rw-r--r--source/python/py_winbind.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/python/py_winbind.c b/source/python/py_winbind.c
index 7256f77002b..6482a5b9e33 100644
--- a/source/python/py_winbind.c
+++ b/source/python/py_winbind.c
@@ -706,7 +706,7 @@ static PyMethodDef winbind_methods[] = {
"Authenticate a username and password using plaintext authentication.\n"
"The NT status code is returned with zero indicating success." },
- { "auth_crap", (PyCFunction)py_auth_crap, METH_VARARGS,
+ { "auth_crap", (PyCFunction)py_auth_crap, METH_VARARGS | METH_KEYWORDS,
"auth_crap(s, s) -> int\n"
"\n"
"Authenticate a username and password using the challenge/response\n"