summaryrefslogtreecommitdiffstats
path: root/source3/libsmb/cliquota.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-09-17 15:09:20 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:52:42 -0500
commit10e4a96b5399a7ecbc893d2493a9ceb3ec66c8ed (patch)
treedb8ea6878aaac35edc2e18fb8b29bccbd48d212a /source3/libsmb/cliquota.c
parent82110e77da8c67a2806d2baa7486c9a9b7cc9781 (diff)
downloadsamba-10e4a96b5399a7ecbc893d2493a9ceb3ec66c8ed.tar.gz
samba-10e4a96b5399a7ecbc893d2493a9ceb3ec66c8ed.tar.xz
samba-10e4a96b5399a7ecbc893d2493a9ceb3ec66c8ed.zip
r2388: fix client quota support
for the client we need the windows path and for server we need unix path metze (This used to be commit 54fd28f5e7b70ce2b192c2037ce28da3fea9ef92)
Diffstat (limited to 'source3/libsmb/cliquota.c')
-rw-r--r--source3/libsmb/cliquota.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libsmb/cliquota.c b/source3/libsmb/cliquota.c
index ed808aa1f5c..af8b4422b78 100644
--- a/source3/libsmb/cliquota.c
+++ b/source3/libsmb/cliquota.c
@@ -22,13 +22,13 @@
BOOL cli_get_quota_handle(struct cli_state *cli, int *quota_fnum)
{
- *quota_fnum = cli_nt_create_full(cli, FAKE_FILE_NAME_QUOTA,
+ *quota_fnum = cli_nt_create_full(cli, FAKE_FILE_NAME_QUOTA_WIN32,
0x00000016, DESIRED_ACCESS_PIPE,
0x00000000, FILE_SHARE_READ|FILE_SHARE_WRITE,
FILE_OPEN, 0x00000000, 0x03);
if (*quota_fnum == (-1)) {
- return False;
+ return False;
}
return True;