7 CONTENT="Modular DocBook HTML Stylesheet Version 1.57"></HEAD
27 >smbsh -- Allows access to Windows NT filesystem
28 using UNIX commands</DIV
30 CLASS="REFSYNOPSISDIV"
40 > [-W workgroup] [-U username] [-P prefix] [-R <name resolve order>] [-d <debug level>] [-l logfile] [-L libdir]</P
50 >This tool is part of the <A
59 > allows you to access an NT filesystem
60 using UNIX commands such as <B
70 shell that is dynamically linked in order for <B
92 >Override the default workgroup specified in the
93 workgroup parameter of the <TT
97 for this session. This may be needed to connect to some
101 >-U username[%pass]</DT
104 >Sets the SMB username or username and password.
105 If this option is not specified, the user will be prompted for
106 both the username and the password. If %pass is not specified,
107 the user will be prompted for the password.
115 the user to set the directory prefix for SMB access. The
116 default value if this option is not specified is
123 >-R <name resolve order></DT
126 >This option is used to determine what naming
127 services and in what order to resolve
128 host names to IP addresses. The option takes a space-separated
129 string of different name resolution options.</P
131 >The options are :"lmhosts", "host", "wins" and "bcast".
132 They cause names to be resolved as follows :</P
142 Lookup an IP address in the Samba lmhosts file. If the
143 line in lmhosts has no name type attached to the
146 HREF="lmhosts.5.html"
150 for details) then any name type matches for lookup.
159 Do a standard host name to IP address resolution, using
164 lookups. This method of name resolution is operating
165 system dependent, for instance on IRIX or Solaris this
166 may be controlled by the <TT
170 > file). Note that this method is only used
171 if the NetBIOS name type being queried is the 0x20
172 (server) name type, otherwise it is ignored.
181 Query a name with the IP address listed in the
188 WINS server has been specified this method will be
198 Do a broadcast on each of the known local interfaces
205 parameter. This is the least reliable of the name
206 resolution methods as it depends on the target host
207 being on a locally connected subnet.
212 >If this parameter is not set then the name resolve order
217 (name resolve order) will be used. </P
219 >The default order is lmhosts, host, wins, bcast. Without
220 this parameter or any entry in the <TT
226 > parameter of the <TT
230 file, the name resolution methods will be attempted in this
234 >-d <debug level></DT
237 >debug level is an integer from 0 to 10.</P
239 >The default value if this parameter is not specified
242 >The higher this value, the more detail will be logged
243 about the activities of <B
247 0, only critical errors and serious warnings will be logged.
254 >If specified causes all debug messages to be
255 written to the file specified by <TT
261 >. If not specified then all messages will be
274 >This parameter specifies the location of the
275 shared libraries used by <B
279 value is specified at compile time.
296 > command, execute <B
299 > from the prompt and enter the username and password
300 that authenticates you to the machine running the Windows NT
310 CLASS="PROGRAMLISTING"
344 >Any dynamically linked command you execute from
345 this shell will access the <TT
349 using the smb protocol. For example, the command <B
353 > will show a list of workgroups. The command
357 > will show all the machines in
358 the workgroup MYGROUP. The command
361 >ls /smb/MYGROUP/<machine-name></B
362 > will show the share
363 names for that machine. You could then, for example, use the <B
366 > command to change directories, <B
383 >This man page is correct for version 2.2 of
397 > works by intercepting the standard
398 libc calls with the dynamically loaded versions in <TT
401 >. Not all calls have been "wrapped", so
402 some programs may not function correctly under <B
408 >Programs which are not dynamically linked cannot make
412 >'s functionality. Most versions
417 describe how a program was linked.</P
436 HREF="smb.conf.5.html"
450 >The original Samba software and related utilities
451 were created by Andrew Tridgell. Samba is now developed
452 by the Samba Team as an Open Source project similar
453 to the way the Linux kernel is developed.</P
455 >The original Samba man pages were written by Karl Auer.
456 The man page sources were converted to YODL format (another
457 excellent piece of Open Source software, available at
459 HREF="ftp://ftp.icce.rug.nl/pub/unix/"
461 > ftp://ftp.icce.rug.nl/pub/unix/</A
462 >) and updated for the Samba 2.0
463 release by Jeremy Allison. The conversion to DocBook for
464 Samba 2.2 was done by Gerald Carter</P