見出し画像

Appendix smbtreeコマンド

Samba3のsmbtreeコマンド

Samba3 smbtree 日本語訳

[root@rocky9-samba35 ~]#
[root@rocky9-samba35 ~]# smbtree --usage
Usage: [-?] [-?V] [-?VNkPeC] [-?|--help] [--usage] [-b|--broadcast] [-D|--domains]
        [-S|--servers] [-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]
[root@rocky9-samba35 ~]#
[root@rocky9-samba35 ~]# smbtree --help
Usage: [OPTION...]
  -b, --broadcast                    Use broadcast instead of using the master
                                     browser
  -D, --domains                      List only domains (workgroups) of tree
  -S, --servers                      List domains(workgroups) and servers of
                                     tree

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のsmbtreeコマンド

Samba4 smbtree 日本語訳

[root@rocky9-samba45 ~]#
[root@rocky9-samba45 ~]# smbtree --usage
使い方: [-?NPV] [-?|--help] [--usage] [-D|--domains] [-S|--servers]
        [-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]
        [-V|--version]
[root@rocky9-samba45 ~]#
[root@rocky9-samba45 ~]# smbtree --help
使い方: [オプション...]
  -D, --domains                                List only domains (workgroups)
                                               of tree
  -S, --servers                                List domains(workgroups) and
                                               servers of tree

ヘルプオプション:
  -?, --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

Version options:
  -V, --version                                Print version
[root@rocky9-samba45 ~]#


この記事が気に入ったらサポートをしてみませんか?