1 2 3 4 5 6 7<html><head><title>smbsh (1)</title> 8 9<link rev="made" href="mailto:samba@samba.org"> 10</head> 11<body> 12 13<hr> 14 15<h1>smbsh (1)</h1> 16<h2>Samba</h2> 17<h2>23 Oct 1998</h2> 18 19 20 21<p><a name="NAME"></a> 22<h2>NAME</h2> 23 smbsh - Allows access to Windows NT filesystem using UNIX commands 24<p><a name="SYNOPSIS"></a> 25<h2>SYNOPSIS</h2> 26 27<p><strong>smbsh</strong> 28<p><a name="DESCRIPTION"></a> 29<h2>DESCRIPTION</h2> 30 31<p>This program is part of the <strong>Samba</strong> suite. 32<p><strong>smbsh</strong> allows you to access an NT filesystem using UNIX commands 33such as <strong>ls</strong>, <strong>egrep</strong>, and <strong>rcp</strong>. You must use a shell that 34is dynmanically linked in order for <strong>smbsh</strong> to work correctly. 35<p>To use the <strong>smbsh</strong> command, execute <strong>smbsh</strong> from the prompt and 36enter the username and password that authenticate you to the 37machine running the Windows NT operating system. 38<p><pre> 39 40system% smbsh 41Username: user 42Password: 43 44</pre> 45 46<p>Any dynamically linked command you execute from this shell will 47access the <strong>/smb</strong> directory using the smb protocol. 48For example, the command 49<p><code>ls /smb</code> 50<p>will show all the machines in your workgroup. 51The command 52<p><code>ls /smb/<machine-name></code> 53<p>will show the share names for that machine. You could then, for example, use the 54<strong>cd</strong> command to change directories, <strong>vi</strong> to edit files, and <strong>rcp</strong> 55 to copy files. 56<p><a name="VERSION"></a> 57<h2>VERSION</h2> 58 59<p>This man page is correct for the 2.0.3 of the Samba suite. 60<p><a name="BUGS"></a> 61<h2>BUGS</h2> 62 63<p><strong>smbsh</strong> works by intercepting the standard libc calls with the dynamically loaded 64versions in <strong>smbwrapper.o</strong>. Not all calls have been "wrapped" so some programs 65may not function correctly under <strong>smbsh</strong>. 66<p>Programs which are not dynamically linked cannot make use of <strong>smbsh</strong>'s 67functionality. Most versions of UNIX have a <strong>file</strong> command that will describe how 68a program was linked. 69<p><a name="SEEALSO"></a> 70<h2>SEE ALSO</h2> 71 72<p><a href="smb.conf.5.html"><strong>smb.conf (5)</strong></a>, 73<a href="smbd.8.html"><strong>smbd (8)</strong></a>. 74<p><a name="AUTHOR"></a> 75<h2>AUTHOR</h2> 76 77<p>The original Samba software and related utilities were created by 78Andrew Tridgell (samba@samba.org). Samba is now developed 79by the Samba Team as an Open Source project similar to the way the 80Linux kernel is developed. 81<p>The original Samba man pages were written by Karl Auer. The man page 82sources were converted to YODL format (another excellent piece of Open 83Source software, available at 84<a href="ftp://ftp.icce.rug.nl/pub/unix/"><strong>ftp://ftp.icce.rug.nl/pub/unix/</strong></a>) 85and updated for the Samba2.0 release by Jeremy Allison. 86<a href="mailto:samba@samba.org"><em>samba@samba.org</em></a>. 87<p>See <a href="samba.7.html"><strong>samba (7)</strong></a> to find out how to get a full 88list of contributors and details on how to submit bug reports, 89comments etc. 90<p></body> 91</html> 92