Changeset 44 for trunk/samba/docs/htmldocs/manpages/smbsh.1.html
- Timestamp:
- Jun 29, 2007, 1:34:14 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/samba/docs/htmldocs/manpages/smbsh.1.html
r39 r44 1 1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>smbsh</title><link rel="stylesheet" href="samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.71.0"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry" lang="en"><a name="smbsh.1"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>smbsh — Allows access to remote SMB shares 2 using UNIX commands</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class=" command">smbsh</code> [-W workgroup] [-U username] [-P prefix] [-R <name resolve order>] [-d <debug level>] [-l logdir] [-L libdir]</p></div></div><div class="refsect1" lang="en"><a name="id259559"></a><h2>DESCRIPTION</h2><p>This tool is part of the <a href="samba.7.html"><span class="citerefentry"><span class="refentrytitle">samba</span>(7)</span></a> suite.</p><p><span><strong class="command">smbsh</strong></span> allows you to access an NT filesystem3 using UNIX commands such as < span><strong class="command">ls</strong></span>, <span><strong class="command">4 egrep</ strong></span>, and <span><strong class="command">rcp</strong></span>. You must use a5 shell that is dynamically linked in order for < span><strong class="command">smbsh</strong></span>2 using UNIX commands</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="literal">smbsh</code> [-W workgroup] [-U username] [-P prefix] [-R <name resolve order>] [-d <debug level>] [-l logdir] [-L libdir]</p></div></div><div class="refsect1" lang="en"><a name="id259559"></a><h2>DESCRIPTION</h2><p>This tool is part of the <a href="samba.7.html"><span class="citerefentry"><span class="refentrytitle">samba</span>(7)</span></a> suite.</p><p><code class="literal">smbsh</code> allows you to access an NT filesystem 3 using UNIX commands such as <code class="literal">ls</code>, <code class="literal"> 4 egrep</code>, and <code class="literal">rcp</code>. You must use a 5 shell that is dynamically linked in order for <code class="literal">smbsh</code> 6 6 to work correctly.</p></div><div class="refsect1" lang="en"><a name="id259359"></a><h2>OPTIONS</h2><div class="variablelist"><dl><dt><span class="term">-W WORKGROUP</span></dt><dd><p>Override the default workgroup specified in the 7 7 workgroup parameter of the <a href="smb.conf.5.html"><span class="citerefentry"><span class="refentrytitle">smb.conf</span>(5)</span></a> file … … 71 71 this parameter or any entry in the <a class="indexterm" name="id260137"></a> parameter of the <code class="filename">smb.conf</code> file, the name 72 72 resolution methods will be attempted in this order. </p></dd><dt><span class="term">-L libdir</span></dt><dd><p>This parameter specifies the location of the 73 shared libraries used by < span><strong class="command">smbsh</strong></span>. The default73 shared libraries used by <code class="literal">smbsh</code>. The default 74 74 value is specified at compile time. 75 </p></dd></dl></div></div><div class="refsect1" lang="en"><a name="id260170"></a><h2>EXAMPLES</h2><p>To use the < span><strong class="command">smbsh</strong></span> command, execute <span><strong class="command">76 smbsh</ strong></span> from the prompt and enter the username and password75 </p></dd></dl></div></div><div class="refsect1" lang="en"><a name="id260170"></a><h2>EXAMPLES</h2><p>To use the <code class="literal">smbsh</code> command, execute <code class="literal"> 76 smbsh</code> from the prompt and enter the username and password 77 77 that authenticates you to the machine running the Windows NT 78 78 operating system. … … 83 83 </pre><p>Any dynamically linked command you execute from 84 84 this shell will access the <code class="filename">/smb</code> directory 85 using the smb protocol. For example, the command < span><strong class="command">ls /smb86 </ strong></span> will show a list of workgroups. The command87 < span><strong class="command">ls /smb/MYGROUP </strong></span> will show all the machines in85 using the smb protocol. For example, the command <code class="literal">ls /smb 86 </code> will show a list of workgroups. The command 87 <code class="literal">ls /smb/MYGROUP </code> will show all the machines in 88 88 the workgroup MYGROUP. The command 89 < span><strong class="command">ls /smb/MYGROUP/<machine-name></strong></span> will show the share90 names for that machine. You could then, for example, use the < span><strong class="command">91 cd</ strong></span> command to change directories, <span><strong class="command">vi</strong></span> to92 edit files, and < span><strong class="command">rcp</strong></span> to copy files.</p></div><div class="refsect1" lang="en"><a name="id300498"></a><h2>VERSION</h2><p>This man page is correct for version 3.0 of the Samba suite.</p></div><div class="refsect1" lang="en"><a name="id300508"></a><h2>BUGS</h2><p><span><strong class="command">smbsh</strong></span> works by intercepting the standard89 <code class="literal">ls /smb/MYGROUP/<machine-name></code> will show the share 90 names for that machine. You could then, for example, use the <code class="literal"> 91 cd</code> command to change directories, <code class="literal">vi</code> to 92 edit files, and <code class="literal">rcp</code> to copy files.</p></div><div class="refsect1" lang="en"><a name="id300498"></a><h2>VERSION</h2><p>This man page is correct for version 3.0 of the Samba suite.</p></div><div class="refsect1" lang="en"><a name="id300508"></a><h2>BUGS</h2><p><code class="literal">smbsh</code> works by intercepting the standard 93 93 libc calls with the dynamically loaded versions in <code class="filename"> 94 94 smbwrapper.o</code>. Not all calls have been "wrapped", so 95 some programs may not function correctly under < span><strong class="command">smbsh96 </ strong></span>.</p><p>Programs which are not dynamically linked cannot make97 use of < span><strong class="command">smbsh</strong></span>'s functionality. Most versions98 of UNIX have a < span><strong class="command">file</strong></span> command that will95 some programs may not function correctly under <code class="literal">smbsh 96 </code>.</p><p>Programs which are not dynamically linked cannot make 97 use of <code class="literal">smbsh</code>'s functionality. Most versions 98 of UNIX have a <code class="literal">file</code> command that will 99 99 describe how a program was linked.</p></div><div class="refsect1" lang="en"><a name="id300553"></a><h2>SEE ALSO</h2><p><a href="smbd.8.html"><span class="citerefentry"><span class="refentrytitle">smbd</span>(8)</span></a>, <a href="smb.conf.5.html"><span class="citerefentry"><span class="refentrytitle">smb.conf</span>(5)</span></a></p></div><div class="refsect1" lang="en"><a name="id300576"></a><h2>AUTHOR</h2><p>The original Samba software and related utilities 100 100 were created by Andrew Tridgell. Samba is now developed
Note:
See TracChangeset
for help on using the changeset viewer.