diff options
author | Jeremy Allison <jra@samba.org> | 2000-02-25 22:25:25 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2000-02-25 22:25:25 +0000 |
commit | 9f6ad046761adecafba59040baa3abc9f0959e65 (patch) | |
tree | 8601bf8f3668d50dab113b252dd27538caeef6b3 /source/client/client.c | |
parent | b59233b3b61b17e85f5d5b44cc6f2ced9d27b497 (diff) | |
download | samba-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.c | 7 |
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); } /**************************************************************************** |