smbclient: Simplify browse_host()
authorVolker Lendecke <vl@samba.org>
Sun, 5 Apr 2020 10:31:24 +0000 (12:31 +0200)
committerRalph Boehme <slow@samba.org>
Wed, 8 Apr 2020 14:46:40 +0000 (14:46 +0000)
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 <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/client/client.c

index 09456483c9524735d63217200e3d4a981ae0dc60..f2cb3c8a3374679ce2d424ec520f1c1e37ac44e5 100644 (file)
@@ -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;
        }