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>
12 <refname>vfs_default_quota</refname>
13 <refpurpose>store default quota records for Windows clients</refpurpose>
18 <command>vfs objects = default_quota</command>
23 <title>DESCRIPTION</title>
25 <para>This VFS module is part of the
26 <citerefentry><refentrytitle>samba</refentrytitle>
27 <manvolnum>7</manvolnum></citerefentry>
30 <para>Many common quota implementations only store
31 quotas for users and groups, but do not store a default quota. The
32 <command>vfs_default_quota</command> module allows Samba to store
33 default quota values which can be examined using the Windows
37 <para>By default, Samba returns NO_LIMIT the default quota and
38 refuses to update them. <command>vfs_default_quota</command> maps
39 the default quota to the quota record of a user. By default the
40 root user is taken because quota limits for root are typically
43 <para>This module is stackable.</para>
49 <title>OPTIONS</title>
54 <term>default_quota:uid = UID</term>
56 <para>UID specifies the user ID of the quota record where the
57 default user quota values are stored.
64 <term>default_quota:gid = GID</term>
66 <para>GID specifies the group ID of the quota record where the
67 default group quota values are stored.
74 <term>default_quota:uid nolimit = BOOL</term>
76 <para>If this parameter is True, then the user whose
77 quota record is storing the default user quota will
78 be reported as having a quota of NO_LIMIT. Otherwise,
79 the stored values will be reported.
86 <term>default_quota:gid nolimit = BOOL</term>
88 <para>If this parameter is True, then the group whose
89 quota record is storing the default group quota will
90 be reported as having a quota of NO_LIMIT. Otherwise,
91 the stored values will be reported.
101 <title>EXAMPLES</title>
103 <para>Store the default quota record in the quota record for
104 the user with ID 65535 and report that user as having no quota
108 <smbconfsection name="[global]"/>
109 <smbconfoption name="vfs objects">default_quota</smbconfoption>
110 <smbconfoption name="default_quota:uid">65535</smbconfoption>
111 <smbconfoption name="default_quota:uid nolimit">yes</smbconfoption>
117 <title>VERSION</title>
119 <para>This man page is correct for version 3.0.25 of the Samba suite.
124 <title>AUTHOR</title>
126 <para>The original Samba software and related utilities
127 were created by Andrew Tridgell. Samba is now developed
128 by the Samba Team as an Open Source project similar
129 to the way the Linux kernel is developed.</para>