Appendix nmblookupコマンド
Samba3のnmblookupコマンド
[root@rocky9-samba32 ~]#
[root@rocky9-samba32 ~]# nmblookup --version
Version 3.6.25
[root@rocky9-samba32 ~]#
[root@rocky9-samba32 ~]# nmblookup --help
Usage: <NODE> ...
-B, --broadcast=BROADCAST-ADDRESS Specify address to use for broadcasts
-f, --flags List the NMB flags returned
-U, --unicast=STRING Specify address to use for unicast
-M, --master-browser Search for a master browser
-R, --recursion Set recursion desired in package
-S, --status Lookup node status as well
-T, --translate Translate IP addresses into names
-r, --root-port Use root port 137 (Win95 only replies
to this)
-A, --lookup-by-ip Do a node status on <name> as an IP
Address
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
Connection options:
-O, --socket-options=SOCKETOPTIONS socket options to use
-n, --netbiosname=NETBIOSNAME Primary netbios name
-W, --workgroup=WORKGROUP Set the workgroup name
-i, --scope=SCOPE Use this Netbios scope
[root@rocky9-samba32 ~]#
[root@rocky9-samba32 ~]# nmblookup --usage
Usage: [-?] [-?fMRSTrAV] [-?fMRSTrAV] [-?|--help] [--usage] [-B|--broadcast BROADCAST-ADDRESS]
[-f|--flags] [-U|--unicast STRING] [-M|--master-browser]
[-R|--recursion] [-S|--status] [-T|--translate] [-r|--root-port]
[-A|--lookup-by-ip] [-d|--debuglevel DEBUGLEVEL]
[-s|--configfile CONFIGFILE] [-l|--log-basename LOGFILEBASE]
[-V|--version] [--option=name=value]
[-O|--socket-options SOCKETOPTIONS] [-n|--netbiosname NETBIOSNAME]
[-W|--workgroup WORKGROUP] [-i|--scope SCOPE] <NODE> ...
[root@rocky9-samba32 ~]#
Samba4のnmblookupコマンド
[root@rocky9-samba42 ~]#
[root@rocky9-samba42 ~]# nmblookup --version
Version 4.18.4
[root@rocky9-samba42 ~]#
[root@rocky9-samba42 ~]# nmblookup --help
使い方: <NODE> ...
-B, --broadcast=BROADCAST-ADDRESS Specify address to use for
broadcasts
-f, --flags List the NMB flags returned
-U, --unicast=文字列 Specify address to use for unicast
-M, --master-browser Search for a master browser
--recursion Set recursion desired in package
-S, --status Lookup node status as well
-T, --translate Translate IP addresses into names
-r, --root-port Use root port 137 (Win95 only
replies to this)
-A, --lookup-by-ip Do a node status on <name> as an
IP Address
ヘルプオプション:
-?, --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
Connection options:
-R, --name-resolve=NAME-RESOLVE-ORDER Use these name resolution services
only
-O, --socket-options=SOCKETOPTIONS socket options to use
-m, --max-protocol=MAXPROTOCOL Set max protocol level
-n, --netbiosname=NETBIOSNAME Primary netbios name
--netbios-scope=SCOPE Use this Netbios scope
-W, --workgroup=WORKGROUP Set the workgroup name
--realm=REALM Set the realm name
Version options:
-V, --version Print version
[root@rocky9-samba42 ~]#
[root@rocky9-samba42 ~]# nmblookup --usage
使い方: [-?fMSTrAV] [-?|--help] [--usage] [-B|--broadcast=BROADCAST-ADDRESS]
[-f|--flags] [-U|--unicast=文字列] [-M|--master-browser] [--recursion]
[-S|--status] [-T|--translate] [-r|--root-port] [-A|--lookup-by-ip]
[-d|--debuglevel=DEBUGLEVEL] [--debug-stdout]
[-s|--configfile=CONFIGFILE] [--option=name=value]
[-l|--log-basename=LOGFILEBASE] [--leak-report] [--leak-report-full]
[-R|--name-resolve=NAME-RESOLVE-ORDER]
[-O|--socket-options=SOCKETOPTIONS] [-m|--max-protocol=MAXPROTOCOL]
[-n|--netbiosname=NETBIOSNAME] [--netbios-scope=SCOPE]
[-W|--workgroup=WORKGROUP] [--realm=REALM] [-V|--version] <NODE> ...
[root@rocky9-samba42 ~]#
この記事が気に入ったらサポートをしてみませんか?