]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
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)
committerStefan Metzmacher <metze@samba.org>
Mon, 4 Sep 2017 09:34:29 +0000 (11:34 +0200)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12997

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

index 0c5d7e94841ee98be438c542992a66f4222620b9..97aa39ebce9ab9b28e3f6d457f71b3a25098ac79 100644 (file)
@@ -447,7 +447,7 @@ static int py_cli_state_init(struct py_cli_state *self, PyObject *args,
                cli_credentials_get_username(cli_creds),
                cli_credentials_get_domain(cli_creds),
                cli_credentials_get_password(cli_creds),
-               0, 0);
+               0, SMB_SIGNING_DEFAULT);
        if (!py_tevent_req_wait_exc(self->ev, req)) {
                return -1;
        }