smbcquotas 1 smbcquotas Set or get QUOTAs of NTFS 5 shares 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 DESCRIPTION This tool is part of the samba 7 suite. The smbcquotas program manipulates NT Quotas on SMB file shares. OPTIONS The following options are available to the smbcquotas program. -u user Specifies the user of whom the quotas are get or set. By default the current user's username will be used. -L Lists all quota records of the share. -F Show the share quota status and default limits. -S QUOTA_SET_COMMAND This command sets/modifies quotas for a user or on the share, depending on the QUOTA_SET_COMMAND parameter which is described later. -n 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. -t Don't actually do anything, only validate the correctness of the arguments. -v Be verbose. &stdarg.help; &popt.common.samba; &popt.common.credentials; QUOTA_SET_COMAND The format of an ACL is one or more ACL entries separated by either commas or newlines. An ACL entry is one of the following: for setting user quotas for the user specified by -u or the current username: UQLIM:<username>:<softlimit>/<hardlimit> for setting the default quotas for a share: FSQLIM:<softlimit>/<hardlimit> for changing the share quota settings: FSQFLAGS:QUOTA_ENABLED/DENY_DISK/LOG_SOFTLIMIT/LOG_HARD_LIMIT EXIT STATUS The smbcquotas 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. If the operation succeeded, smbcquotas returns an exit status of 0. If smbcquotas 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. VERSION This man page is correct for version 3.0 of the Samba suite. AUTHOR 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. smbcquotas was written by Stefan Metzmacher.