From 9d8819b3071723ed82babf5e28bb67824e3ed86b Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 5 Apr 2020 12:31:24 +0200 Subject: [PATCH] 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 --- source3/client/client.c | 4 ---- 1 file changed, 4 deletions(-) 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; } -- 2.47.3