From: Volker Lendecke Date: Sun, 5 Apr 2020 10:31:24 +0000 (+0200) Subject: smbclient: Simplify browse_host() X-Git-Tag: ldb-2.2.0~942 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9d8819b3071723ed82babf5e28bb67824e3ed86b;p=thirdparty%2Fsamba.git smbclient: Simplify browse_host() We now have the check of the real connection's prootocol, so the smb.conf's "client min protocol" does not really matter here Signed-off-by: Volker Lendecke Reviewed-by: Ralph Boehme --- diff --git a/source3/client/client.c b/source3/client/client.c index 09456483c95..f2cb3c8a337 100644 --- a/source3/client/client.c +++ b/source3/client/client.c @@ -4915,10 +4915,6 @@ static bool browse_host(bool sort) return true; } - if (lp_client_min_protocol() > PROTOCOL_NT1) { - return false; - } - if (smbXcli_conn_protocol(cli->conn) > PROTOCOL_NT1) { return false; }