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="smb-vfs-default_quota.8">
6 <refentrytitle>smb-vfs-default_quota</refentrytitle>
7 <manvolnum>8</manvolnum>
12 <refname>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 module is part of the
26 <citerefentry><refentrytitle>samba</refentrytitle><manvolnum>7</manvolnum></citerefentry>
29 <para>Many common quota implementations only store
30 quotas for users and groups, but do not store a default quota. The
31 <command>default_quota</command> module allows Samba to store
32 default quota values which can be examined using the Windows
36 <para>By default, Samba returns NO_LIMIT the default quota and
37 refuses to update them. <command>default_quota</command> maps
38 the default quota to the quota record of a user. By default the
39 root user is taken because quota limits for root are typically
42 <para>This module is stackable.</para>
48 <title>OPTIONS</title>
53 <term>default_quota:uid = UID</term>
55 <para>UID specifies the user ID of the quota record where the
56 default user quota values are stored.
63 <term>default_quota:gid = GID</term>
65 <para>GID specifies the group ID of the quota record where the
66 default group quota values are stored.
73 <term>default_quota:uid nolimit = BOOL</term>
75 <para>If this parameter is True, then the user whose
76 quota record is storing the default user quota will
77 be reported as having a quota of NO_LIMIT. Otherwise,
78 the stored values will be reported.
85 <term>default_quota:gid nolimit = BOOL</term>
87 <para>If this parameter is True, then the group whose
88 quota record is storing the default group quota will
89 be reported as having a quota of NO_LIMIT. Otherwise,
90 the stored values will be reported.
100 <title>EXAMPLES</title>
102 <para>Store the default quota record in the quota record for
103 the user with ID 65535 and report that user as having no quota
107 <smbconfsection name="[global]"/>
108 <smbconfoption name="vfs objects">default_quota</smbconfoption>
109 <smbconfoption name="default_quota:uid">65535</smbconfoption>
110 <smbconfoption name="default_quota:uid nolimit">yes</smbconfoption>
116 <title>VERSION</title>
118 <para>This man page is correct for version 3.0.25 of the Samba suite.
123 <title>AUTHOR</title>
125 <para>The original Samba software and related utilities
126 were created by Andrew Tridgell. Samba is now developed
127 by the Samba Team as an Open Source project similar
128 to the way the Linux kernel is developed.</para>