Another round of fixes (projdoc -> howto) for images
[Samba/gebeck_regimport.git] / docs / manpages / smbcquotas.1.xml
bloba1e2ad9b24dbde693feaefc2c735c1ffb3930131
1 <?xml version="1.0" encoding="iso-8859-1"?>
2 <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
3                                   
4 <!ENTITY % globalentities SYSTEM '../entities/global.entities'> %globalentities;
5 ]>
6 <refentry id="smbcquotas.1">
8 <refmeta>
9         <refentrytitle>smbcquotas</refentrytitle>
10         <manvolnum>1</manvolnum>
11 </refmeta>
14 <refnamediv>
15         <refname>smbcquotas</refname>
16         <refpurpose>Set or get QUOTAs of NTFS 5 shares</refpurpose>
17 </refnamediv>
19 <refsynopsisdiv>
20         <cmdsynopsis>
21                 <command>smbcquotas</command>
22                 <arg choice="req">//server/share</arg>
23                 <arg choice="opt">-u user</arg>
24                 <arg choice="opt">-L</arg>
25                 <arg choice="opt">-F</arg>
26                 <arg choice="opt">-S QUOTA_SET_COMMAND</arg>
27                 <arg choice="opt">-n</arg>
28                 <arg choice="opt">-t</arg>
29                 <arg choice="opt">-v</arg>
31                 <arg choice="opt">-d debuglevel</arg>
32                 <arg choice="opt">-s configfile</arg>
33                 <arg choice="opt">-l logdir</arg>
34                 <arg choice="opt">-V</arg>
36                 <arg choice="opt">-U username</arg>
37                 <arg choice="opt">-N</arg>
38                 <arg choice="opt">-k</arg>
39                 <arg choice="opt">-A</arg>
42         </cmdsynopsis>
43 </refsynopsisdiv>
45 <refsect1>
46         <title>DESCRIPTION</title>
48         <para>This tool is part of the <citerefentry><refentrytitle>Samba</refentrytitle>
49         <manvolnum>7</manvolnum></citerefentry> suite.</para>
51         <para>The <command>smbcquotas</command> program manipulates NT Quotas on SMB file shares. </para>
52 </refsect1>
55 <refsect1>
56         <title>OPTIONS</title>
58         <para>The following options are available to the <command>smbcquotas</command> program. </para>
61         <variablelist>
62                 <varlistentry>
63                 <term>-u user</term>
64                 <listitem><para> Specifies the user of whom the quotas are get or set.
65                 By default the current user's username will be used.</para></listitem>
66                 </varlistentry>
67                 
68                 
69                 
70                 <varlistentry>
71                 <term>-L</term>
72                 <listitem><para>Lists all quota records of the share.</para></listitem>
73                 </varlistentry>
75                 
76                 
77                 <varlistentry>
78                 <term>-F</term>
79                 <listitem><para>Show the share quota status and default limits.</para></listitem>
80                 </varlistentry>
81                 
82                 
83                 
84                 <varlistentry>
85                 <term>-S QUOTA_SET_COMMAND</term>
86                 <listitem><para>This command sets/modifies quotas for a user or on the share,
87                 depending on the QUOTA_SET_COMMAND parameter which is described later.</para></listitem>
88                 </varlistentry>
90                 
91                 <varlistentry>
92                 <term>-n</term>
93                 <listitem><para>This option displays all QUOTA information in numeric 
94                 format.  The default is to convert SIDs to names and QUOTA limits 
95                 to a readable string format.</para></listitem>
96                 </varlistentry>
98                 <varlistentry>
99                 <term>-t</term>
100                 <listitem><para>
101                 Don't actually do anything, only validate the correctness of the arguments.
102                 </para></listitem>
103                 </varlistentry>
105                 <varlistentry>
106                 <term>-v</term>
107                 <listitem><para>
108                 Be verbose.
109                 </para></listitem>
110                 </varlistentry>
111                                 
112                 &stdarg.help;
113                 &popt.common.samba;
114                 &popt.common.credentials;
115         </variablelist>
116 </refsect1>
119 <refsect1>
120         <title>QUOTA_SET_COMAND</title>
122         <para>The format of an ACL is one or more ACL entries separated by 
123         either commas or newlines.  An ACL entry is one of the following: </para>
125         <para>
126         for setting user quotas for the user specified by -u or the current username:
127         </para>
129         <para><userinput>
130         UQLIM:&lt;username&gt;:&lt;softlimit&gt;/&lt;hardlimit&gt;
131         </userinput></para>
133         <para>
134         for setting the default quotas for a share:
135         </para>
137         <para><userinput>
138         FSQLIM:&lt;softlimit&gt;/&lt;hardlimit&gt;
139         </userinput></para>
141         <para>
142         for changing the share quota settings:
143         </para>
145         <para><userinput>
146         FSQFLAGS:QUOTA_ENABLED/DENY_DISK/LOG_SOFTLIMIT/LOG_HARD_LIMIT
147         </userinput></para>
148 </refsect1>
150 <refsect1>
151         <title>EXIT STATUS</title>
153         <para>The <command>smbcquotas</command> program sets the exit status
154         depending on the success or otherwise of the operations performed.
155         The exit status may be one of the following values. </para>
157         <para>If the operation succeeded, smbcquotas returns an exit
158         status of 0.  If <command>smbcquotas</command> couldn't connect to the specified server,
159         or when there was an error getting or setting the quota(s), an exit status
160         of 1 is returned.  If there was an error parsing any command line
161         arguments, an exit status of 2 is returned. </para>
162 </refsect1>
164 <refsect1>
165         <title>VERSION</title>
167         <para>This man page is correct for version 3.0 of the Samba suite.</para>
168 </refsect1>
170 <refsect1>
171         <title>AUTHOR</title>
173         <para>The original Samba software and related utilities
174         were created by Andrew Tridgell. Samba is now developed
175         by the Samba Team as an Open Source project similar
176         to the way the Linux kernel is developed.</para>
178         <para><command>smbcquotas</command> was written by Stefan Metzmacher.</para>
179 </refsect1>
181 </refentry>