mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
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>
This commit is contained in:
parent
7e455e9ed2
commit
dd9155a7ec
@ -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)));
|
||||
|
Loading…
Reference in New Issue
Block a user