Ignore:
Timestamp:
May 23, 2008, 6:56:41 AM (17 years ago)
Author:
Paul Smedley
Message:

Update source to 3.0.29

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.0/docs/manpages/smbcquotas.1

    r44 r134  
    1 .\"Generated by db2man.xsl. Don't modify this, modify the source.
    2 .de Sh \" Subsection
    3 .br
    4 .if t .Sp
    5 .ne 5
    6 .PP
    7 \fB\\$1\fR
    8 .PP
    9 ..
    10 .de Sp \" Vertical space (when we can't use .PP)
    11 .if t .sp .5v
    12 .if n .sp
    13 ..
    14 .de Ip \" List item
    15 .br
    16 .ie \\n(.$>=3 .ne \\$3
    17 .el .ne 3
    18 .IP "\\$1" \\$2
    19 ..
    20 .TH "SMBCQUOTAS" 1 "" "" ""
     1.\"     Title: smbcquotas
     2.\"    Author:
     3.\" Generator: DocBook XSL Stylesheets v1.73.2 <http://docbook.sf.net/>
     4.\"      Date: 05/21/2008
     5.\"    Manual: User Commands
     6.\"    Source: Samba 3.0
     7.\"
     8.TH "SMBCQUOTAS" "1" "05/21/2008" "Samba 3\.0" "User Commands"
     9.\" disable hyphenation
     10.nh
     11.\" disable justification (adjust text to left margin only)
     12.ad l
    2113.SH "NAME"
    2214smbcquotas - Set or get QUOTAs of NTFS 5 shares
    2315.SH "SYNOPSIS"
    2416.HP 1
    25 smbcquotas {//server/share} [-u user] [-L] [-F] [-S QUOTA_SET_COMMAND] [-n] [-t] [-v] [-d debuglevel] [-s configfile] [-l logdir] [-V] [-U username] [-N] [-k] [-A]
     17smbcquotas {//server/share} [\-u\ user] [\-L] [\-F] [\-S\ QUOTA_SET_COMMAND] [\-n] [\-t] [\-v] [\-d\ debuglevel] [\-s\ configfile] [\-l\ logdir] [\-V] [\-U\ username] [\-N] [\-k] [\-A]
    2618.SH "DESCRIPTION"
    2719.PP
    2820This tool is part of the
    2921\fBsamba\fR(7)
    30 suite.
     22suite\.
    3123.PP
    3224The
    3325smbcquotas
    34 program manipulates NT Quotas on SMB file shares.
     26program manipulates NT Quotas on SMB file shares\.
    3527.SH "OPTIONS"
    3628.PP
    3729The following options are available to the
    3830smbcquotas
    39 program.
     31program\.
    4032.PP
    41 -u user
    42 .RS 3n
    43 Specifies the user of whom the quotas are get or set. By default the current user's username will be used.
     33\-u user
     34.RS 4
     35Specifies the user of whom the quotas are get or set\. By default the current user\'s username will be used\.
    4436.RE
    4537.PP
    46 -L
    47 .RS 3n
    48 Lists all quota records of the share.
     38\-L
     39.RS 4
     40Lists all quota records of the share\.
    4941.RE
    5042.PP
    51 -F
    52 .RS 3n
    53 Show the share quota status and default limits.
     43\-F
     44.RS 4
     45Show the share quota status and default limits\.
    5446.RE
    5547.PP
    56 -S QUOTA_SET_COMMAND
    57 .RS 3n
    58 This command sets/modifies quotas for a user or on the share, depending on the QUOTA_SET_COMMAND parameter which is described later.
     48\-S QUOTA_SET_COMMAND
     49.RS 4
     50This command sets/modifies quotas for a user or on the share, depending on the QUOTA_SET_COMMAND parameter which is described later\.
    5951.RE
    6052.PP
    61 -n
    62 .RS 3n
    63 This option displays all QUOTA information in numeric format. The default is to convert SIDs to names and QUOTA limits to a readable string format.
     53\-n
     54.RS 4
     55This option displays all QUOTA information in numeric format\. The default is to convert SIDs to names and QUOTA limits to a readable string format\.
    6456.RE
    6557.PP
    66 -t
    67 .RS 3n
    68 Don't actually do anything, only validate the correctness of the arguments.
     58\-t
     59.RS 4
     60Don\'t actually do anything, only validate the correctness of the arguments\.
    6961.RE
    7062.PP
    71 -v
    72 .RS 3n
    73 Be verbose.
     63\-v
     64.RS 4
     65Be verbose\.
    7466.RE
    7567.PP
    76 -h|--help
    77 .RS 3n
    78 Print a summary of command line options.
     68\-h|\-\-help
     69.RS 4
     70Print a summary of command line options\.
    7971.RE
    8072.PP
    81 -V
    82 .RS 3n
    83 Prints the program version number.
     73\-d|\-\-debuglevel=level
     74.RS 4
     75\fIlevel\fR
     76is an integer from 0 to 10\. The default value if this parameter is not specified is 0\.
     77.sp
     78The higher this value, the more detail will be logged to the log files about the activities of the server\. At level 0, only critical errors and serious warnings will be logged\. Level 1 is a reasonable level for day\-to\-day running \- it generates a small amount of information about operations carried out\.
     79.sp
     80Levels above 1 will generate considerable amounts of log data, and should only be used when investigating a problem\. Levels above 3 are designed for use only by developers and generate HUGE amounts of log data, most of which is extremely cryptic\.
     81.sp
     82Note that specifying this parameter here will override the
     83\fIlog level\fR
     84parameter in the
     85\fIsmb\.conf\fR
     86file\.
    8487.RE
    8588.PP
    86 -s <configuration file>
    87 .RS 3n
    88 The file specified contains the configuration details required by the server. The information in this file includes server-specific information such as what printcap file to use, as well as descriptions of all the services that the server is to provide. See
    89 \fIsmb.conf\fR
    90 for more information. The default configuration file name is determined at compile time.
     89\-V
     90.RS 4
     91Prints the program version number\.
    9192.RE
    9293.PP
    93 -d|--debuglevel=level
    94 .RS 3n
    95 \fIlevel\fR
    96 is an integer from 0 to 10. The default value if this parameter is not specified is zero.
    97 .sp
    98 The higher this value, the more detail will be logged to the log files about the activities of the server. At level 0, only critical errors and serious warnings will be logged. Level 1 is a reasonable level for day-to-day running - it generates a small amount of information about operations carried out.
    99 .sp
    100 Levels above 1 will generate considerable amounts of log data, and should only be used when investigating a problem. Levels above 3 are designed for use only by developers and generate HUGE amounts of log data, most of which is extremely cryptic.
    101 .sp
    102 Note that specifying this parameter here will override the
    103 
    104 parameter in the
    105 \fIsmb.conf\fR
    106 file.
     94\-s <configuration file>
     95.RS 4
     96The file specified contains the configuration details required by the server\. The information in this file includes server\-specific information such as what printcap file to use, as well as descriptions of all the services that the server is to provide\. See
     97\fIsmb\.conf\fR
     98for more information\. The default configuration file name is determined at compile time\.
    10799.RE
    108100.PP
    109 -l|--logfile=logdirectory
    110 .RS 3n
    111 Base directory name for log/debug files. The extension
    112 \fB".progname"\fR
    113 will be appended (e.g. log.smbclient, log.smbd, etc...). The log file is never removed by the client.
     101\-l|\-\-log\-basename=logdirectory
     102.RS 4
     103Base directory name for log/debug files\. The extension
     104\fB"\.progname"\fR
     105will be appended (e\.g\. log\.smbclient, log\.smbd, etc\.\.\.)\. The log file is never removed by the client\.
    114106.RE
    115107.PP
    116 -N
    117 .RS 3n
    118 If specified, this parameter suppresses the normal password prompt from the client to the user. This is useful when accessing a service that does not require a password.
     108\-N
     109.RS 4
     110If specified, this parameter suppresses the normal password prompt from the client to the user\. This is useful when accessing a service that does not require a password\.
    119111.sp
    120 Unless a password is specified on the command line or this parameter is specified, the client will request a password.
     112Unless a password is specified on the command line or this parameter is specified, the client will request a password\.
    121113.sp
    122 If a password is specified on the command line and this option is also defined the password on the command line will be silently ingnored and no password will be used.
     114If a password is specified on the command line and this option is also defined the password on the command line will be silently ingnored and no password will be used\.
    123115.RE
    124116.PP
    125 -k
    126 .RS 3n
    127 Try to authenticate with kerberos. Only useful in an Active Directory environment.
     117\-k
     118.RS 4
     119Try to authenticate with kerberos\. Only useful in an Active Directory environment\.
    128120.RE
    129121.PP
    130 -A|--authentication-file=filename
    131 .RS 3n
    132 This option allows you to specify a file from which to read the username and password used in the connection. The format of the file is
     122\-A|\-\-authentication\-file=filename
     123.RS 4
     124This option allows you to specify a file from which to read the username and password used in the connection\. The format of the file is
    133125.sp
    134 
    135126.sp
    136 
     127.RS 4
    137128.nf
    138 
    139129username = <value>
    140130password = <value>
    141131domain   = <value>
    142 
    143132.fi
    144 
     133.RE
    145134.sp
    146 Make certain that the permissions on the file restrict access from unwanted users.
     135Make certain that the permissions on the file restrict access from unwanted users\.
    147136.RE
    148137.PP
    149 -U|--user=username[%password]
    150 .RS 3n
    151 Sets the SMB username or username and password.
     138\-U|\-\-user=username[%password]
     139.RS 4
     140Sets the SMB username or username and password\.
    152141.sp
    153 If %password is not specified, the user will be prompted. The client will first check the
     142If %password is not specified, the user will be prompted\. The client will first check the
    154143\fBUSER\fR
    155144environment variable, then the
    156145\fBLOGNAME\fR
    157 variable and if either exists, the string is uppercased. If these environmental variables are not found, the username
     146variable and if either exists, the string is uppercased\. If these environmental variables are not found, the username
    158147\fBGUEST\fR
    159 is used.
     148is used\.
    160149.sp
    161 A third option is to use a credentials file which contains the plaintext of the username and password. This option is mainly provided for scripts where the admin does not wish to pass the credentials on the command line or via environment variables. If this method is used, make certain that the permissions on the file restrict access from unwanted users. See the
    162 \fI-A\fR
    163 for more details.
     150A third option is to use a credentials file which contains the plaintext of the username and password\. This option is mainly provided for scripts where the admin does not wish to pass the credentials on the command line or via environment variables\. If this method is used, make certain that the permissions on the file restrict access from unwanted users\. See the
     151\fI\-A\fR
     152for more details\.
    164153.sp
    165 Be cautious about including passwords in scripts. Also, on many systems the command line of a running process may be seen via the
     154Be cautious about including passwords in scripts\. Also, on many systems the command line of a running process may be seen via the
    166155ps
    167 command. To be safe always allow
     156command\. To be safe always allow
    168157rpcclient
    169 to prompt for a password and type it in directly.
     158to prompt for a password and type it in directly\.
    170159.RE
    171160.SH "QUOTA_SET_COMAND"
    172161.PP
    173 The format of an the QUOTA_SET_COMMAND is an operation name followed by a set of parameters specific to that operation.
     162The format of an the QUOTA_SET_COMMAND is an operation name followed by a set of parameters specific to that operation\.
    174163.PP
    175 To set user quotas for the user specified by -u or for the current username:
     164To set user quotas for the user specified by \-u or for the current username:
    176165.PP
    177166\fB UQLIM:<username>:<softlimit>/<hardlimit> \fR
     
    185174\fB FSQFLAGS:QUOTA_ENABLED/DENY_DISK/LOG_SOFTLIMIT/LOG_HARD_LIMIT \fR
    186175.PP
    187 All limits are specified as a number of bytes.
     176All limits are specified as a number of bytes\.
    188177.SH "EXIT STATUS"
    189178.PP
    190179The
    191180smbcquotas
    192 program sets the exit status depending on the success or otherwise of the operations performed. The exit status may be one of the following values.
     181program sets the exit status depending on the success or otherwise of the operations performed\. The exit status may be one of the following values\.
    193182.PP
    194 If the operation succeeded, smbcquotas returns an exit status of 0. If
     183If the operation succeeded, smbcquotas returns an exit status of 0\. If
    195184smbcquotas
    196 couldn't connect to the specified server, or when there was an error getting or setting the quota(s), an exit status of 1 is returned. If there was an error parsing any command line arguments, an exit status of 2 is returned.
     185couldn\'t connect to the specified server, or when there was an error getting or setting the quota(s), an exit status of 1 is returned\. If there was an error parsing any command line arguments, an exit status of 2 is returned\.
    197186.SH "VERSION"
    198187.PP
    199 This man page is correct for version 3.0 of the Samba suite.
     188This man page is correct for version 3\.0 of the Samba suite\.
    200189.SH "AUTHOR"
    201190.PP
    202 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.
     191The 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\.
    203192.PP
    204193smbcquotas
    205 was written by Stefan Metzmacher.
    206 
     194was written by Stefan Metzmacher\.
Note: See TracChangeset for help on using the changeset viewer.