| 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.74.0"></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="literal">vfs objects = default_quota</code></p></div></div><div class="refsect1" lang="en"><a name="id2522930"></a><h2>DESCRIPTION</h2><p>This VFS module is part of the
|
|---|
| 2 | <a class="citerefentry" 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 | <code class="literal">vfs_default_quota</code> 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. <code class="literal">vfs_default_quota</code> 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="id2483353"></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="id2483532"></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="link" href="smb.conf.5.html#VFSOBJECTS" target="_top">vfs objects = default_quota</a>
|
|---|
| 29 | <a class="link" href="smb.conf.5.html#DEFAULT_QUOTA:UID" target="_top">default_quota:uid = 65535</a>
|
|---|
| 30 | <a class="link" href="smb.conf.5.html#DEFAULT_QUOTA:UIDNOLIMIT" target="_top">default_quota:uid nolimit = yes</a>
|
|---|
| 31 | </pre></div><div class="refsect1" lang="en"><a name="id2483687"></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="id2483698"></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>
|
|---|