summaryrefslogtreecommitdiff
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
commitde737187c931368950a4e0818c297a941e8d3781 (patch)
tree42259819c6ade303284788507c209da1a80b4327
parent1d37a6267ed07ce1d181d76a5e4ca06bc41c3c88 (diff)
downloadsamba-de737187c931368950a4e0818c297a941e8d3781.tar.gz
samba-de737187c931368950a4e0818c297a941e8d3781.tar.bz2
samba-de737187c931368950a4e0818c297a941e8d3781.zip
r6739: Fix for segfault in samba.winbind.auth_crap module found by Ed Plese.
Closes bugzilla 2699. (This used to be commit 16ddf2812266c314950f464a6f4d75d55de0f9d6)
-rw-r--r--source3/python/py_winbind.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/python/py_winbind.c b/source3/python/py_winbind.c
index 7256f77002..6482a5b9e3 100644
--- a/source3/python/py_winbind.c
+++ b/source3/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"