Ignore:
Timestamp:
May 23, 2008, 6:56:41 AM (17 years ago)
Author:
Paul Smedley
Message:

Update source to 3.0.29

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.0/docs/manpages/smbsh.1

    r44 r134  
    1 .\"Generated by db2man.xsl. Don't modify this, modify the source.
    2 .de Sh \" Subsection
    3 .br
    4 .if t .Sp
    5 .ne 5
    6 .PP
    7 \fB\\$1\fR
    8 .PP
    9 ..
    10 .de Sp \" Vertical space (when we can't use .PP)
    11 .if t .sp .5v
    12 .if n .sp
    13 ..
    14 .de Ip \" List item
    15 .br
    16 .ie \\n(.$>=3 .ne \\$3
    17 .el .ne 3
    18 .IP "\\$1" \\$2
    19 ..
    20 .TH "SMBSH" 1 "" "" ""
     1.\"     Title: smbsh
     2.\"    Author:
     3.\" Generator: DocBook XSL Stylesheets v1.73.2 <http://docbook.sf.net/>
     4.\"      Date: 05/21/2008
     5.\"    Manual: User Commands
     6.\"    Source: Samba 3.0
     7.\"
     8.TH "SMBSH" "1" "05/21/2008" "Samba 3\.0" "User Commands"
     9.\" disable hyphenation
     10.nh
     11.\" disable justification (adjust text to left margin only)
     12.ad l
    2113.SH "NAME"
    2214smbsh - Allows access to remote SMB shares using UNIX commands
    2315.SH "SYNOPSIS"
    2416.HP 1
    25 smbsh [-W workgroup] [-U username] [-P prefix] [-R <name resolve order>] [-d <debug level>] [-l logdir] [-L libdir]
     17smbsh [\-W\ workgroup] [\-U\ username] [\-P\ prefix] [\-R\ <name\ resolve\ order>] [\-d\ <debug\ level>] [\-l\ logdir] [\-L\ libdir]
    2618.SH "DESCRIPTION"
    2719.PP
    2820This tool is part of the
    2921\fBsamba\fR(7)
    30 suite.
     22suite\.
    3123.PP
    3224smbsh
     
    3426ls,
    3527egrep, and
    36 rcp. You must use a shell that is dynamically linked in order for
    37 smbsh
    38 to work correctly.
     28rcp\. You must use a shell that is dynamically linked in order for
     29smbsh
     30to work correctly\.
    3931.SH "OPTIONS"
    4032.PP
    41 -W WORKGROUP
    42 .RS 3n
     33\-W WORKGROUP
     34.RS 4
    4335Override the default workgroup specified in the workgroup parameter of the
    4436\fBsmb.conf\fR(5)
    45 file for this session. This may be needed to connect to some servers.
    46 .RE
    47 .PP
    48 -U username[%pass]
    49 .RS 3n
    50 Sets the SMB username or username and password. If this option is not specified, the user will be prompted for both the username and the password. If %pass is not specified, the user will be prompted for the password.
    51 .RE
    52 .PP
    53 -P prefix
    54 .RS 3n
    55 This option allows the user to set the directory prefix for SMB access. The default value if this option is not specified is
    56 \fBsmb\fR.
    57 .RE
    58 .PP
    59 -s <configuration file>
    60 .RS 3n
    61 The file specified contains the configuration details required by the server. The information in this file includes server-specific information such as what printcap file to use, as well as descriptions of all the services that the server is to provide. See
    62 \fIsmb.conf\fR
    63 for more information. The default configuration file name is determined at compile time.
    64 .RE
    65 .PP
    66 -d|--debuglevel=level
    67 .RS 3n
     37file for this session\. This may be needed to connect to some servers\.
     38.RE
     39.PP
     40\-U username[%pass]
     41.RS 4
     42Sets the SMB username or username and password\. If this option is not specified, the user will be prompted for both the username and the password\. If %pass is not specified, the user will be prompted for the password\.
     43.RE
     44.PP
     45\-P prefix
     46.RS 4
     47This option allows the user to set the directory prefix for SMB access\. The default value if this option is not specified is
     48\fIsmb\fR\.
     49.RE
     50.PP
     51\-s <configuration file>
     52.RS 4
     53The file specified contains the configuration details required by the server\. The information in this file includes server\-specific information such as what printcap file to use, as well as descriptions of all the services that the server is to provide\. See
     54\fIsmb\.conf\fR
     55for more information\. The default configuration file name is determined at compile time\.
     56.RE
     57.PP
     58\-d|\-\-debuglevel=level
     59.RS 4
    6860\fIlevel\fR
    69 is an integer from 0 to 10. The default value if this parameter is not specified is zero.
    70 .sp
    71 The higher this value, the more detail will be logged to the log files about the activities of the server. At level 0, only critical errors and serious warnings will be logged. Level 1 is a reasonable level for day-to-day running - it generates a small amount of information about operations carried out.
    72 .sp
    73 Levels above 1 will generate considerable amounts of log data, and should only be used when investigating a problem. Levels above 3 are designed for use only by developers and generate HUGE amounts of log data, most of which is extremely cryptic.
     61is an integer from 0 to 10\. The default value if this parameter is not specified is 0\.
     62.sp
     63The higher this value, the more detail will be logged to the log files about the activities of the server\. At level 0, only critical errors and serious warnings will be logged\. Level 1 is a reasonable level for day\-to\-day running \- it generates a small amount of information about operations carried out\.
     64.sp
     65Levels above 1 will generate considerable amounts of log data, and should only be used when investigating a problem\. Levels above 3 are designed for use only by developers and generate HUGE amounts of log data, most of which is extremely cryptic\.
    7466.sp
    7567Note that specifying this parameter here will override the
    76 
     68\fIlog level\fR
    7769parameter in the
    78 \fIsmb.conf\fR
    79 file.
    80 .RE
    81 .PP
    82 -R <name resolve order>
    83 .RS 3n
    84 This option is used 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.
    85 .sp
    86 The options are: "lmhosts", "host", "wins" and "bcast". They cause names to be resolved as follows :
    87 .RS 3n
    88 .TP 3n
    89 \(bu
    90 \fBlmhosts\fR: 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
     70\fIsmb\.conf\fR
     71file\.
     72.RE
     73.PP
     74\-R <name resolve order>
     75.RS 4
     76This option is used 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\.
     77.sp
     78The options are: "lmhosts", "host", "wins" and "bcast"\. They cause names to be resolved as follows :
     79.sp
     80.RS 4
     81.ie n \{\
     82\h'-04'\(bu\h'+03'\c
     83.\}
     84.el \{\
     85.sp -1
     86.IP \(bu 2.3
     87.\}
     88\fBlmhosts\fR: 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
    9189\fBlmhosts\fR(5)
    92 for details) then any name type matches for lookup.
    93 .TP 3n
    94 \(bu
     90for details) then any name type matches for lookup\.
     91.RE
     92.sp
     93.RS 4
     94.ie n \{\
     95\h'-04'\(bu\h'+03'\c
     96.\}
     97.el \{\
     98.sp -1
     99.IP \(bu 2.3
     100.\}
    95101\fBhost\fR: Do a standard host name to IP address resolution, using the system
    96 \fI/etc/hosts\fR, 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
    97 \fI/etc/nsswitch.conf \fR
    98 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.
    99 .TP 3n
    100 \(bu
     102\fI/etc/hosts\fR, 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
     103\fI/etc/nsswitch\.conf \fR
     104file)\. Note that this method is only used if the NetBIOS name type being queried is the 0x20 (server) name type, otherwise it is ignored\.
     105.RE
     106.sp
     107.RS 4
     108.ie n \{\
     109\h'-04'\(bu\h'+03'\c
     110.\}
     111.el \{\
     112.sp -1
     113.IP \(bu 2.3
     114.\}
    101115\fBwins\fR: Query a name with the IP address listed in the
    102116\fIwins server\fR
    103 parameter. If no WINS server has been specified this method will be ignored.
    104 .TP 3n
    105 \(bu
     117parameter\. If no WINS server has been specified this method will be ignored\.
     118.RE
     119.sp
     120.RS 4
     121.ie n \{\
     122\h'-04'\(bu\h'+03'\c
     123.\}
     124.el \{\
     125.sp -1
     126.IP \(bu 2.3
     127.\}
    106128\fBbcast\fR: Do a broadcast on each of the known local interfaces listed in the
    107129\fIinterfaces\fR
    108 parameter. This is the least reliable of the name resolution methods as it depends on the target host being on a locally connected subnet.
    109 .RE
    110 .IP "" 3n
     130parameter\. This is the least reliable of the name resolution methods as it depends on the target host being on a locally connected subnet\.
     131.sp
     132.RE
    111133If this parameter is not set then the name resolve order defined in the
    112 \fIsmb.conf\fR
    113 file parameter () will be used.
    114 .sp
    115 The default order is lmhosts, host, wins, bcast. Without this parameter or any entry in the
    116 
     134\fIsmb\.conf\fR
     135file parameter (\fIname resolve order\fR) will be used\.
     136.sp
     137The default order is lmhosts, host, wins, bcast\. Without this parameter or any entry in the
     138\fIname resolve order\fR
    117139parameter of the
    118 \fIsmb.conf\fR
    119 file, the name resolution methods will be attempted in this order.
    120 .RE
    121 .PP
    122 -L libdir
    123 .RS 3n
     140\fIsmb\.conf\fR
     141file, the name resolution methods will be attempted in this order\.
     142.RE
     143.PP
     144\-L libdir
     145.RS 4
    124146This parameter specifies the location of the shared libraries used by
    125 smbsh. The default value is specified at compile time.
     147smbsh\. The default value is specified at compile time\.
    126148.RE
    127149.SH "EXAMPLES"
     
    131153command, execute
    132154smbsh
    133 from the prompt and enter the username and password that authenticates you to the machine running the Windows NT operating system.
    134 
    135 .sp
    136 
     155from the prompt and enter the username and password that authenticates you to the machine running the Windows NT operating system\.
     156.sp
     157.RS 4
    137158.nf
    138 
    139159system% \fBsmbsh\fR
    140160Username: \fBuser\fR
    141161Password: \fBXXXXXXX\fR
    142 
    143162.fi
    144 
     163.RE
    145164.PP
    146165Any dynamically linked command you execute from this shell will access the
    147166\fI/smb\fR
    148 directory using the smb protocol. For example, the command
     167directory using the smb protocol\. For example, the command
    149168ls /smb
    150 will show a list of workgroups. The command
     169will show a list of workgroups\. The command
    151170ls /smb/MYGROUP
    152 will show all the machines in the workgroup MYGROUP. The command
    153 ls /smb/MYGROUP/<machine-name>
    154 will show the share names for that machine. You could then, for example, use the
     171will show all the machines in the workgroup MYGROUP\. The command
     172ls /smb/MYGROUP/<machine\-name>
     173will show the share names for that machine\. You could then, for example, use the
    155174cd
    156175command to change directories,
     
    158177to edit files, and
    159178rcp
    160 to copy files.
     179to copy files\.
    161180.SH "VERSION"
    162181.PP
    163 This man page is correct for version 3.0 of the Samba suite.
     182This man page is correct for version 3\.0 of the Samba suite\.
    164183.SH "BUGS"
    165184.PP
    166185smbsh
    167186works by intercepting the standard libc calls with the dynamically loaded versions in
    168 \fI smbwrapper.o\fR. Not all calls have been "wrapped", so some programs may not function correctly under
    169 smbsh.
     187\fI smbwrapper\.o\fR\. Not all calls have been "wrapped", so some programs may not function correctly under
     188smbsh\.
    170189.PP
    171190Programs which are not dynamically linked cannot make use of
    172 smbsh's functionality. Most versions of UNIX have a
     191smbsh\'s functionality\. Most versions of UNIX have a
    173192file
    174 command that will describe how a program was linked.
     193command that will describe how a program was linked\.
    175194.SH "SEE ALSO"
    176195.PP
     
    179198.SH "AUTHOR"
    180199.PP
    181 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.
    182 .PP
    183 The original Samba man pages were written by Karl Auer. The man page sources were converted to YODL format (another excellent piece of Open Source software, available at
    184 ftp://ftp.icce.rug.nl/pub/unix/) and updated for the Samba 2.0 release by Jeremy Allison. The conversion to DocBook for Samba 2.2 was done by Gerald Carter. The conversion to DocBook XML 4.2 for Samba 3.0 was done by Alexander Bokovoy.
    185 
     200The 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\.
     201.PP
     202The original Samba man pages were written by Karl Auer\. The man page sources were converted to YODL format (another excellent piece of Open Source software, available at
     203ftp://ftp\.icce\.rug\.nl/pub/unix/) and updated for the Samba 2\.0 release by Jeremy Allison\. The conversion to DocBook for Samba 2\.2 was done by Gerald Carter\. The conversion to DocBook XML 4\.2 for Samba 3\.0 was done by Alexander Bokovoy\.
Note: See TracChangeset for help on using the changeset viewer.