Fetching user/group quota on FreeBSD (and any other system that uses the sysquotas_4B interface EXCEPT Darwin), is broken. It always shows as if the user/group has no quota limits assigned to it. This affects both utilities such as smbcquotas and other clients which directly attempt to show quotas, but more importantly affects the free-disk reporting, which is used by some clients (such as Windows Explorer) to avoid trying to copy files if it's known that there's no room. One way to reproduce is to set a user quota smaller than disk size, list files in a folder using smbclient and see that the reported disk size is not the quota.
Created attachment 12130 [details] git-am fix for 4.4.next and 4.3.next
Comment on attachment 12130 [details] git-am fix for 4.4.next and 4.3.next LGTM.
Re-assigning to Karolin for inclusion in 4.4.next, 4.3.next.
(In reply to Jeremy Allison from comment #3) Pushed to autobuild-v4-[3|4]-test.
(In reply to Karolin Seeger from comment #4) Pushed to both branches. Closing out bug report. Thanks!