summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2016-12-09 09:26:32 +0100
committerKarolin Seeger <kseeger@samba.org>2017-09-13 09:19:48 -0700
commit26b87d01b015c83a4670db62839f5c84b6e66478 (patch)
tree8f5d11136178b2afeccf13074ca0d279376652f1
parent428ede3dd3bbf3bba86ca1b321bedfcc9aebba79 (diff)
downloadsamba-26b87d01b015c83a4670db62839f5c84b6e66478.tar.gz
CVE-2017-12150: s3:pylibsmb: make use of SMB_SIGNING_DEFAULT for 'samba.samba3.libsmb_samba_internal'
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12997 Signed-off-by: Stefan Metzmacher <metze@samba.org>
-rw-r--r--source3/libsmb/pylibsmb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/pylibsmb.c b/source3/libsmb/pylibsmb.c
index 0c5d7e94841..97aa39ebce9 100644
--- a/source3/libsmb/pylibsmb.c
+++ b/source3/libsmb/pylibsmb.c
@@ -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;
}