The Samba-Bugzilla – Attachment 2888 Details for
Bug 4835
python bindings don't build for current SAMBA_3_0_25 branch
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to make py_smb.c build in 3.0.25c.
3.0.25c-py_smb.patch (text/plain), 914 bytes, created by
Johan Andersson
on 2007-08-26 06:35:48 UTC
(
hide
)
Description:
Patch to make py_smb.c build in 3.0.25c.
Filename:
MIME Type:
Creator:
Johan Andersson
Created:
2007-08-26 06:35:48 UTC
Size:
914 bytes
patch
obsolete
>diff -ruN samba-3.0.25c.orig/source/python/py_smb.c samba-3.0.25c/source/python/py_smb.c >--- samba-3.0.25c.orig/source/python/py_smb.c 2007-03-01 05:53:57.000000000 +0100 >+++ samba-3.0.25c/source/python/py_smb.c 2007-08-26 13:32:11.000000000 +0200 >@@ -39,6 +39,7 @@ > struct cli_state *cli; > char *server; > struct in_addr ip; >+ NTSTATUS status; > > if (!PyArg_ParseTupleAndKeywords(args, kw, "s", kwlist, &server)) > return NULL; >@@ -48,7 +49,8 @@ > > ZERO_STRUCT(ip); > >- if (!cli_connect(cli, server, &ip)) >+ status = cli_connect(cli, server, &ip); >+ if (!NT_STATUS_IS_OK(status)) > return NULL; > > return new_cli_state_object(cli); >@@ -59,7 +61,7 @@ > { > cli_state_object *cli = (cli_state_object *)self; > static char *kwlist[] = { "called", "calling", NULL }; >- char *calling_name = NULL, *called_name; >+ const char *calling_name = NULL, *called_name; > struct nmb_name calling, called; > BOOL result; >
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
Actions:
View
Attachments on
bug 4835
: 2888