vfs_default_quota — store default quota records for Windows clients
vfs objects = default_quota
This VFS module is part of the samba(7) suite.
Many common quota implementations only store
quotas for users and groups, but do not store a default quota. The
vfs_default_quota
module allows Samba to store
default quota values which can be examined using the Windows
Explorer interface.
By default, Samba returns NO_LIMIT the default quota and
refuses to update them. vfs_default_quota
maps
the default quota to the quota record of a user. By default the
root user is taken because quota limits for root are typically
not enforced.
This module is stackable.
UID specifies the user ID of the quota record where the default user quota values are stored.
GID specifies the group ID of the quota record where the default group quota values are stored.
If this parameter is True, then the user whose quota record is storing the default user quota will be reported as having a quota of NO_LIMIT. Otherwise, the stored values will be reported.
If this parameter is True, then the group whose quota record is storing the default group quota will be reported as having a quota of NO_LIMIT. Otherwise, the stored values will be reported.
Store the default quota record in the quota record for the user with ID 65535 and report that user as having no quota limits:
[global]
vfs objects = default_quota
default_quota:uid = 65535
default_quota:uid nolimit = yes