diff options
Diffstat (limited to 'source/client/smbmount.c')
-rw-r--r-- | source/client/smbmount.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/client/smbmount.c b/source/client/smbmount.c index 805245b634b..b1462dbddf1 100644 --- a/source/client/smbmount.c +++ b/source/client/smbmount.c @@ -152,7 +152,7 @@ static struct cli_state *do_connection(char *the_service) /* have to open a new connection */ if (!(c=cli_initialise()) || (cli_set_port(c, smb_port) != smb_port) || - !cli_connect(c, server_n, &ip)) { + !NT_STATUS_IS_OK(cli_connect(c, server_n, &ip))) { DEBUG(0,("%d: Connection to %s failed\n", sys_getpid(), server_n)); if (c) { cli_shutdown(c); @@ -669,6 +669,9 @@ static void usage(void) printf("Version %s\n\n",SAMBA_VERSION_STRING); + printf("Please be aware that smbfs is deprecated in favor of " + "cifs\n\n"); + printf( "Options:\n\ username=<arg> SMB username\n\ |