The Samba-Bugzilla – Attachment 15683 Details for
Bug 14209
samba-tool fails with uncaught exception - bad call flags on Python 3.8
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
pygensec.c patch
0001-Avoiding-bad-call-flags-with-python-3.8-using-METH_N.patch (text/plain), 1.38 KB, created by
Torsten Fohrer
on 2019-12-15 16:05:04 UTC
(
hide
)
Description:
pygensec.c patch
Filename:
MIME Type:
Creator:
Torsten Fohrer
Created:
2019-12-15 16:05:04 UTC
Size:
1.38 KB
patch
obsolete
>From 191433ad9b7f8c63c64d1e887197b3972cfeb0d8 Mon Sep 17 00:00:00 2001 >From: Torsten Fohrer <torsten.fohrer@sbe.de> >Date: Sun, 15 Dec 2019 16:58:40 +0100 >Subject: [PATCH] Avoiding bad call flags with python 3.8, using METH_NOARGS > instead of zero. > >(C) SBE network solutions GmbH > >Signed-off-by: Torsten Fohrer <torsten.fohrer@sbe.de> >--- > source4/auth/gensec/pygensec.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/source4/auth/gensec/pygensec.c b/source4/auth/gensec/pygensec.c >index bc9d6bdcb16..986f32904e7 100644 >--- a/source4/auth/gensec/pygensec.c >+++ b/source4/auth/gensec/pygensec.c >@@ -679,7 +679,7 @@ static PyMethodDef py_gensec_security_methods[] = { > "S.have_feature()\n Return True if GENSEC negotiated a particular feature." }, > { "set_max_update_size", (PyCFunction)py_gensec_set_max_update_size, METH_VARARGS, > "S.set_max_update_size(max_size) \n Some mechs can fragment update packets, needs to be use before the mech is started." }, >- { "max_update_size", (PyCFunction)py_gensec_max_update_size, 0, >+ { "max_update_size", (PyCFunction)py_gensec_max_update_size, METH_NOARGS, > "S.max_update_size() \n Return the current max_update_size." }, > { "update", (PyCFunction)py_gensec_update, METH_VARARGS, > "S.update(blob_in) -> (finished, blob_out)\nPerform one step in a GENSEC dance. Repeat with new packets until finished is true or exception." }, >-- >2.24.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Flags:
kseeger
:
review?
(
abartlet
)
dbagnall
:
review+
slow
:
review+
Actions:
View
Attachments on
bug 14209
:
15660
|
15665
|
15666
|
15673
| 15683 |
15707
|
15709
|
15710
|
15711