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="smbcquotas.1">
6 <refentrytitle>smbcquotas</refentrytitle>
7 <manvolnum>1</manvolnum>
12 <refname>smbcquotas</refname>
13 <refpurpose>Set or get QUOTAs of NTFS 5 shares</refpurpose>
18 <command>smbcquotas</command>
19 <arg choice="req">//server/share</arg>
20 <arg choice="opt">-u user</arg>
21 <arg choice="opt">-L</arg>
22 <arg choice="opt">-F</arg>
23 <arg choice="opt">-S QUOTA_SET_COMMAND</arg>
24 <arg choice="opt">-n</arg>
25 <arg choice="opt">-t</arg>
26 <arg choice="opt">-v</arg>
28 <arg choice="opt">-d debuglevel</arg>
29 <arg choice="opt">-s configfile</arg>
30 <arg choice="opt">-l logdir</arg>
31 <arg choice="opt">-V</arg>
33 <arg choice="opt">-U username</arg>
34 <arg choice="opt">-N</arg>
35 <arg choice="opt">-k</arg>
36 <arg choice="opt">-A</arg>
43 <title>DESCRIPTION</title>
45 <para>This tool is part of the <citerefentry><refentrytitle>samba</refentrytitle>
46 <manvolnum>7</manvolnum></citerefentry> suite.</para>
48 <para>The <command>smbcquotas</command> program manipulates NT Quotas on SMB file shares. </para>
53 <title>OPTIONS</title>
55 <para>The following options are available to the <command>smbcquotas</command> program. </para>
61 <listitem><para> Specifies the user of whom the quotas are get or set.
62 By default the current user's username will be used.</para></listitem>
69 <listitem><para>Lists all quota records of the share.</para></listitem>
76 <listitem><para>Show the share quota status and default limits.</para></listitem>
82 <term>-S QUOTA_SET_COMMAND</term>
83 <listitem><para>This command sets/modifies quotas for a user or on the share,
84 depending on the QUOTA_SET_COMMAND parameter which is described later.</para></listitem>
90 <listitem><para>This option displays all QUOTA information in numeric
91 format. The default is to convert SIDs to names and QUOTA limits
92 to a readable string format.</para></listitem>
98 Don't actually do anything, only validate the correctness of the arguments.
111 &popt.common.credentials;
117 <title>QUOTA_SET_COMAND</title>
119 <para>The format of an ACL is one or more ACL entries separated by
120 either commas or newlines. An ACL entry is one of the following: </para>
123 for setting user quotas for the user specified by -u or the current username:
127 UQLIM:<username>:<softlimit>/<hardlimit>
131 for setting the default quotas for a share:
135 FSQLIM:<softlimit>/<hardlimit>
139 for changing the share quota settings:
143 FSQFLAGS:QUOTA_ENABLED/DENY_DISK/LOG_SOFTLIMIT/LOG_HARD_LIMIT
148 <title>EXIT STATUS</title>
150 <para>The <command>smbcquotas</command> program sets the exit status
151 depending on the success or otherwise of the operations performed.
152 The exit status may be one of the following values. </para>
154 <para>If the operation succeeded, smbcquotas returns an exit
155 status of 0. If <command>smbcquotas</command> couldn't connect to the specified server,
156 or when there was an error getting or setting the quota(s), an exit status
157 of 1 is returned. If there was an error parsing any command line
158 arguments, an exit status of 2 is returned. </para>
162 <title>VERSION</title>
164 <para>This man page is correct for version 3.0 of the Samba suite.</para>
168 <title>AUTHOR</title>
170 <para>The original Samba software and related utilities
171 were created by Andrew Tridgell. Samba is now developed
172 by the Samba Team as an Open Source project similar
173 to the way the Linux kernel is developed.</para>
175 <para><command>smbcquotas</command> was written by Stefan Metzmacher.</para>