git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cfd0a8a
)
smbclient: Simplify browse_host()
author
Volker Lendecke
<vl@samba.org>
Sun, 5 Apr 2020 10:31:24 +0000
(12:31 +0200)
committer
Ralph 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
patch
|
blob
|
history
diff --git
a/source3/client/client.c
b/source3/client/client.c
index 09456483c9524735d63217200e3d4a981ae0dc60..f2cb3c8a3374679ce2d424ec520f1c1e37ac44e5 100644
(file)
--- 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;
}