The branch, v3-2-test has been updated via 759d6bcbec07434667ab8dd9a09f37fbe243c208 (commit) from 144014096a41de293ce7ec15f82681a469dd3aa1 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test - Log ----------------------------------------------------------------- commit 759d6bcbec07434667ab8dd9a09f37fbe243c208 Author: Karolin Seeger <[EMAIL PROTECTED]> Date: Mon Oct 22 13:10:55 2007 +0200 Add error message to net rap file and net rap file user ----------------------------------------------------------------------- Summary of changes: source/utils/net_rap.c | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) Changeset truncated at 500 lines: diff --git a/source/utils/net_rap.c b/source/utils/net_rap.c index b4de374..3e53eb9 100644 --- a/source/utils/net_rap.c +++ b/source/utils/net_rap.c @@ -123,6 +123,10 @@ static int rap_file_user(int argc, const char **argv) "\nFileId Opened by Perms Locks Path \n" "------ --------- ----- ----- ---- \n"); ret = cli_NetFileEnum(cli, argv[0], NULL, file_fn); + + if (ret == -1) + d_printf("\nOperation not supported by server!\n\n"); + cli_shutdown(cli); return ret; } @@ -149,6 +153,10 @@ int net_rap_file(int argc, const char **argv) "\nFileId Opened by Perms Locks Path \n" "------ --------- ----- ----- ---- \n"); ret = cli_NetFileEnum(cli, NULL, NULL, file_fn); + + if (ret == -1) + d_printf("\nOperation not supported by server!\n\n"); + cli_shutdown(cli); return ret; } -- Samba Shared Repository