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 | 0f1eee5c7ac4031cd2a97524b1f65a24d0d618c2 (patch) | |
tree | 5213fb9aa9cb2a4ae1ea9ee288a5a8f2eabd8998 /source3/client | |
parent | 66018871c7eb1fedcdf8829b53038b6b484db6a3 (diff) | |
download | samba-0f1eee5c7ac4031cd2a97524b1f65a24d0d618c2.tar.gz samba-0f1eee5c7ac4031cd2a97524b1f65a24d0d618c2.tar.bz2 samba-0f1eee5c7ac4031cd2a97524b1f65a24d0d618c2.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.
(This used to be commit 9f6ad046761adecafba59040baa3abc9f0959e65)
Diffstat (limited to 'source3/client')
-rw-r--r-- | source3/client/client.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/source3/client/client.c b/source3/client/client.c index 6beff70c9b..ea029d4df7 100644 --- a/source3/client/client.c +++ b/source3/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); } /**************************************************************************** |