summaryrefslogtreecommitdiffstats
path: root/source/client/client.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2000-02-25 22:25:25 +0000
committerJeremy Allison <jra@samba.org>2000-02-25 22:25:25 +0000
commit9f6ad046761adecafba59040baa3abc9f0959e65 (patch)
tree8601bf8f3668d50dab113b252dd27538caeef6b3 /source/client/client.c
parentb59233b3b61b17e85f5d5b44cc6f2ced9d27b497 (diff)
downloadsamba-9f6ad046761adecafba59040baa3abc9f0959e65.tar.gz
samba-9f6ad046761adecafba59040baa3abc9f0959e65.tar.xz
samba-9f6ad046761adecafba59040baa3abc9f0959e65.zip
client/client.c:
libsmb/clientgen.c: Fixes for Win2k smbclient browsing. Other fixes implement smbpasswd -x user to delete users. Also allows swat to do the same. Jeremy.
Diffstat (limited to 'source/client/client.c')
-rw-r--r--source/client/client.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/source/client/client.c b/source/client/client.c
index 6beff70c9bc..ea029d4df7f 100644
--- a/source/client/client.c
+++ b/source/client/client.c
@@ -1560,10 +1560,15 @@ try and browse available connections on a host
****************************************************************************/
static BOOL browse_host(BOOL sort)
{
+ int ret;
+
printf("\n\tSharename Type Comment\n");
printf("\t--------- ---- -------\n");
- return cli_RNetShareEnum(cli, browse_fn);
+ if((ret = cli_RNetShareEnum(cli, browse_fn)) == -1)
+ printf("Error returning browse list: %s\n", cli_errstr(cli));
+
+ return (ret != -1);
}
/****************************************************************************