source: branches/samba-3.0/docs/manpages/smbsh.1@ 134

Last change on this file since 134 was 134, checked in by Paul Smedley, 18 years ago

Update source to 3.0.29

File size: 6.9 KB
Line 
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"
14smbsh - Allows access to remote SMB shares using UNIX commands
15.SH "SYNOPSIS"
16.HP 1
17smbsh [\-W\ workgroup] [\-U\ username] [\-P\ prefix] [\-R\ <name\ resolve\ order>] [\-d\ <debug\ level>] [\-l\ logdir] [\-L\ libdir]
18.SH "DESCRIPTION"
19.PP
20This tool is part of the
21\fBsamba\fR(7)
22suite\.
23.PP
24smbsh
25allows you to access an NT filesystem using UNIX commands such as
26ls,
27egrep, and
28rcp\. You must use a shell that is dynamically linked in order for
29smbsh
30to work correctly\.
31.SH "OPTIONS"
32.PP
33\-W WORKGROUP
34.RS 4
35Override the default workgroup specified in the workgroup parameter of the
36\fBsmb.conf\fR(5)
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
60\fIlevel\fR
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\.
66.sp
67Note that specifying this parameter here will override the
68\fIlog level\fR
69parameter in the
70\fIsmb\.conf\fR
71file\.
72.RE
73.PP
74\-R <name resolve order>
75.RS 4