1 | <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>vfs_default_quota</title><link rel="stylesheet" href="samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.68.1"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry" lang="en"><a name="vfs_default_quota.8"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>vfs_default_quota — store default quota records for Windows clients</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="command">vfs objects = default_quota</code> </p></div></div><div class="refsect1" lang="en"><a name="id263118"></a><h2>DESCRIPTION</h2><p>This VFS module is part of the |
---|
2 | <a href="samba.7.html"><span class="citerefentry"><span class="refentrytitle">samba</span>(7)</span></a> |
---|
3 | suite.</p><p>Many common quota implementations only store |
---|
4 | quotas for users and groups, but do not store a default quota. The |
---|
5 | <span><strong class="command">vfs_default_quota</strong></span> module allows Samba to store |
---|
6 | default quota values which can be examined using the Windows |
---|
7 | Explorer interface. |
---|
8 | </p><p>By default, Samba returns NO_LIMIT the default quota and |
---|
9 | refuses to update them. <span><strong class="command">vfs_default_quota</strong></span> maps |
---|
10 | the default quota to the quota record of a user. By default the |
---|
11 | root user is taken because quota limits for root are typically |
---|
12 | not enforced.</p><p>This module is stackable.</p></div><div class="refsect1" lang="en"><a name="id231131"></a><h2>OPTIONS</h2><div class="variablelist"><dl><dt><span class="term">default_quota:uid = UID</span></dt><dd><p>UID specifies the user ID of the quota record where the |
---|
13 | default user quota values are stored. |
---|
14 | </p></dd><dt><span class="term">default_quota:gid = GID</span></dt><dd><p>GID specifies the group ID of the quota record where the |
---|
15 | default group quota values are stored. |
---|
16 | </p></dd><dt><span class="term">default_quota:uid nolimit = BOOL</span></dt><dd><p>If this parameter is True, then the user whose |
---|
17 | quota record is storing the default user quota will |
---|
18 | be reported as having a quota of NO_LIMIT. Otherwise, |
---|
19 | the stored values will be reported. |
---|
20 | </p></dd><dt><span class="term">default_quota:gid nolimit = BOOL</span></dt><dd><p>If this parameter is True, then the group whose |
---|
21 | quota record is storing the default group quota will |
---|
22 | be reported as having a quota of NO_LIMIT. Otherwise, |
---|
23 | the stored values will be reported. |
---|
24 | </p></dd></dl></div></div><div class="refsect1" lang="en"><a name="id231199"></a><h2>EXAMPLES</h2><p>Store the default quota record in the quota record for |
---|
25 | the user with ID 65535 and report that user as having no quota |
---|
26 | limits:</p><pre class="programlisting"> |
---|
27 | <em class="parameter"><code>[global]</code></em> |
---|
28 | <a class="indexterm" name="id231418"></a>vfs objects = default_quota |
---|
29 | <a class="indexterm" name="id231425"></a>default_quota:uid = 65535 |
---|
30 | <a class="indexterm" name="id231432"></a>default_quota:uid nolimit = yes |
---|
31 | </pre></div><div class="refsect1" lang="en"><a name="id231441"></a><h2>VERSION</h2><p>This man page is correct for version 3.0.25 of the Samba suite. |
---|
32 | </p></div><div class="refsect1" lang="en"><a name="id231451"></a><h2>AUTHOR</h2><p>The original Samba software and related utilities |
---|
33 | were created by Andrew Tridgell. Samba is now developed |
---|
34 | by the Samba Team as an Open Source project similar |
---|
35 | to the way the Linux kernel is developed.</p></div></div></body></html> |
---|