svn commit: samba r6739 - branches/SAMBA_3_0/source/python trunk/source/python

tpot at samba.org tpot at samba.org
Thu May 12 01:44:09 GMT 2005


Author: tpot
Date: 2005-05-12 01:44:09 +0000 (Thu, 12 May 2005)
New Revision: 6739

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=6739

Log:
Fix for segfault in samba.winbind.auth_crap module found by Ed Plese.
Closes bugzilla 2699.

Modified:
   branches/SAMBA_3_0/source/python/py_winbind.c
   trunk/source/python/py_winbind.c


Changeset:
Modified: branches/SAMBA_3_0/source/python/py_winbind.c
===================================================================
--- branches/SAMBA_3_0/source/python/py_winbind.c	2005-05-11 19:22:22 UTC (rev 6738)
+++ branches/SAMBA_3_0/source/python/py_winbind.c	2005-05-12 01:44:09 UTC (rev 6739)
@@ -706,7 +706,7 @@
 "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"

Modified: trunk/source/python/py_winbind.c
===================================================================
--- trunk/source/python/py_winbind.c	2005-05-11 19:22:22 UTC (rev 6738)
+++ trunk/source/python/py_winbind.c	2005-05-12 01:44:09 UTC (rev 6739)
@@ -706,7 +706,7 @@
 "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"



More information about the samba-cvs mailing list