summaryrefslogtreecommitdiff
path: root/docs/htmldocs/smbsh.1.html
blob: ac5162b306e04fe8bea461e6f15a372d5fc05251 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91






<html><head><title>smbsh (1)</title>

<link rev="made" href="mailto:samba@samba.org">
</head>
<body>

<hr>

<h1>smbsh (1)</h1>
<h2>Samba</h2>
<h2>23 Oct 1998</h2>


    
<p><a name="NAME"></a>
<h2>NAME</h2>
    smbsh - Allows access to Windows NT filesystem using UNIX commands
<p><a name="SYNOPSIS"></a>
<h2>SYNOPSIS</h2>
    
<p><strong>smbsh</strong>
<p><a name="DESCRIPTION"></a>
<h2>DESCRIPTION</h2>
    
<p>This program is part of the <strong>Samba</strong> suite.
<p><strong>smbsh</strong> allows you to access an NT filesystem using UNIX commands
such as <strong>ls</strong>, <strong>egrep</strong>, and <strong>rcp</strong>. You must use a shell that
is dynmanically linked in order for <strong>smbsh</strong> to work correctly.
<p>To use the <strong>smbsh</strong> command, execute <strong>smbsh</strong> from the prompt and
enter the username and password that authenticate you to the
machine running the Windows NT operating system.
<p><pre>

system% smbsh
Username: user
Password:

</pre>

<p>Any dynamically linked command you execute from this shell will
access the <strong>/smb</strong> directory using the smb protocol.
For example, the command 
<p><code>ls /smb</code>
<p>will show all the machines in your workgroup.
The command 
<p><code>ls /smb/&lt;machine-name&gt;</code>
<p>will show the share names for that machine. You could then, for example, use the 
<strong>cd</strong> command to change directories, <strong>vi</strong> to edit files, and <strong>rcp</strong>
 to copy files.
<p><a name="VERSION"></a>
<h2>VERSION</h2>
    
<p>This man page is correct for the 2.0.3 of the Samba suite.
<p><a name="BUGS"></a>
<h2>BUGS</h2>
    
<p><strong>smbsh</strong> works by intercepting the standard libc calls with the dynamically loaded
versions in <strong>smbwrapper.o</strong>. Not all calls have been "wrapped" so some programs
may not function correctly under <strong>smbsh</strong>.
<p>Programs which are not dynamically linked cannot make use of <strong>smbsh</strong>'s 
functionality. Most versions of UNIX have a <strong>file</strong> command that will describe how
a program was linked.
<p><a name="SEEALSO"></a>
<h2>SEE ALSO</h2>
    
<p><a href="smb.conf.5.html"><strong>smb.conf (5)</strong></a>,
<a href="smbd.8.html"><strong>smbd (8)</strong></a>.
<p><a name="AUTHOR"></a>
<h2>AUTHOR</h2>
    
<p>The original Samba software and related utilities were created by
Andrew Tridgell (samba@samba.org). Samba is now developed
by the Samba Team as an Open Source project similar to the way the
Linux kernel is developed.
<p>The original Samba man pages were written by Karl Auer. The man page
sources were converted to YODL format (another excellent piece of Open
Source software, available at
<a href="ftp://ftp.icce.rug.nl/pub/unix/"><strong>ftp://ftp.icce.rug.nl/pub/unix/</strong></a>)
and updated for the Samba2.0 release by Jeremy Allison.
<a href="mailto:samba@samba.org"><em>samba@samba.org</em></a>.
<p>See <a href="samba.7.html"><strong>samba (7)</strong></a> to find out how to get a full
list of contributors and details on how to submit bug reports,
comments etc.
<p></body>
</html>