| 1 | '\" t
|
|---|
| 2 | .\" Title: vfs_default_quota
|
|---|
| 3 | .\" Author: [see the "AUTHOR" section]
|
|---|
| 4 | .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
|
|---|
| 5 | .\" Date: 03/06/2011
|
|---|
| 6 | .\" Manual: System Administration tools
|
|---|
| 7 | .\" Source: Samba 3.5
|
|---|
| 8 | .\" Language: English
|
|---|
| 9 | .\"
|
|---|
| 10 | .TH "VFS_DEFAULT_QUOTA" "8" "03/06/2011" "Samba 3\&.5" "System Administration tools"
|
|---|
| 11 | .\" -----------------------------------------------------------------
|
|---|
| 12 | .\" * set default formatting
|
|---|
| 13 | .\" -----------------------------------------------------------------
|
|---|
| 14 | .\" disable hyphenation
|
|---|
| 15 | .nh
|
|---|
| 16 | .\" disable justification (adjust text to left margin only)
|
|---|
| 17 | .ad l
|
|---|
| 18 | .\" -----------------------------------------------------------------
|
|---|
| 19 | .\" * MAIN CONTENT STARTS HERE *
|
|---|
| 20 | .\" -----------------------------------------------------------------
|
|---|
| 21 | .SH "NAME"
|
|---|
| 22 | vfs_default_quota \- store default quota records for Windows clients
|
|---|
| 23 | .SH "SYNOPSIS"
|
|---|
| 24 | .HP \w'\ 'u
|
|---|
| 25 | vfs objects = default_quota
|
|---|
| 26 | .SH "DESCRIPTION"
|
|---|
| 27 | .PP
|
|---|
| 28 | This VFS module is part of the
|
|---|
| 29 | \fBsamba\fR(7)
|
|---|
| 30 | suite\&.
|
|---|
| 31 | .PP
|
|---|
| 32 | Many common quota implementations only store quotas for users and groups, but do not store a default quota\&. The
|
|---|
| 33 | vfs_default_quota
|
|---|
| 34 | module allows Samba to store default quota values which can be examined using the Windows Explorer interface\&.
|
|---|
| 35 | .PP
|
|---|
| 36 | By default, Samba returns NO_LIMIT the default quota and refuses to update them\&.
|
|---|
| 37 | vfs_default_quota
|
|---|
| 38 | 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\&.
|
|---|
| 39 | .PP
|
|---|
| 40 | This module is stackable\&.
|
|---|
| 41 | .SH "OPTIONS"
|
|---|
| 42 | .PP
|
|---|
| 43 | default_quota:uid = UID
|
|---|
| 44 | .RS 4
|
|---|
| 45 | UID specifies the user ID of the quota record where the default user quota values are stored\&.
|
|---|
| 46 | .RE
|
|---|
| 47 | .PP
|
|---|
| 48 | default_quota:gid = GID
|
|---|
| 49 | .RS 4
|
|---|
| 50 | GID specifies the group ID of the quota record where the default group quota values are stored\&.
|
|---|
| 51 | .RE
|
|---|
| 52 | .PP
|
|---|
| 53 | default_quota:uid nolimit = BOOL
|
|---|
| 54 | .RS 4
|
|---|
| 55 | 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\&.
|
|---|
| 56 | .RE
|
|---|
| 57 | .PP
|
|---|
| 58 | default_quota:gid nolimit = BOOL
|
|---|
| 59 | .RS 4
|
|---|
| 60 | 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\&.
|
|---|
| 61 | .RE
|
|---|
| 62 | .SH "EXAMPLES"
|
|---|
| 63 | .PP
|
|---|
| 64 | Store the default quota record in the quota record for the user with ID 65535 and report that user as having no quota limits:
|
|---|
| 65 | .sp
|
|---|
| 66 | .if n \{\
|
|---|
| 67 | .RS 4
|
|---|
| 68 | .\}
|
|---|
| 69 | .nf
|
|---|
| 70 | \fI[global]\fR
|
|---|
| 71 | \m[blue]\fBvfs objects = default_quota\fR\m[]
|
|---|
| 72 | \m[blue]\fBdefault_quota:uid = 65535\fR\m[]
|
|---|
| 73 | \m[blue]\fBdefault_quota:uid nolimit = yes\fR\m[]
|
|---|
| 74 | .fi
|
|---|
| 75 | .if n \{\
|
|---|
| 76 | .RE
|
|---|
| 77 | .\}
|
|---|
| 78 | .SH "VERSION"
|
|---|
| 79 | .PP
|
|---|
| 80 | This man page is correct for version 3\&.0\&.25 of the Samba suite\&.
|
|---|
| 81 | .SH "AUTHOR"
|
|---|
| 82 | .PP
|
|---|
| 83 | 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\&.
|
|---|