1 <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
2 <!ENTITY % globalentities SYSTEM '../global.ent'> %globalentities;
4 <refentry id="smbcquotas.1">
7 <refentrytitle>smbcquotas</refentrytitle>
8 <manvolnum>1</manvolnum>
13 <refname>smbcquotas</refname>
14 <refpurpose>Set or get QUOTAs of NTFS 5 shares</refpurpose>
19 <command>smbcquotas</command>
20 <arg choice="req">//server/share</arg>
21 <arg choice="opt">-u user</arg>
22 <arg choice="opt">-L</arg>
23 <arg choice="opt">-F</arg>
24 <arg choice="opt">-S QUOTA_SET_COMMAND</arg>
25 <arg choice="opt">-n</arg>
26 <arg choice="opt">-t</arg>
27 <arg choice="opt">-v</arg>
29 <arg choice="opt">-d debuglevel</arg>
30 <arg choice="opt">-s configfile</arg>
31 <arg choice="opt">-l logfilebase</arg>
32 <arg choice="opt">-V</arg>
34 <arg choice="opt">-U username</arg>
35 <arg choice="opt">-N</arg>
36 <arg choice="opt">-k</arg>
37 <arg choice="opt">-A</arg>
44 <title>DESCRIPTION</title>
46 <para>This tool is part of the <citerefentry><refentrytitle>Samba</refentrytitle>
47 <manvolnum>7</manvolnum></citerefentry> suite.</para>
49 <para>The <command>smbcquotas</command> program manipulates NT Quotas on SMB file shares. </para>
54 <title>OPTIONS</title>
56 <para>The following options are available to the <command>smbcquotas</command> program. </para>
62 <listitem><para> Specifies the user of whom the quotas are get or set.
63 By default the current user's username will be used.</para></listitem>
70 <listitem><para>Lists all quota records of the share.</para></listitem>
77 <listitem><para>Show the share quota status and default limits.</para></listitem>
83 <term>-S QUOTA_SET_COMMAND</term>
84 <listitem><para>This command set/modify quotas for a user or on the share,
85 depending on the QUOTA_SET_COMMAND parameter witch is described later</para></listitem>
91 <listitem><para>This option displays all QUOTA information in numeric
92 format. The default is to convert SIDs to names and QUOTA limits
93 to a readable string format. </para></listitem>
99 Don't actually do anything, only validate the correctness of
113 &popt.common.credentials;
119 <title>QUOTA_SET_COMAND</title>
121 <para>The format of an ACL is one or more ACL entries separated by
122 either commas or newlines. An ACL entry is one of the following: </para>
125 for user setting quotas for the specified by -u or the current username:
129 UQLIM:<username><softlimit><hardlimit>
133 for setting the share quota defaults limits:
137 FSQLIM:<softlimit><hardlimit>
141 for changing the share quota settings:
145 FSQFLAGS:QUOTA_ENABLED/DENY_DISK/LOG_SOFTLIMIT/LOG_HARD_LIMIT
149 <title>EXIT STATUS</title>
151 <para>The <command>smbcquotas</command> program sets the exit status
152 depending on the success or otherwise of the operations performed.
153 The exit status may be one of the following values. </para>
155 <para>If the operation succeeded, smbcquotas returns an exit
156 status of 0. If <command>smbcquotas</command> couldn't connect to the specified server,
157 or when there was an error getting or setting the quota(s), an exit status
158 of 1 is returned. If there was an error parsing any command line
159 arguments, an exit status of 2 is returned. </para>
163 <title>VERSION</title>
165 <para>This man page is correct for version 3.0 of the Samba suite.</para>
169 <title>AUTHOR</title>
171 <para>The original Samba software and related utilities
172 were created by Andrew Tridgell. Samba is now developed
173 by the Samba Team as an Open Source project similar
174 to the way the Linux kernel is developed.</para>
176 <para><command>smbcacls</command> was written by Stefan Metzmacher.</para>