File: vfs_default_quota.8

package info (click to toggle)
samba 2%3A3.6.6-6%2Bdeb7u7
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 160,976 kB
  • sloc: ansic: 1,764,536; xml: 114,867; python: 78,119; perl: 27,633; sh: 13,802; makefile: 4,704; asm: 3,281; cpp: 2,281; yacc: 1,949; exp: 1,784; ada: 1,681; pascal: 1,089; cs: 879; awk: 756; lex: 566; csh: 58; sed: 45; php: 6
file content (83 lines) | stat: -rw-r--r-- 2,978 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
'\" t
.\"     Title: vfs_default_quota
.\"    Author: [see the "AUTHOR" section]
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
.\"      Date: 06/22/2012
.\"    Manual: System Administration tools
.\"    Source: Samba 3.6
.\"  Language: English
.\"
.TH "VFS_DEFAULT_QUOTA" "8" "06/22/2012" "Samba 3\&.6" "System Administration tools"
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
vfs_default_quota \- store default quota records for Windows clients
.SH "SYNOPSIS"
.HP \w'\ 'u
vfs objects = default_quota
.SH "DESCRIPTION"
.PP
This VFS module is part of the
\fBsamba\fR(7)
suite\&.
.PP
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\&.
.PP
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\&.
.PP
This module is stackable\&.
.SH "OPTIONS"
.PP
default_quota:uid = UID
.RS 4
UID specifies the user ID of the quota record where the default user quota values are stored\&.
.RE
.PP
default_quota:gid = GID
.RS 4
GID specifies the group ID of the quota record where the default group quota values are stored\&.
.RE
.PP
default_quota:uid nolimit = BOOL
.RS 4
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\&.
.RE
.PP
default_quota:gid nolimit = BOOL
.RS 4
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\&.
.RE
.SH "EXAMPLES"
.PP
Store the default quota record in the quota record for the user with ID 65535 and report that user as having no quota limits:
.sp
.if n \{\
.RS 4
.\}
.nf
        \fI[global]\fR
	\m[blue]\fBvfs objects = default_quota\fR\m[]
	\m[blue]\fBdefault_quota:uid = 65535\fR\m[]
	\m[blue]\fBdefault_quota:uid nolimit = yes\fR\m[]
.fi
.if n \{\
.RE
.\}
.SH "VERSION"
.PP
This man page is correct for version 3\&.0\&.25 of the Samba suite\&.
.SH "AUTHOR"
.PP
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\&.