diff options
author | Stefan Metzmacher <metze@samba.org> | 2004-09-17 15:09:20 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:52:42 -0500 |
commit | 54fd28f5e7b70ce2b192c2037ce28da3fea9ef92 (patch) | |
tree | 04960dbbfc7c265686f94c452aa958a9812a900d /source/utils/smbcquotas.c | |
parent | 639cb4ced6b6c08b0665890c815f2e1361e7879f (diff) | |
download | samba-54fd28f5e7b70ce2b192c2037ce28da3fea9ef92.tar.gz samba-54fd28f5e7b70ce2b192c2037ce28da3fea9ef92.tar.xz samba-54fd28f5e7b70ce2b192c2037ce28da3fea9ef92.zip |
r2388: fix client quota support
for the client we need the windows path and for server we need unix path
metze
Diffstat (limited to 'source/utils/smbcquotas.c')
-rw-r--r-- | source/utils/smbcquotas.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/utils/smbcquotas.c b/source/utils/smbcquotas.c index 98d214706ad..81f7dd42bbc 100644 --- a/source/utils/smbcquotas.c +++ b/source/utils/smbcquotas.c @@ -236,8 +236,9 @@ static int do_quota(struct cli_state *cli, enum SMB_QUOTA_TYPE qtype, uint16 cmd } if (!cli_get_quota_handle(cli, "a_fnum)) { - d_printf("Failed to open \\%s %s.\n", - FAKE_FILE_NAME_QUOTA,cli_errstr(cli)); + d_printf("Quotas are not enabled on this share.\n"); + d_printf("Failed to open %s %s.\n", + FAKE_FILE_NAME_QUOTA_WIN32,cli_errstr(cli)); return -1; } |