summaryrefslogtreecommitdiff
path: root/source3/winbindd
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-09-13 14:33:31 +0200
committerStefan Metzmacher <metze@samba.org>2011-09-15 10:25:17 +0200
commit3f00cce9b3502c8ec9b3f7fcf5b2024c10550f82 (patch)
treea0ea277fecceb874d1a77b459ccb0a833945b8d9 /source3/winbindd
parent4f7be46d99b68040c3b42f3a4662fccd777012a3 (diff)
downloadsamba-3f00cce9b3502c8ec9b3f7fcf5b2024c10550f82.tar.gz
samba-3f00cce9b3502c8ec9b3f7fcf5b2024c10550f82.tar.bz2
samba-3f00cce9b3502c8ec9b3f7fcf5b2024c10550f82.zip
s3:libsmb: pass max_protocol to cli_negprot()
metze
Diffstat (limited to 'source3/winbindd')
-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 b631ab69a9..33c4deed08 100644
--- a/source3/winbindd/winbindd_cm.c
+++ b/source3/winbindd/winbindd_cm.c
@@ -821,7 +821,7 @@ static NTSTATUS cm_prepare_connection(const struct winbindd_domain *domain,
cli_set_timeout(*cli, 10000); /* 10 seconds */
- result = cli_negprot(*cli);
+ result = cli_negprot(*cli, PROTOCOL_NT1);
if (!NT_STATUS_IS_OK(result)) {
DEBUG(1, ("cli_negprot failed: %s\n", nt_errstr(result)));