| 1 |
'\" t |
| 2 |
.\" Title: vfs_default_quota |
| 3 |
.\" Author: [see the "AUTHOR" section] |
| 4 |
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/> |
| 5 |
.\" Date: 05/26/2026 |
| 6 |
.\" Manual: System Administration tools |
| 7 |
.\" Source: Samba 4.23.8-git.477.f78166bceedSUSE-oS16.9-x86_64 |
| 8 |
.\" Language: English |
| 9 |
.\" |
| 10 |
.TH "VFS_DEFAULT_QUOTA" "8" "05/26/2026" "Samba 4\&.23\&.8\-git\&.477\&.f78166bcee" "System Administration tools" |
| 11 |
.\" ----------------------------------------------------------------- |
| 12 |
.\" * Define some portability stuff |
| 13 |
.\" ----------------------------------------------------------------- |
| 14 |
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 15 |
.\" http://bugs.debian.org/507673 |
| 16 |
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html |
| 17 |
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 18 |
.ie \n(.g .ds Aq \(aq |
| 19 |
.el .ds Aq ' |
| 20 |
.\" ----------------------------------------------------------------- |
| 21 |
.\" * set default formatting |
| 22 |
.\" ----------------------------------------------------------------- |
| 23 |
.\" disable hyphenation |
| 24 |
.nh |
| 25 |
.\" disable justification (adjust text to left margin only) |
| 26 |
.ad l |
| 27 |
.\" ----------------------------------------------------------------- |
| 28 |
.\" * MAIN CONTENT STARTS HERE * |
| 29 |
.\" ----------------------------------------------------------------- |
| 30 |
.SH "NAME" |
| 31 |
vfs_default_quota \- store default quota records for Windows clients |
| 32 |
.SH "SYNOPSIS" |
| 33 |
.HP \w'\ 'u |
| 34 |
vfs objects = default_quota |
| 35 |
.SH "DESCRIPTION" |
| 36 |
.PP |
| 37 |
This VFS module is part of the |
| 38 |
\fBsamba\fR(7) |
| 39 |
suite\&. |
| 40 |
.PP |
| 41 |
Many common quota implementations only store quotas for users and groups, but do not store a default quota\&. The |
| 42 |
vfs_default_quota |
| 43 |
module allows Samba to store default quota values which can be examined using the Windows Explorer interface\&. |
| 44 |
.PP |
| 45 |
By default, Samba returns NO_LIMIT the default quota and refuses to update them\&. |
| 46 |
vfs_default_quota |
| 47 |
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\&. |
| 48 |
.PP |
| 49 |
This module is stackable\&. |
| 50 |
.SH "OPTIONS" |
| 51 |
.PP |
| 52 |
default_quota:uid = UID |
| 53 |
.RS 4 |
| 54 |
UID specifies the user ID of the quota record where the default user quota values are stored\&. |
| 55 |
.RE |
| 56 |
.PP |
| 57 |
default_quota:gid = GID |
| 58 |
.RS 4 |
| 59 |
GID specifies the group ID of the quota record where the default group quota values are stored\&. |
| 60 |
.RE |
| 61 |
.PP |
| 62 |
default_quota:uid nolimit = BOOL |
| 63 |
.RS 4 |
| 64 |
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\&. |
| 65 |
.RE |
| 66 |
.PP |
| 67 |
default_quota:gid nolimit = BOOL |
| 68 |
.RS 4 |
| 69 |
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\&. |
| 70 |
.RE |
| 71 |
.SH "EXAMPLES" |
| 72 |
.PP |
| 73 |
Store the default quota record in the quota record for the user with ID 65535 and report that user as having no quota limits: |
| 74 |
.sp |
| 75 |
.if n \{\ |
| 76 |
.RS 4 |
| 77 |
.\} |
| 78 |
.nf |
| 79 |
\fI[global]\fR |
| 80 |
\m[blue]\fBvfs objects = default_quota\fR\m[] |
| 81 |
\m[blue]\fBdefault_quota:uid = 65535\fR\m[] |
| 82 |
\m[blue]\fBdefault_quota:uid nolimit = yes\fR\m[] |
| 83 |
.fi |
| 84 |
.if n \{\ |
| 85 |
.RE |
| 86 |
.\} |
| 87 |
.SH "VERSION" |
| 88 |
.PP |
| 89 |
This man page is part of version 4\&.23\&.8\-git\&.477\&.f78166bceedSUSE\-oS16\&.9\-x86_64 of the Samba suite\&. |
| 90 |
.SH "AUTHOR" |
| 91 |
.PP |
| 92 |
The original Samba software and related utilities were created by Andrew Tridgell\&. Samba is now developed by the Samba Team as an Open Source project similar to the way the Linux kernel is developed\&. |