CVE-2017-12150: s3:pylibsmb: make use of SMB_SIGNING_DEFAULT for 'samba.samba3.libsmb...
authorStefan Metzmacher <metze@samba.org>
Fri, 9 Dec 2016 08:26:32 +0000 (09:26 +0100)
committerKarolin Seeger <kseeger@samba.org>
Wed, 20 Sep 2017 11:04:10 +0000 (13:04 +0200)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12997

Signed-off-by: Stefan Metzmacher <metze@samba.org>
source3/libsmb/pylibsmb.c

index 39afdc8a9526fc8db02eb463bb43e819cda30b02..d2167e917d6b0147185d6f91727589688e684c98 100644 (file)
@@ -451,7 +451,7 @@ static int py_cli_state_init(struct py_cli_state *self, PyObject *args,
 
        req = cli_full_connection_creds_send(
                NULL, self->ev, "myname", host, NULL, 0, share, "?????",
-               cli_creds, flags, 0);
+               cli_creds, flags, SMB_SIGNING_DEFAULT);
        if (!py_tevent_req_wait_exc(self->ev, req)) {
                return -1;
        }