From 74b2a52eebc7be3b73904c5e2375c3b9dc99056d Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Mon, 18 Jan 2021 09:35:51 +0100 Subject: [PATCH] docs-xml: Update smbclient manpage for new cmdline opition parser Signed-off-by: Andreas Schneider Reviewed-by: Andrew Bartlett --- docs-xml/manpages/smbclient.1.xml | 197 +++++++++++++----------------- 1 file changed, 88 insertions(+), 109 deletions(-) diff --git a/docs-xml/manpages/smbclient.1.xml b/docs-xml/manpages/smbclient.1.xml index 64a3dc285bd..0de5b8a0e00 100644 --- a/docs-xml/manpages/smbclient.1.xml +++ b/docs-xml/manpages/smbclient.1.xml @@ -20,57 +20,94 @@ smbclient - -b <buffer size> - -d debuglevel - -e - -L <netbios name> - -U username - -I destinationIP - -M <netbios name> - -m maxprotocol - -A authfile - -N - -C - -g - -i scope - -O <socket options> - -p port - -R <name resolve order> - -s <smb config file> - -t <per-operation timeout in seconds> - -k - -P - -c <command> + -M|--message=HOST + -I|--ip-address=IP + -E|--stderr + -L|--list=HOST + -T|--tar=<c|x>IXFvgbNan + -D|--directory=DIR + -b|--send-buffer=BYTES + -t|--timeout=SECONDS + -p|--port=PORT + -g|--grepable + -q|--quiet + -B|--browse + -?|--help + --usage + -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|--maxprotocol=MAXPROTOCOL + -n|--netbiosname=NETBIOSNAME + --netbios-scope=SCOPE + -W|--workgroup=WORKGROUP + --realm=REALM + -U|--user=[DOMAIN/]USERNAME%[PASSWORD] + -N|--no-pass + --password=STRING + --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 + -c|--command=STRING smbclient servicename password - -b <buffer size> - -d debuglevel - -e - -D Directory - -U username - -W workgroup - -M <netbios name> - -m maxprotocol - -A authfile - -N - -C - -g - -l log-basename - -I destinationIP - -E - -c <command string> - -i scope - -O <socket options> - -p port - -R <name resolve order> - -s <smb config file> - -t <per-operation timeout in seconds> - -T<c|x>IXFvgbNan - -k + -?|--help + --usage + -M|--message=HOST + -I|--ip-address=IP + -E|--stderr + -L|--list=HOST + -T|--tar=<c|x>IXFvgbNan + -D|--directory=DIR + -b|--send-buffer=BYTES + -t|--timeout=SECONDS + -p|--port=PORT + -g|--grepable + -q|--quiet + -B|--browse + -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 + -n|--netbiosname=NETBIOSNAME + -W|--workgroup=WORKGROUP + --realm=REALM + --netbios-scope=SCOPE + -m|--maxprotocol=MAXPROTOCOL + -U|--user=[DOMAIN/]USERNAME%[PASSWORD] + -N|--no-pass + --password=STRING + --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 + -k|--kerberos=STRING @@ -114,7 +151,7 @@ The server name is looked up according to either - the -R parameter to smbclient or + the -R|--name-resolve parameter to smbclient or using the name resolve order parameter in the smb.conf 5 file, @@ -147,63 +184,6 @@ - - -R|--name-resolve <name resolve order> - This option is used by the programs in the Samba - suite to determine what naming services and in what order to resolve - host names to IP addresses. The option takes a space-separated - string of different name resolution options. - - The options are :"lmhosts", "host", "wins" and "bcast". They - cause names to be resolved as follows: - - - lmhosts: Lookup an IP - address in the Samba lmhosts file. If the line in lmhosts has - no name type attached to the NetBIOS name (see - the lmhosts - 5 for details) then - any name type matches for lookup. - - - host: Do a standard host - name to IP address resolution, using the system /etc/hosts - , NIS, or DNS lookups. This method of name resolution - is operating system dependent, for instance on IRIX or Solaris this - may be controlled by the /etc/nsswitch.conf - file). Note that this method is only used if the NetBIOS name - type being queried is the 0x20 (server) name type, otherwise - it is ignored. - - - wins: Query a name with - the IP address listed in the wins server - parameter. If no WINS server has - been specified this method will be ignored. - - - bcast: Do a broadcast on - each of the known local interfaces listed in the - interfaces - parameter. This is the least reliable of the name resolution - methods as it depends on the target host being on a locally - connected subnet. - - - - If this parameter is not set then the name resolve order - defined in the smb.conf - 5 file parameter - (name resolve order) will be used. - - The default order is lmhosts, host, wins, bcast and without - this parameter or any entry in the name resolve order - parameter of the smb.conf - 5 file the name resolution - methods will be attempted in this order. - - - -M|--message NetBIOS name This options allows you to send messages, using @@ -335,12 +315,6 @@ - &stdarg.client.debug; - &popt.common.samba; - &popt.common.credentials; - &popt.common.connection; - &popt.autohelp; - -t|--timeout <timeout-seconds> This allows the user to tune the default @@ -432,6 +406,7 @@ archive bit to be reset when a file is backed up. Useful with the g and c flags. + Tar Long File Names @@ -504,6 +479,10 @@ to the server, e.g. -c 'print -'. + &popt.autohelp; + &cmdline.common.samba.client; + &cmdline.common.connection; + &cmdline.common.credentials; -- 2.47.3