| 1 | .\" Title: smbcquotas
|
|---|
| 2 | .\" Author:
|
|---|
| 3 | .\" Generator: DocBook XSL Stylesheets v1.73.1 <http://docbook.sf.net/>
|
|---|
| 4 | .\" Date: 08/27/2008
|
|---|
| 5 | .\" Manual: User Commands
|
|---|
| 6 | .\" Source: Samba 3.2
|
|---|
| 7 | .\"
|
|---|
| 8 | .TH "SMBCQUOTAS" "1" "08/27/2008" "Samba 3\.2" "User Commands"
|
|---|
| 9 | .\" disable hyphenation
|
|---|
| 10 | .nh
|
|---|
| 11 | .\" disable justification (adjust text to left margin only)
|
|---|
| 12 | .ad l
|
|---|
| 13 | .SH "NAME"
|
|---|
| 14 | smbcquotas - Set or get QUOTAs of NTFS 5 shares
|
|---|
| 15 | .SH "SYNOPSIS"
|
|---|
| 16 | .HP 1
|
|---|
| 17 | 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]
|
|---|
| 18 | .SH "DESCRIPTION"
|
|---|
| 19 | .PP
|
|---|
| 20 | This tool is part of the
|
|---|
| 21 | \fBsamba\fR(7)
|
|---|
| 22 | suite\.
|
|---|
| 23 | .PP
|
|---|
| 24 | The
|
|---|
| 25 | smbcquotas
|
|---|
| 26 | program manipulates NT Quotas on SMB file shares\.
|
|---|
| 27 | .SH "OPTIONS"
|
|---|
| 28 | .PP
|
|---|
| 29 | The following options are available to the
|
|---|
| 30 | smbcquotas
|
|---|
| 31 | program\.
|
|---|
| 32 | .PP
|
|---|
| 33 | \-u user
|
|---|
| 34 | .RS 4
|
|---|
| 35 | Specifies the user of whom the quotas are get or set\. By default the current user\'s username will be used\.
|
|---|
| 36 | .RE
|
|---|
| 37 | .PP
|
|---|
| 38 | \-L
|
|---|
| 39 | .RS 4
|
|---|
| 40 | Lists all quota records of the share\.
|
|---|
| 41 | .RE
|
|---|
| 42 | .PP
|
|---|
| 43 | \-F
|
|---|
| 44 | .RS 4
|
|---|
| 45 | Show the share quota status and default limits\.
|
|---|
| 46 | .RE
|
|---|
| 47 | .PP
|
|---|
| 48 | \-S QUOTA_SET_COMMAND
|
|---|
| 49 | .RS 4
|
|---|
| 50 | This command sets/modifies quotas for a user or on the share, depending on the QUOTA_SET_COMMAND parameter which is described later\.
|
|---|
| 51 | .RE
|
|---|
| 52 | .PP
|
|---|
| 53 | \-n
|
|---|
| 54 | .RS 4
|
|---|
| 55 | 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\.
|
|---|
| 56 | .RE
|
|---|
| 57 | .PP
|
|---|
| 58 | \-t
|
|---|
| 59 | .RS 4
|
|---|
| 60 | Don\'t actually do anything, only validate the correctness of the arguments\.
|
|---|
| 61 | .RE
|
|---|
| 62 | .PP
|
|---|
| 63 | \-v
|
|---|
| 64 | .RS 4
|
|---|
| 65 | Be verbose\.
|
|---|
| 66 | .RE
|
|---|
| 67 | .PP
|
|---|
| 68 | \-h|\-\-help
|
|---|
| 69 | .RS 4
|
|---|
| 70 | Print a summary of command line options\.
|
|---|
| 71 | .RE
|
|---|
| 72 | .PP
|
|---|
| 73 | \-d|\-\-debuglevel=level
|
|---|
| 74 | .RS 4
|
|---|
| 75 | \fIlevel\fR
|
|---|
| 76 | is an integer from 0 to 10\. The default value if this parameter is not specified is 0\.
|
|---|
| 77 | .sp
|
|---|
| 78 | 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\.
|
|---|
| 79 | .sp
|
|---|
| 80 | 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\.
|
|---|
| 81 | .sp
|
|---|
| 82 | Note that specifying this parameter here will override the
|
|---|
| 83 | \fIlog level\fR
|
|---|
| 84 | parameter in the
|
|---|
| 85 | \fIsmb\.conf\fR
|
|---|
| 86 | file\.
|
|---|
| 87 | .RE
|
|---|
| 88 | .PP
|
|---|
| 89 | \-V
|
|---|
| 90 | .RS 4
|
|---|
| 91 | Prints the program version number\.
|
|---|
| 92 | .RE
|
|---|
| 93 | .PP
|
|---|
| 94 | \-s <configuration file>
|
|---|
| 95 | .RS 4
|
|---|
| 96 | 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
|
|---|
| 97 | \fIsmb\.conf\fR
|
|---|
| 98 | for more information\. The default configuration file name is determined at compile time\.
|
|---|
| 99 | .RE
|
|---|
| 100 | .PP
|
|---|
| 101 | \-l|\-\-log\-basename=logdirectory
|
|---|
| 102 | .RS 4
|
|---|
| 103 | Base directory name for log/debug files\. The extension
|
|---|
| 104 | \fB"\.progname"\fR
|
|---|
| 105 | will be appended (e\.g\. log\.smbclient, log\.smbd, etc\.\.\.)\. The log file is never removed by the client\.
|
|---|
| 106 | .RE
|
|---|
| 107 | .PP
|
|---|
| 108 | \-N
|
|---|
| 109 | .RS 4
|
|---|
| 110 | 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\.
|
|---|
| 111 | .sp
|
|---|
| 112 | Unless a password is specified on the command line or this parameter is specified, the client will request a password\.
|
|---|
| 113 | .sp
|
|---|
| 114 | 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\.
|
|---|
| 115 | .RE
|
|---|
| 116 | .PP
|
|---|
| 117 | \-k
|
|---|
| 118 | .RS 4
|
|---|
| 119 | Try to authenticate with kerberos\. Only useful in an Active Directory environment\.
|
|---|
| 120 | .RE
|
|---|
| 121 | .PP
|
|---|
| 122 | \-A|\-\-authentication\-file=filename
|
|---|
| 123 | .RS 4
|
|---|
|
|---|