The branch, master has been updated via 1f047831c16 s3:utils: Use better error message for smbtree from 155348cda65 libcli/smb: allow unexpected padding in SMB2 READ responses
https://git.samba.org/?p=samba.git;a=shortlog;h=master - Log ----------------------------------------------------------------- commit 1f047831c1685542740f21dcc47596e32bb63e22 Author: Andreas Schneider <a...@samba.org> Date: Wed Jul 14 11:38:39 2021 +0200 s3:utils: Use better error message for smbtree Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Jeremy Allison <j...@samba.org> Autobuild-User(master): Jeremy Allison <j...@samba.org> Autobuild-Date(master): Fri Jul 16 03:45:19 UTC 2021 on sn-devel-184 ----------------------------------------------------------------------- Summary of changes: source3/utils/smbtree.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) Changeset truncated at 500 lines: diff --git a/source3/utils/smbtree.c b/source3/utils/smbtree.c index 87ced242565..6e38b6eb5f2 100644 --- a/source3/utils/smbtree.c +++ b/source3/utils/smbtree.c @@ -161,7 +161,14 @@ int main(int argc, char *argv[]) workgroups = smbc_getFunctionOpendir(ctx)(ctx, "smb://"); if (workgroups == NULL) { - perror("smbc_opendir"); + DBG_ERR("This is utility doesn't work if netbios name " + "resolution is not configured.\n" + "If you are using SMB2 or SMB3, network browsing uses " + "WSD/LLMNR, which is not yet supported by Samba. SMB1 " + "is disabled by default on the latest Windows versions " + "for security reasons. It is still possible to access " + "the Samba resources directly via \\name or " + "\\ip.address.\n"); goto fail; } -- Samba Shared Repository