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 <A
60 > allows you to access an NT filesystem
61 using UNIX commands such as <B
71 shell that is dynamically linked in order for <B
93 >Override the default workgroup specified in the
94 workgroup parameter of the <TT
98 for this session. This may be needed to connect to some
102 >-U username[%pass]</DT
105 >Sets the SMB username or username and password.
106 If this option is not specified, the user will be prompted for
107 both the username and the password. If %pass is not specified,
108 the user will be prompted for the password.
116 the user to set the directory prefix for SMB access. The
117 default value if this option is not specified is
128 >-R <name resolve order></DT
131 >This option is used to determine what naming
132 services and in what order to resolve
133 host names to IP addresses. The option takes a space-separated
134 string of different name resolution options.</P
136 >The options are :"lmhosts", "host", "wins" and "bcast".
137 They cause names to be resolved as follows :</P
147 Lookup an IP address in the Samba lmhosts file. If the
148 line in lmhosts has no name type attached to the
151 HREF="lmhosts.5.html"
155 for details) then any name type matches for lookup.
164 Do a standard host name to IP address resolution, using
169 lookups. This method of name resolution is operating
170 system dependent, for instance on IRIX or Solaris this
171 may be controlled by the <TT
175 > file). Note that this method is only used
176 if the NetBIOS name type being queried is the 0x20
177 (server) name type, otherwise it is ignored.
186 Query a name with the IP address listed in the
193 WINS server has been specified this method will be
203 Do a broadcast on each of the known local interfaces
210 parameter. This is the least reliable of the name
211 resolution methods as it depends on the target host
212 being on a locally connected subnet.
217 >If this parameter is not set then the name resolve order
222 (name resolve order) will be used. </P
224 >The default order is lmhosts, host, wins, bcast. Without
225 this parameter or any entry in the <TT
231 > parameter of the <TT
235 file, the name resolution methods will be attempted in this
239 >-d <debug level></DT
242 >debug level is an integer from 0 to 10.</P
244 >The default value if this parameter is not specified
247 >The higher this value, the more detail will be logged
248 about the activities of <B
252 0, only critical errors and serious warnings will be logged.
259 >If specified causes all debug messages to be
260 written to the file specified by <TT
266 >. If not specified then all messages will be
279 >This parameter specifies the location of the
280 shared libraries used by <B
284 value is specified at compile time.
301 > command, execute <B
304 > from the prompt and enter the username and password
305 that authenticates you to the machine running the Windows NT
309 CLASS="PROGRAMLISTING"
340 >Any dynamically linked command you execute from
341 this shell will access the <TT
345 using the smb protocol. For example, the command <B
349 > will show a list of workgroups. The command
353 > will show all the machines in
354 the workgroup MYGROUP. The command
357 >ls /smb/MYGROUP/<machine-name></B
358 > will show the share
359 names for that machine. You could then, for example, use the <B
362 > command to change directories, <B
379 >This man page is correct for version 2.2 of
393 > works by intercepting the standard
394 libc calls with the dynamically loaded versions in <TT
397 >. Not all calls have been "wrapped", so
398 some programs may not function correctly under <B
404 >Programs which are not dynamically linked cannot make
408 >'s functionality. Most versions
413 describe how a program was linked.</P
432 HREF="smb.conf.5.html"
446 >The original Samba software and related utilities
447 were created by Andrew Tridgell. Samba is now developed
448 by the Samba Team as an Open Source project similar
449 to the way the Linux kernel is developed.</P
451 >The original Samba man pages were written by Karl Auer.
452 The man page sources were converted to YODL format (another
453 excellent piece of Open Source software, available at
455 HREF="ftp://ftp.icce.rug.nl/pub/unix/"
457 > ftp://ftp.icce.rug.nl/pub/unix/</A
458 >) and updated for the Samba 2.0
459 release by Jeremy Allison. The conversion to DocBook for
460 Samba 2.2 was done by Gerald Carter</P