| 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
|
|---|
| 13 | .SH "NAME"
|
|---|
| 14 | smbsh - Allows access to remote SMB shares using UNIX commands
|
|---|
| 15 | .SH "SYNOPSIS"
|
|---|
| 16 | .HP 1
|
|---|
| 17 | smbsh [\-W\ workgroup] [\-U\ username] [\-P\ prefix] [\-R\ <name\ resolve\ order>] [\-d\ <debug\ level>] [\-l\ logdir] [\-L\ libdir]
|
|---|
| 18 | .SH "DESCRIPTION"
|
|---|
| 19 | .PP
|
|---|
| 20 | This tool is part of the
|
|---|
| 21 | \fBsamba\fR(7)
|
|---|
| 22 | suite\.
|
|---|
| 23 | .PP
|
|---|
| 24 | smbsh
|
|---|
| 25 | allows you to access an NT filesystem using UNIX commands such as
|
|---|
| 26 | ls,
|
|---|
| 27 | egrep, and
|
|---|
| 28 | rcp\. You must use a shell that is dynamically linked in order for
|
|---|
| 29 | smbsh
|
|---|
| 30 | to work correctly\.
|
|---|
| 31 | .SH "OPTIONS"
|
|---|
| 32 | .PP
|
|---|
| 33 | \-W WORKGROUP
|
|---|
| 34 | .RS 4
|
|---|
| 35 | Override the default workgroup specified in the workgroup parameter of the
|
|---|
| 36 | \fBsmb.conf\fR(5)
|
|---|
| 37 | file for this session\. This may be needed to connect to some servers\.
|
|---|
| 38 | .RE
|
|---|
| 39 | .PP
|
|---|
| 40 | \-U username[%pass]
|
|---|
| 41 | .RS 4
|
|---|
| 42 | 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\.
|
|---|
| 43 | .RE
|
|---|
| 44 | .PP
|
|---|
| 45 | \-P prefix
|
|---|
| 46 | .RS 4
|
|---|
| 47 | This 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
|
|---|
| 53 | 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
|
|---|
| 54 | \fIsmb\.conf\fR
|
|---|
| 55 | for more information\. The default configuration file name is determined at compile time\.
|
|---|
| 56 | .RE
|
|---|
| 57 | .PP
|
|---|
| 58 | \-d|\-\-debuglevel=level
|
|---|
| 59 | .RS 4
|
|---|
| 60 | \fIlevel\fR
|
|---|
| 61 | is an integer from 0 to 10\. The default value if this parameter is not specified is 0\.
|
|---|
| 62 | .sp
|
|---|
| 63 | 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\.
|
|---|
| 64 | .sp
|
|---|
| 65 | 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\.
|
|---|
| 66 | .sp
|
|---|
| 67 | Note that specifying this parameter here will override the
|
|---|
| 68 | \fIlog level\fR
|
|---|
| 69 | parameter in the
|
|---|
| 70 | \fIsmb\.conf\fR
|
|---|
| 71 | file\.
|
|---|
| 72 | .RE
|
|---|
| 73 | .PP
|
|---|
| 74 | \-R <name resolve order>
|
|---|
| 75 | .RS 4
|
|---|
|
|---|