diff options
author | Stefan Metzmacher <metze@samba.org> | 2013-08-11 13:48:31 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2013-08-15 09:07:05 +0200 |
commit | dd9155a7ec7f1989cb18e79907d0fa1c9ee845a4 (patch) | |
tree | 1672b41edc535447074d3da123b13f91cbbf7521 /source3 | |
parent | 7e455e9ed2b298df6b735a89abdd75564375ef34 (diff) | |
download | samba-dd9155a7ec7f1989cb18e79907d0fa1c9ee845a4.tar.gz samba-dd9155a7ec7f1989cb18e79907d0fa1c9ee845a4.tar.bz2 samba-dd9155a7ec7f1989cb18e79907d0fa1c9ee845a4.zip |
s3:winbindd: make use of lp_cli_{min,max}protocol()
This changes winbindd back to use NT1 as defeault.
https://bugzilla.samba.org/show_bug.cgi?id=9514
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3')
-rw-r--r-- | source3/winbindd/winbindd_cm.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/winbindd/winbindd_cm.c b/source3/winbindd/winbindd_cm.c index 340cf8520a..4de9166363 100644 --- a/source3/winbindd/winbindd_cm.c +++ b/source3/winbindd/winbindd_cm.c @@ -841,8 +841,9 @@ 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_LATEST); + result = smbXcli_negprot((*cli)->conn, (*cli)->timeout, + lp_cli_minprotocol(), + lp_cli_maxprotocol()); if (!NT_STATUS_IS_OK(result)) { DEBUG(1, ("cli_negprot failed: %s\n", nt_errstr(result))); |