1<HTML> 2<HEAD> 3<TITLE> 4[Chapter 1] 1.5 An Overview of the Samba Distribution</title><META NAME="DC.title" CONTENT=""><META NAME="DC.creator" CONTENT=""><META NAME="DC.publisher" CONTENT="O'Reilly & Associates, Inc."><META NAME="DC.date" CONTENT="1999-11-05T21:30:00Z"><META NAME="DC.type" CONTENT="Text.Monograph"><META NAME="DC.format" CONTENT="text/html" SCHEME="MIME"><META NAME="DC.source" CONTENT="" SCHEME="ISBN"><META NAME="DC.language" CONTENT="en-US"><META NAME="generator" CONTENT="Jade 1.1/O'Reilly DocBook 3.0 to HTML 4.0"></head> 5<BODY BGCOLOR="#FFFFFF" TEXT="#000000" link="#990000" vlink="#0000CC"> 6<table BORDER="0" CELLPADDING="0" CELLSPACING="0" width="90%"> 7<tr> 8<td width="25%" valign="TOP"> 9<img hspace=10 vspace=10 src="gifs/samba.s.gif" 10alt="Using Samba" align=left valign=top border=0> 11</td> 12<td height="105" valign="TOP"> 13<br> 14<H2>Using Samba</H2> 15<font size="-1"> 16Robert Eckstein, David Collier-Brown, Peter Kelly 17<br>1st Edition November 1999 18<br>1-56592-449-5, Order Number: 4495 19<br>416 pages, $34.95 20</font> 21<p> <a href="http://www.oreilly.com/catalog/samba/">Buy the hardcopy</a> 22<p><a href="index.html">Table of Contents</a> 23</td> 24</tr> 25</table> 26<hr size=1 noshade> 27<!--sample chapter begins --> 28 29<center> 30<DIV CLASS="htmlnav"> 31<TABLE WIDTH="515" BORDER="0" CELLSPACING="0" CELLPADDING="0"> 32<TR> 33<TD ALIGN="LEFT" VALIGN="TOP" WIDTH="172"> 34<A CLASS="sect1" HREF="ch01_04.html" TITLE="1.4 Microsoft Implementations"> 35<IMG SRC="gifs/txtpreva.gif" ALT="Previous: 1.4 Microsoft Implementations" BORDER="0"></a></td><TD ALIGN="CENTER" VALIGN="TOP" WIDTH="171"> 36<B> 37<FONT FACE="ARIEL,HELVETICA,HELV,SANSERIF" SIZE="-1"> 38<A CLASS="chapter" REL="up" HREF="ch01_01.html" TITLE="1. Learning the Samba"> 39Chapter 1<br> 40Learning the Samba</a></font></b></td><TD ALIGN="RIGHT" VALIGN="TOP" WIDTH="172"> 41<A CLASS="sect1" HREF="ch01_06.html" TITLE="1.6 How Can I Get Samba?"> 42<IMG SRC="gifs/txtnexta.gif" ALT="Next: 1.6 How Can I Get Samba?" BORDER="0"></a></td></tr></table> <hr noshade size=1></center> 43</div> 44<blockquote> 45<div> 46<H2 CLASS="sect1"> 47<A CLASS="title" NAME="ch01-32691"> 481.5 An Overview of the Samba Distribution</a></h2><P CLASS="para"> 49As mentioned earlier, Samba actually contains several programs that serve different but related purposes. Let's introduce each of them briefly, and show how they work together. The majority of the programs that come with the Samba distribution center on its two daemons. Let's take a refined look at the responsibilities of each daemon:</p><DL CLASS="variablelist"> 50<DT CLASS="term"> 51<EM CLASS="emphasis"> 52smbd</em></dt><DD CLASS="listitem"> 53<P CLASS="para"> 54The <EM CLASS="emphasis"> 55smbd</em> daemon is responsible for managing the shared resources between the Samba server machine and its clients. It provides file, print, and browser services to <SPAN CLASS="acronym"> 56SMB</span> clients across one or more networks. <EM CLASS="emphasis"> 57smdb</em> handles all notifications between the Samba server and the network clients. In addition, it is responsible for user authentication, resource locking, and data sharing through the <SPAN CLASS="acronym"> 58SMB</span> protocol.</p></dd><DT CLASS="term"> 59<EM CLASS="emphasis"> 60nmbd</em></dt><DD CLASS="listitem"> 61<P CLASS="para"> 62The <EM CLASS="emphasis"> 63nmbd</em> daemon is a simple nameserver that mimics the WINS and NetBIOS name server functionality, as you might expect to encounter with the LAN Manager package. This daemon listens for nameserver requests and provides the appropriate information when called upon. It also provides browse lists for the Network Neighborhood and participates in browsing elections.</p></dd></dl><P CLASS="para"> 64The Samba distribution also comes with a small set of Unix command-line tools:</p><DL CLASS="variablelist"> 65<DT CLASS="term"> 66<i>smbclient</i></dt><DD CLASS="listitem"> 67<P CLASS="para"> 68An FTP-like Unix client that can be used to connect to Samba shares</p></dd><DT CLASS="term"> 69<i>smbtar</i></dt><DD CLASS="listitem"> 70<P CLASS="para"> 71A program for backing up data in shares, similar to the Unix <I CLASS="filename"> 72tar</i> command</p></dd><DT CLASS="term"> 73<i>nmblookup</i></dt><DD CLASS="listitem"> 74<P CLASS="para"> 75A program that provides NetBIOS over TCP/IP name lookups</p></dd><DT CLASS="term"> 76<i>smbpasswd</i></dt><DD CLASS="listitem"> 77<P CLASS="para"> 78A program that allows an administrator to change the encrypted passwords used by Samba</p></dd><DT CLASS="term"> 79<i>smbstatus</i></dt><DD CLASS="listitem"> 80<P CLASS="para"> 81A program for reporting the current network connections to the shares on a Samba server</p></dd><DT CLASS="term"> 82<i>testparm</i></dt><DD CLASS="listitem"> 83<P CLASS="para"> 84A simple program to validate the Samba configuration file</p></dd><DT CLASS="term"> 85<i>testprns</i></dt><DD CLASS="listitem"> 86<P CLASS="para"> 87A program that tests whether various printers are recognized by the <I CLASS="filename"> 88smbd</i> daemon</p></dd></dl><P CLASS="para"> 89Each significant release of Samba goes through a significant exposure test before it's announced. In addition, it is quickly updated afterward if problems or unwanted side-effects are found. The latest stable distribution as of this writing is Samba 2.0.5, the long-awaited production version of Samba 2.0. This book focuses on the functionality supported in Samba 2.0, as opposed to the older 1.9.<EM CLASS="emphasis"> 90x</em> versions of Samba, which are now obsolete.</p></div></blockquote> 91<div> 92<center> 93<hr noshade size=1><TABLE WIDTH="515" BORDER="0" CELLSPACING="0" CELLPADDING="0"> 94<TR> 95<TD ALIGN="LEFT" VALIGN="TOP" WIDTH="172"> 96<A CLASS="sect1" HREF="ch01_04.html" TITLE="1.4 Microsoft Implementations"> 97<IMG SRC="gifs/txtpreva.gif" ALT="Previous: 1.4 Microsoft Implementations" BORDER="0"></a></td><TD ALIGN="CENTER" VALIGN="TOP" WIDTH="171"> 98<A CLASS="book" HREF="index.html" TITLE=""> 99<IMG SRC="gifs/txthome.gif" ALT="" BORDER="0"></a></td><TD ALIGN="RIGHT" VALIGN="TOP" WIDTH="172"> 100<A CLASS="sect1" HREF="ch01_06.html" TITLE="1.6 How Can I Get Samba?"> 101<IMG SRC="gifs/txtnexta.gif" ALT="Next: 1.6 How Can I Get Samba?" BORDER="0"></a></td></tr><TR> 102<TD ALIGN="LEFT" VALIGN="TOP" WIDTH="172"> 1031.4 Microsoft Implementations</td><TD ALIGN="CENTER" VALIGN="TOP" WIDTH="171"> 104<A CLASS="index" HREF="inx.html" TITLE="Book Index"> 105<IMG SRC="gifs/index.gif" ALT="Book Index" BORDER="0"></a></td><TD ALIGN="RIGHT" VALIGN="TOP" WIDTH="172"> 1061.6 How Can I Get Samba?</td></tr></table><hr noshade size=1></center> 107</div> 108 109<!-- End of sample chapter --> 110<CENTER> 111<FONT SIZE="1" FACE="Verdana, Arial, Helvetica"> 112<A HREF="http://www.oreilly.com/"> 113<B>O'Reilly Home</B></A> <B> | </B> 114<A HREF="http://www.oreilly.com/sales/bookstores"> 115<B>O'Reilly Bookstores</B></A> <B> | </B> 116<A HREF="http://www.oreilly.com/order_new/"> 117<B>How to Order</B></A> <B> | </B> 118<A HREF="http://www.oreilly.com/oreilly/contact.html"> 119<B>O'Reilly Contacts<BR></B></A> 120<A HREF="http://www.oreilly.com/international/"> 121<B>International</B></A> <B> | </B> 122<A HREF="http://www.oreilly.com/oreilly/about.html"> 123<B>About O'Reilly</B></A> <B> | </B> 124<A HREF="http://www.oreilly.com/affiliates.html"> 125<B>Affiliated Companies</B></A><p> 126<EM>© 1999, O'Reilly & Associates, Inc.</EM> 127</FONT> 128</CENTER> 129</BODY> 130</html> 131