summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2016-12-09 09:26:32 +0100
committerStefan Metzmacher <metze@samba.org>2017-09-04 11:34:29 +0200
commitf82c235484d03e22ad78a79e9cf2f14c8455df56 (patch)
tree308e137954b66c7453cdd81c7c73e0ac66db98f4
parentf14a94b5cd3e9977e8483e8a6ba06f48045edc15 (diff)
downloadsamba-f82c235484d03e22ad78a79e9cf2f14c8455df56.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;
}