1 <?xml version="1.0" encoding="iso-8859-1"?>
2 <!DOCTYPE refentry PUBLIC "-//Samba-Team//DTD DocBook V4.2-Based Variant V1.0//EN" "http://www.samba.org/samba/DTD/samba-doc">
3 <refentry id="vfs_default_quota.8">
6 <refentrytitle>vfs_default_quota</refentrytitle>
7 <manvolnum>8</manvolnum>
8 <refmiscinfo class="source">Samba</refmiscinfo>
9 <refmiscinfo class="manual">System Administration tools</refmiscinfo>
10 <refmiscinfo class="version">3.6</refmiscinfo>
15 <refname>vfs_default_quota</refname>
16 <refpurpose>store default quota records for Windows clients</refpurpose>
21 <command>vfs objects = default_quota</command>
26 <title>DESCRIPTION</title>
28 <para>This VFS module is part of the
29 <citerefentry><refentrytitle>samba</refentrytitle>
30 <manvolnum>7</manvolnum></citerefentry>
33 <para>Many common quota implementations only store
34 quotas for users and groups, but do not store a default quota. The
35 <command>vfs_default_quota</command> module allows Samba to store
36 default quota values which can be examined using the Windows
40 <para>By default, Samba returns NO_LIMIT the default quota and
41 refuses to update them. <command>vfs_default_quota</command> maps
42 the default quota to the quota record of a user. By default the
43 root user is taken because quota limits for root are typically
46 <para>This module is stackable.</para>
52 <title>OPTIONS</title>
57 <term>default_quota:uid = UID</term>
59 <para>UID specifies the user ID of the quota record where the
60 default user quota values are stored.
67 <term>default_quota:gid = GID</term>
69 <para>GID specifies the group ID of the quota record where the
70 default group quota values are stored.
77 <term>default_quota:uid nolimit = BOOL</term>
79 <para>If this parameter is True, then the user whose
80 quota record is storing the default user quota will
81 be reported as having a quota of NO_LIMIT. Otherwise,
82 the stored values will be reported.
89 <term>default_quota:gid nolimit = BOOL</term>
91 <para>If this parameter is True, then the group whose
92 quota record is storing the default group quota will
93 be reported as having a quota of NO_LIMIT. Otherwise,
94 the stored values will be reported.
104 <title>EXAMPLES</title>
106 <para>Store the default quota record in the quota record for
107 the user with ID 65535 and report that user as having no quota
111 <smbconfsection name="[global]"/>
112 <smbconfoption name="vfs objects">default_quota</smbconfoption>
113 <smbconfoption name="default_quota:uid">65535</smbconfoption>
114 <smbconfoption name="default_quota:uid nolimit">yes</smbconfoption>
120 <title>VERSION</title>
122 <para>This man page is correct for version 3.0.25 of the Samba suite.
127 <title>AUTHOR</title>
129 <para>The original Samba software and related utilities
130 were created by Andrew Tridgell. Samba is now developed
131 by the Samba Team as an Open Source project similar
132 to the way the Linux kernel is developed.</para>