From d4562bd74cd219596eb35b22c102834896cdd3ab 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 c90c450..5d70897 100644 --- a/source3/client/client.c +++ b/source3/client/client.c @@ -5303,7 +5303,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