SMB2_GETINFO_QUOTA & SMB2_SETINFO_QUOTA are not supported in samba server. This means modern installation (where SMB1 is disabled) can't handle quotas at all. Attempting to use smbcquotas for example (where smb2 is default) results in smbcquotas -Uroot%$password -L //$machine/$quotashare NT_STATUS_NOT_SUPPORTED cli_list_user_quota
Created attachment 14381 [details] backport of patch to 4.8
Created attachment 14382 [details] backport of patch to 4.9
Noel, you need to request Team engineer review (assign to jra@samba.org with a '?' request) to get these into 4.8.next, 4.9.next. Just trying to help :-).
(In reply to Jeremy Allison from comment #3) Noel, I've raised the flags for you. Let the bugzilla admins know if you can't raise flags, I've had some trouble with new team members before, but never got to the bottom of it,
Comment on attachment 14381 [details] backport of patch to 4.8 Patch doesn't apply to current 4.8.x. Noel, can you take a look please ?
Created attachment 14398 [details] backport of patch to 4.8
(In reply to Jeremy Allison from comment #5) Sorry Jeremy, I don't know how I managed that 'cause I still have the 4.8.3 branch and I just regenerated the patch again. I guess I somehow generated from the wrong place or branch. We should hold off on backporting 4.8 & 4.9 just yet (e.g. assigning to Karolin). There is a message on the list indicating a problem when quota support is not detected (the list also mentions that quota detection doesn't appear to work for AIX - a separate but different issue) I need to have a look into these and we need at least to be able to handle 'no quota support' properly before backporting. I will open a separate bug/bugs for these problems
Re-assigning to Karolin for inclusion in 4.9.next, 4.8.next. Noel, you might want to look at Volker's cleanups also.
(In reply to Jeremy Allison from comment #8) Pushed to autobuild-v4-{9,8}-test.
reopening (actually putting back to new) to reflect some outstanding issues
Created attachment 14409 [details] backport of additional patches to 4.8 Backport of additional patches from Volker relating to CID fixes for code introduced by this bug.
Created attachment 14410 [details] backport of additional patches to 4.9 Backport of additional patches from Volker relating to CID fixes for code introduced by this bug.
Created attachment 14411 [details] backport of additional patches to 4.8 (with BUG tag)
Created attachment 14412 [details] backport of additional patches to 4.9 (with BUG tag)
Jeremy I also have attached versions of the backported fixes with the BUG tag (for this bug) wasn't sure whether to do that or not, let me know and I will obsolete the uncessary versions (with/without BUG tag)
Re-assigning to Karolin. Karolin, can you include the "backport of additional patches to 4.X" fixes to 4.8.next, 4.9.next to complete the bugfix ? Thanks, Jeremy.
(In reply to Jeremy Allison from comment #16) Pushed additional backports to autobuild-v4-{8,9}-test.
(In reply to Karolin Seeger from comment #17) Pushed to both branches. Closing out bug report. Thanks!
Created attachment 14474 [details] Rollup patch for 4.7 Just in case it is useful for someone this patch is a backport rollup of the quota patches, the additional CID fixes and the related patch from issue #13563 for 4.7
*** Bug 11819 has been marked as a duplicate of this bug. ***