From 42697a38dcf41cf283e6c525e8dcbc3d99789304 Mon Sep 17 00:00:00 2001 From: Uri Simchoni Date: Thu, 22 Sep 2016 16:06:12 +0300 Subject: [PATCH] cliquota: fix param count when setting fs quota BUG: https://bugzilla.samba.org/show_bug.cgi?id=12288 Signed-off-by: Uri Simchoni Reviewed-by: Jeremy Allison (cherry picked from commit dad6c2d5631ab9879dd4cd35231b2e8c8a9e8311) --- source3/libsmb/cliquota.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/libsmb/cliquota.c b/source3/libsmb/cliquota.c index a2c6edd..ce48257 100644 --- a/source3/libsmb/cliquota.c +++ b/source3/libsmb/cliquota.c @@ -451,7 +451,7 @@ NTSTATUS cli_set_fs_quota_info(struct cli_state *cli, int quota_fnum, NULL, -1, /* name, fid */ 0, 0, /* function, flags */ setup, 1, 0, /* setup */ - param, 8, 0, /* param */ + param, 4, 0, /* param */ data, 48, 0, /* data */ NULL, /* recv_flags2 */ NULL, 0, NULL, /* rsetup */ -- 2.5.5