[PATCHES]smbd: dfree quota principal parameter

Uri Simchoni uri at samba.org
Sun Feb 14 19:48:18 UTC 2016


Ping....
(beside the added parameter which can be liked or disliked, the first 
two parts of the patch set are a small cleanup, and a "pass smb_fname 
further down" patch which serves current char*->smb_fname effort).

On 01/28/2016 12:38 PM, Uri Simchoni wrote:
> Hi,
> Following patch is meant to increase the usability of the "inherit
> owner" parameter in a system where user quotas are being enforced.
>
> Some client applications (such as Windows Explorer and Notepad) would
> not attempt to create a file if there isn't enough free disk space. The
> free space is reported based on file system free space and user quota.
> However, for shares with "inherit owner", the file is eventually owned
> by a different user, so the quota enforcement is that of the folder's
> owner, not that of the logged-on user.
>
> A new parameter "dfree quota principal" allows for calculating the quota
> based on directory owner.
>
> Also sneaked into this patch set is a small unrelated cleanup.
>
> Review appreciated.
> Thanks,
> Uri.
>




More information about the samba-technical mailing list