1 <?xml version="1.0" encoding="iso8859-1"?>
2 <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
3 "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
5 <!ENTITY % globalentities SYSTEM './../global.ent'> %globalentities;
7 <refentry id="smbcquotas.1">
10 <refentrytitle>smbcquotas</refentrytitle>
11 <manvolnum>1</manvolnum>
16 <refname>smbcquotas</refname>
17 <refpurpose>Set or get QUOTAs of NTFS 5 shares</refpurpose>
22 <command>smbcquotas</command>
23 <arg choice="req">//server/share</arg>
24 <arg choice="opt">-u user</arg>
25 <arg choice="opt">-L</arg>
26 <arg choice="opt">-F</arg>
27 <arg choice="opt">-S QUOTA_SET_COMMAND</arg>
28 <arg choice="opt">-n</arg>
29 <arg choice="opt">-t</arg>
30 <arg choice="opt">-v</arg>
32 <arg choice="opt">-d debuglevel</arg>
33 <arg choice="opt">-s configfile</arg>
34 <arg choice="opt">-l logfilebase</arg>
35 <arg choice="opt">-V</arg>
37 <arg choice="opt">-U username</arg>
38 <arg choice="opt">-N</arg>
39 <arg choice="opt">-k</arg>
40 <arg choice="opt">-A</arg>
47 <title>DESCRIPTION</title>
49 <para>This tool is part of the <citerefentry><refentrytitle>Samba</refentrytitle>
50 <manvolnum>7</manvolnum></citerefentry> suite.</para>
52 <para>The <command>smbcquotas</command> program manipulates NT Quotas on SMB file shares. </para>
57 <title>OPTIONS</title>
59 <para>The following options are available to the <command>smbcquotas</command> program. </para>
65 <listitem><para> Specifies the user of whom the quotas are get or set.
66 By default the current user's username will be used.</para></listitem>
73 <listitem><para>Lists all quota records of the share.</para></listitem>
80 <listitem><para>Show the share quota status and default limits.</para></listitem>
86 <term>-S QUOTA_SET_COMMAND</term>
87 <listitem><para>This command set/modify quotas for a user or on the share,
88 depending on the QUOTA_SET_COMMAND parameter witch is described later</para></listitem>
94 <listitem><para>This option displays all QUOTA information in numeric
95 format. The default is to convert SIDs to names and QUOTA limits
96 to a readable string format. </para></listitem>
102 Don't actually do anything, only validate the correctness of
116 &popt.common.credentials;
122 <title>QUOTA_SET_COMAND</title>
124 <para>The format of an ACL is one or more ACL entries separated by
125 either commas or newlines. An ACL entry is one of the following: </para>
128 for user setting quotas for the specified by -u or the current username:
132 UQLIM:<username><softlimit><hardlimit>
136 for setting the share quota defaults limits:
140 FSQLIM:<softlimit><hardlimit>
144 for changing the share quota settings:
148 FSQFLAGS:QUOTA_ENABLED/DENY_DISK/LOG_SOFTLIMIT/LOG_HARD_LIMIT
153 <title>EXIT STATUS</title>
155 <para>The <command>smbcquotas</command> program sets the exit status
156 depending on the success or otherwise of the operations performed.
157 The exit status may be one of the following values. </para>
159 <para>If the operation succeeded, smbcquotas returns an exit
160 status of 0. If <command>smbcquotas</command> couldn't connect to the specified server,
161 or when there was an error getting or setting the quota(s), an exit status
162 of 1 is returned. If there was an error parsing any command line
163 arguments, an exit status of 2 is returned. </para>
167 <title>VERSION</title>
169 <para>This man page is correct for version 3.0 of the Samba suite.</para>
173 <title>AUTHOR</title>
175 <para>The original Samba software and related utilities
176 were created by Andrew Tridgell. Samba is now developed
177 by the Samba Team as an Open Source project similar
178 to the way the Linux kernel is developed.</para>
180 <para><command>smbcacls</command> was written by Stefan Metzmacher.</para>