Appendix smbcquotasコマンド
Samba3のsmbcquotasコマンド
[root@rocky9-samba35 ~]#
[root@rocky9-samba35 ~]# smbcquotas --usage
Usage: smbcquotas [-?] [-?LFnvtV] [-?LFnvtVNkPeC] [-?|--help] [--usage] [-u|--user user]
[-L|--list] [-F|--fs] [-S|--set SETSTRING] [-n|--numeric] [-v|--verbose]
[-t|--test-args] [-d|--debuglevel DEBUGLEVEL]
[-s|--configfile CONFIGFILE] [-l|--log-basename LOGFILEBASE]
[-V|--version] [--option=name=value] [-U|--user USERNAME]
[-N|--no-pass] [-k|--kerberos] [-A|--authentication-file FILE]
[-S|--signing on|off|required] [-P|--machine-pass] [-e|--encrypt]
[-C|--use-ccache] //server1/share1
[root@rocky9-samba35 ~]#
[root@rocky9-samba35 ~]# smbcquotas --help
Usage: smbcquotas //server1/share1
-u, --user=user Show quotas for user
-L, --list List user quotas
-F, --fs Show filesystem quotas
-S, --set=SETSTRING Set acls
SETSTRING:
UQLIM:<username>/<softlimit>/<hardlimit>
for user quotas
FSQLIM:<softlimit>/<hardlimit> for
filesystem defaults
FSQFLAGS:QUOTA_ENABLED/DENY_DISK/LOG_SOFTLIMIT/LOG_HARD_LIMIT
-n, --numeric Don't resolve sids or limits to names
-v, --verbose be verbose
-t, --test-args Test arguments
Help options:
-?, --help Show this help message
--usage Display brief usage message
Common samba options:
-d, --debuglevel=DEBUGLEVEL Set debug level
-s, --configfile=CONFIGFILE Use alternate configuration file
-l, --log-basename=LOGFILEBASE Base name for log files
-V, --version Print version
--option=name=value Set smb.conf option from command line
Authentication options:
-U, --user=USERNAME Set the network username
-N, --no-pass Don't ask for a password
-k, --kerberos Use kerberos (active directory)
authentication
-A, --authentication-file=FILE Get the credentials from a file
-S, --signing=on|off|required Set the client signing state
-P, --machine-pass Use stored machine account password
-e, --encrypt Encrypt SMB transport (UNIX extended
servers only)
-C, --use-ccache Use the winbind ccache for authentication
[root@rocky9-samba35 ~]#
Samba4のsmbcquotasコマンド
[root@rocky9-samba45 ~]#
[root@rocky9-samba45 ~]# smbcquotas --usage
使い方: smbcquotas [-?LFnvtNPkV] [-?|--help] [--usage] [-u|--quota-user=USER]
[-L|--list] [-F|--fs] [-S|--set=SETSTRING] [-n|--numeric]
[-v|--verbose] [-t|--test-args] [-m|--max-protocol=LEVEL]
[-d|--debuglevel=DEBUGLEVEL] [--debug-stdout]
[-s|--configfile=CONFIGFILE] [--option=name=value]
[-l|--log-basename=LOGFILEBASE] [--leak-report] [--leak-report-full]
[-U|--user=[DOMAIN/]USERNAME[%PASSWORD]] [-N|--no-pass]
[--password=文字列] [--pw-nt-hash] [-A|--authentication-file=FILE]
[-P|--machine-pass] [--simple-bind-dn=DN]
[--use-kerberos=desired|required|off] [--use-krb5-ccache=CCACHE]
[--use-winbind-ccache] [--client-protection=sign|encrypt|off]
[-k|--kerberos] [-V|--version] //server1/share1
[root@rocky9-samba45 ~]#
[root@rocky9-samba45 ~]# smbcquotas --help
使い方: smbcquotas //server1/share1
-u, --quota-user=USER Show quotas for user
-L, --list List user quotas
-F, --fs Show filesystem quotas
-S, --set=SETSTRING Set acls
SETSTRING:
UQLIM:<username>/<softlimit>/<hardlimit> for user quotas
FSQLIM:<softlimit>/<hardlimit> for filesystem defaults
FSQFLAGS:QUOTA_ENABLED/DENY_DISK/LOG_SOFTLIMIT/LOG_HARD_LIMIT
-n, --numeric Don't resolve sids or limits to
names
-v, --verbose be verbose
-t, --test-args Test arguments
-m, --max-protocol=LEVEL Set the max protocol level
ヘルプオプション:
-?, --help このヘルプメッセージを表示します
--usage 使い方の概要を表示します
Common Samba options:
-d, --debuglevel=DEBUGLEVEL Set debug level
--debug-stdout Send debug output to standard
output
-s, --configfile=CONFIGFILE Use alternative configuration
file
--option=name=value Set smb.conf option from
command line
-l, --log-basename=LOGFILEBASE Basename for log/debug files
--leak-report enable talloc leak reporting on
exit
--leak-report-full enable full talloc leak
reporting on exit
Credential options:
-U, --user=[DOMAIN/]USERNAME[%PASSWORD] Set the network username
-N, --no-pass Don't ask for a password
--password=文字列 Password
--pw-nt-hash The supplied password is the NT
hash
-A, --authentication-file=FILE Get the credentials from a file
-P, --machine-pass Use stored machine account
password
--simple-bind-dn=DN DN to use for a simple bind
--use-kerberos=desired|required|off Use Kerberos authentication
--use-krb5-ccache=CCACHE Credentials cache location for
Kerberos
--use-winbind-ccache Use the winbind ccache for
authentication
--client-protection=sign|encrypt|off Configure used protection for
client connections
Deprecated legacy options:
-k, --kerberos DEPRECATED: Migrate to
--use-kerberos
Version options:
-V, --version Print version
[root@rocky9-samba45 ~]#
この記事が気に入ったらサポートをしてみませんか?