<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.73.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="literal">vfs objects = default_quota</code></p></div></div><div class="refsect1" lang="en"><a name="id2518313"></a><h2>DESCRIPTION</h2><p>This VFS module is part of the <a class="citerefentry" href="samba.7.html"><span class="citerefentry"><span class="refentrytitle">samba</span>(7)</span></a> suite.</p><p>Many common quota implementations only store quotas for users and groups, but do not store a default quota. The <code class="literal">vfs_default_quota</code> module allows Samba to store default quota values which can be examined using the Windows Explorer interface. </p><p>By default, Samba returns NO_LIMIT the default quota and refuses to update them. <code class="literal">vfs_default_quota</code> maps the default quota to the quota record of a user. By default the root user is taken because quota limits for root are typically not enforced.</p><p>This module is stackable.</p></div><div class="refsect1" lang="en"><a name="id2480143"></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 default user quota values are stored. </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 default group quota values are stored. </p></dd><dt><span class="term">default_quota:uid nolimit = BOOL</span></dt><dd><p>If this parameter is True, then the user whose quota record is storing the default user quota will be reported as having a quota of NO_LIMIT. Otherwise, the stored values will be reported. </p></dd><dt><span class="term">default_quota:gid nolimit = BOOL</span></dt><dd><p>If this parameter is True, then the group whose quota record is storing the default group quota will be reported as having a quota of NO_LIMIT. Otherwise, the stored values will be reported. </p></dd></dl></div></div><div class="refsect1" lang="en"><a name="id2482451"></a><h2>EXAMPLES</h2><p>Store the default quota record in the quota record for the user with ID 65535 and report that user as having no quota limits:</p><pre class="programlisting"> <em class="parameter"><code>[global]</code></em> <a class="link" href="smb.conf.5.html#VFSOBJECTS">vfs objects = default_quota</a> <a class="link" href="smb.conf.5.html#DEFAULT_QUOTA:UID">default_quota:uid = 65535</a> <a class="link" href="smb.conf.5.html#DEFAULT_QUOTA:UIDNOLIMIT">default_quota:uid nolimit = yes</a> </pre></div><div class="refsect1" lang="en"><a name="id2482616"></a><h2>VERSION</h2><p>This man page is correct for version 3.0.25 of the Samba suite. </p></div><div class="refsect1" lang="en"><a name="id2482626"></a><h2>AUTHOR</h2><p>The original Samba software and related utilities were created by Andrew Tridgell. Samba is now developed by the Samba Team as an Open Source project similar to the way the Linux kernel is developed.</p></div></div></body></html>