From 01da57ebc9d5434b2d406c1d9405ec958443d78e Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Mon, 24 Nov 2014 16:26:13 +0100 Subject: [PATCH 1/2] s3-smbclient: Return success if we listed the shares. BUG: https://bugzilla.samba.org/show_bug.cgi?id=10960 Signed-off-by: Andreas Schneider Reviewed-by: Jeremy Allison --- source3/client/client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/client/client.c b/source3/client/client.c index ab46cb8..20932cc 100644 --- a/source3/client/client.c +++ b/source3/client/client.c @@ -5307,7 +5307,7 @@ static int do_host_query(const char *query_host) if (cli == NULL) { d_printf("NetBIOS over TCP disabled -- no workgroup available\n"); - return 1; + return 0; } cli_set_timeout(cli, io_timeout*1000); -- 2.1.2