summaryrefslogtreecommitdiff
path: root/source3/winbindd/winbindd_cm.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2012-10-22 14:35:41 +0200
committerMichael Adam <obnox@samba.org>2012-11-01 18:11:26 +0100
commit2a3eb641fe34fb95bf713f0e7184581847af1357 (patch)
tree33ede92e474aecc615091c4cae00ed244fcad8c7 /source3/winbindd/winbindd_cm.c
parent45105afffc5678082b23165ff74610d67e57a82a (diff)
downloadsamba-2a3eb641fe34fb95bf713f0e7184581847af1357.tar.gz
samba-2a3eb641fe34fb95bf713f0e7184581847af1357.tar.bz2
samba-2a3eb641fe34fb95bf713f0e7184581847af1357.zip
s3:winbindd: use PROTOCOL_LATEST instead of PROTOCOL_SMB2_02 (bug #9175)
We should use the latest supported dialect. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewd-by: Michael Adam <obnox@samba.org> Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Thu Nov 1 18:11:27 CET 2012 on sn-devel-104
Diffstat (limited to 'source3/winbindd/winbindd_cm.c')
-rw-r--r--source3/winbindd/winbindd_cm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/winbindd/winbindd_cm.c b/source3/winbindd/winbindd_cm.c
index c403b32b20..79b5839d2a 100644
--- a/source3/winbindd/winbindd_cm.c
+++ b/source3/winbindd/winbindd_cm.c
@@ -832,7 +832,7 @@ static NTSTATUS cm_prepare_connection(const struct winbindd_domain *domain,
cli_set_timeout(*cli, 10000); /* 10 seconds */
result = smbXcli_negprot((*cli)->conn, (*cli)->timeout, PROTOCOL_CORE,
- PROTOCOL_SMB2_02);
+ PROTOCOL_LATEST);
if (!NT_STATUS_IS_OK(result)) {
DEBUG(1, ("cli_negprot failed: %s\n", nt_errstr(result)));