1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.01 Transitional//EN">
8 CONTENT=
"Modular DocBook HTML Stylesheet Version 1.77+"></HEAD
28 >smbsh
--
Allows access to Windows NT filesystem
29 using UNIX commands
</DIV
31 CLASS=
"REFSYNOPSISDIV"
41 > [-W workgroup] [-U username] [-P prefix] [-R
<name resolve order
>] [-d
<debug level
>] [-l logfile] [-L libdir]
</P
51 >This tool is part of the
<SPAN
62 > allows you to access an NT filesystem
63 using UNIX commands such as
<B
73 shell that is dynamically linked in order for
<B
95 >Override the default workgroup specified in the
96 workgroup parameter of the
<SPAN
103 for this session. This may be needed to connect to some
107 >-U username[%pass]
</DT
110 >Sets the SMB username or username and password.
111 If this option is not specified, the user will be prompted for
112 both the username and the password. If %pass is not specified,
113 the user will be prompted for the password.
121 the user to set the directory prefix for SMB access. The
122 default value if this option is not specified is
133 >-R
<name resolve order
></DT
136 >This option is used to determine what naming
137 services and in what order to resolve
138 host names to IP addresses. The option takes a space-separated
139 string of different name resolution options.
</P
141 >The options are:
"lmhosts",
"host",
"wins" and
"bcast".
142 They cause names to be resolved as follows :
</P
152 Lookup an IP address in the Samba lmhosts file. If the
153 line in lmhosts has no name type attached to the
158 CLASS=
"REFENTRYTITLE"
162 then any name type matches for lookup.
171 Do a standard host name to IP address resolution, using
176 lookups. This method of name resolution is operating
177 system dependent, for instance on IRIX or Solaris this
178 may be controlled by the
<TT
182 > file). Note that this method is only used
183 if the NetBIOS name type being queried is the
0x20
184 (server) name type, otherwise it is ignored.
193 Query a name with the IP address listed in the
200 WINS server has been specified this method will be
210 Do a broadcast on each of the known local interfaces
217 parameter. This is the least reliable of the name
218 resolution methods as it depends on the target host
219 being on a locally connected subnet.
224 >If this parameter is not set then the name resolve order
228 CLASS=
"REFENTRYTITLE"
235 >name resolve order
</I
239 >The default order is lmhosts, host, wins, bcast. Without
240 this parameter or any entry in the
<TT
246 > parameter of the
<SPAN
249 CLASS=
"REFENTRYTITLE"
252 > file, the name resolution methods
253 will be attempted in this order.
</P
256 >-d
<debug level
></DT
259 >debug level is an integer from
0 to
10.
</P
261 >The default value if this parameter is not specified
264 >The higher this value, the more detail will be logged
265 about the activities of
<SPAN
268 CLASS=
"REFENTRYTITLE"
272 0, only critical errors and serious warnings will be logged.
279 >If specified causes all debug messages to be
280 written to the file specified by
<TT
286 >. If not specified then all messages will be
299 >This parameter specifies the location of the
300 shared libraries used by
<B
304 value is specified at compile time.
321 > command, execute
<B
324 > from the prompt and enter the username and password
325 that authenticates you to the machine running the Windows NT
328 CLASS=
"PROGRAMLISTING"
358 >Any dynamically linked command you execute from
359 this shell will access the
<TT
363 using the smb protocol. For example, the command
<B
367 > will show a list of workgroups. The command
371 > will show all the machines in
372 the workgroup MYGROUP. The command
375 >ls /smb/MYGROUP/
<machine-name
></B
376 > will show the share
377 names for that machine. You could then, for example, use the
<B
380 > command to change directories,
<B
397 >This man page is correct for version
3.0 of the Samba suite.
</P
410 > works by intercepting the standard
411 libc calls with the dynamically loaded versions in
<TT
414 >. Not all calls have been
"wrapped", so
415 some programs may not function correctly under
<B
421 >Programs which are not dynamically linked cannot make
425 >'s functionality. Most versions
430 describe how a program was linked.
</P
443 CLASS=
"REFENTRYTITLE"
449 CLASS=
"REFENTRYTITLE"
462 >The original Samba software and related utilities
463 were created by Andrew Tridgell. Samba is now developed
464 by the Samba Team as an Open Source project similar
465 to the way the Linux kernel is developed.
</P
467 >The original Samba man pages were written by Karl Auer.
468 The man page sources were converted to YODL format (another
469 excellent piece of Open Source software, available at
<A
470 HREF=
"ftp://ftp.icce.rug.nl/pub/unix/"
472 > ftp://ftp.icce.rug.nl/pub/unix/
</A
473 >) and updated for the Samba
2.0
474 release by Jeremy Allison. The conversion to DocBook for
475 Samba
2.2 was done by Gerald Carter. The conversion to DocBook XML
4.2
476 for Samba
3.0 was done by Alexander Bokovoy.
</P