1<HTML> 2<HEAD> 3<TITLE> 4[Chapter 1] 1.7 What's New in Samba 2.0?</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:01Z"><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_06.html" TITLE="1.6 How Can I Get Samba?"> 35<IMG SRC="gifs/txtpreva.gif" ALT="Previous: 1.6 How Can I Get Samba?" 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_08.html" TITLE="1.8 And That's Not All..."> 42<IMG SRC="gifs/txtnexta.gif" ALT="Next: 1.8 And That's Not All..." 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-40528"> 481.7 What's New in Samba 2.0?</a></h2><P CLASS="para">Samba 2.0 was an eagerly-awaited package. The big additions to Samba 2.0 are more concrete support for NT Domains and the new Samba Web Administration Tool (SWAT), a browser-based utility for configuring Samba. However, there are dozens of other improvements that were introduced in the summer and fall of 1998. </p><DIV CLASS="sect2"> 49<H3 CLASS="sect2"> 50<A CLASS="title" NAME="ch01-pgfId-937019"> 511.7.1 NT Domains</a></h3><P CLASS="para"> 52Samba's support for NT Domains (starting with version 2.0.<EM CLASS="emphasis"> 53x</em>) produced a big improvement: it allows SMB servers to use its authentication mechanisms, which is essential for future NT compatibility, and to support <I CLASS="firstterm"> 54NT domain logons</i>. Domain logons allow a user to log in to a Windows NT domain and use all the computers in the domain without logging into them individually. Previous to version 2.0.0, Samba supported Windows 95/98 logon services, but not NT domain logons. Although domain logons support is not complete is Samba 2.0, it is partially implemented.</p></div><DIV CLASS="sect2"> 55<H3 CLASS="sect2"> 56<A CLASS="title" NAME="ch01-pgfId-937021"> 571.7.2 Ease of Administration</a></h3><P CLASS="para">SWAT, the Samba Web Administration Tool, makes it easy to set up a server and change its configuration, without giving up the simple text-based configuration file. SWAT provides a graphical interface to the resources that Samba shares with its clients. In addition, SWAT saves considerable experimentation and memory work in setting up or changing configurations across the network. You can even create an initial setup with SWAT and then modify the file later by hand, or vice versa. Samba will not complain.</p><P CLASS="para"> 58On the compilation side, GNU <I CLASS="filename"> 59autoconf</i> is now used to make the task of initial compilation and setup easier so you can get to SWAT quicker.</p></div><DIV CLASS="sect2"> 60<H3 CLASS="sect2"> 61<A CLASS="title" NAME="ch01-pgfId-937024"> 621.7.3 Performance</a></h3><P CLASS="para"> 63There are major performance and scalability increases in Samba: the code has been reorganized and <EM CLASS="emphasis"> 64nmbd</em> (the Samba name service daemon) heavily rewritten:</p><UL CLASS="itemizedlist"> 65<LI CLASS="listitem"> 66<P CLASS="para"> 67<A CLASS="listitem" NAME="ch01-pgfId-937026"> 68</a>Name/browsing service now supports approximately 35,000 simultaneous clients.</p></li><LI CLASS="listitem"> 69<P CLASS="para"> 70<A CLASS="listitem" NAME="ch01-pgfId-937027"> 71</a>File and print services support 500 concurrent users from a single medium-sized server without noticeable performance degradation.</p></li><LI CLASS="listitem"> 72<P CLASS="para"> 73<A CLASS="listitem" NAME="ch01-pgfId-937028"> 74</a>Linux/Samba on identical hardware now consistently performs better than NT Server. And best of all, Samba is improving.</p></li><LI CLASS="listitem"> 75<P CLASS="para"> 76<A CLASS="listitem" NAME="ch01-pgfId-937029"> 77</a>Improved "opportunistic" locking allows client machines to cache entire files locally, greatly improving speed without running the risk of accidentally overwriting the cached files.</p></li></ul></div><DIV CLASS="sect2"> 78<H3 CLASS="sect2"> 79<A CLASS="title" NAME="ch01-pgfId-937030"> 801.7.4 More Features</a></h3><P CLASS="para"> 81There are several additional features in Samba 2.0. You can now have multiple Samba aliases on the same machine, each pretending to be a different server, a feature similar to virtual hosts in modern web servers. This allows a host to serve multiple departments and groups, or provide disk shares with normal username/password security while also providing printers to everyone without any security. Printing has been changed to make it easier for Unix System V owners: Samba can now find the available printers automatically, just as it does with Berkeley-style printing. In addition, Samba now has the capability to use multiple code pages, so it can be used with non-European languages, and to use the Secure Sockets Layer protocol (SSL) to encrypt all the data it sends across the Internet, instead of just passwords.[<A CLASS="footnote" HREF="#ch01-pgfId-938280">7</a>]</p><BLOCKQUOTE CLASS="footnote"> 82<DIV CLASS="footnote"> 83<P CLASS="para"> 84<A CLASS="footnote" NAME="ch01-pgfId-938280">[7]</a> If you reside in the United States, there are some federal rules and regulations dealing with strong cryptography. We'll talk about his later when we set up Samba and SSL in <a href="appa_01.html"><b>Appendix A, <CITE CLASS="appendix"> 85Configuring Samba with SSL</cite></b></a>.</p></div></blockquote></div><DIV CLASS="sect2"> 86<H3 CLASS="sect2"> 87<A CLASS="title" NAME="ch01-pgfId-937035"> 881.7.5 Compatibility Improvements</a></h3><P CLASS="para"> 89At the same time as it's becoming more capable, Samba is also becoming more compatible with Windows NT. Samba has always supported Microsoft-style password encryption. It now provides tools and options for changing over to Microsoft encryption, and for keeping the Unix and Microsoft password files synchronized while doing so. Finally, a Samba master browser can be instructed to hunt down and synchronize itself with other SMB servers on different LANs, allowing SMB to work seamlessly across multiple networks. Samba uses a different method of accomplishing this from the Microsoft method, which is undocumented.</p></div><DIV CLASS="sect2"> 90<H3 CLASS="sect2"> 91<A CLASS="title" NAME="ch01-pgfId-937039"> 921.7.6 Smbwrapper</a></h3><P CLASS="para"> 93Finally, there is an entirely new version of the Unix client called <I CLASS="firstterm"> 94smbwrapper</i>. Instead of a kernel module that allows Linux to act as a Samba client, there is now a command-line entry to load the library that provides a complete SMB filesystem on some brands of Unix. Once loaded, the command <CODE CLASS="literal"> 95ls</code> <CODE CLASS="literal"> 96/smb</code> will list all the machines in your workgroup, and <CODE CLASS="literal"> 97cd</code> <CODE CLASS="literal">/smb/</code><CODE CLASS="replaceable"><I>server_name</i></code><CODE CLASS="literal">/</code><CODE CLASS="replaceable"><I>share_name</i></code> will take you to a particular share (shared directory), similar to the Network File System (NFS). As of this writing, <EM CLASS="emphasis"> 98smbwrapper</em> currently runs on Linux, Solaris, SunOS 4, IRIX, and OSF/1, and is expected to run on several more operating systems in the near future.</p></div></div></blockquote> 99<div> 100<center> 101<hr noshade size=1><TABLE WIDTH="515" BORDER="0" CELLSPACING="0" CELLPADDING="0"> 102<TR> 103<TD ALIGN="LEFT" VALIGN="TOP" WIDTH="172"> 104<A CLASS="sect1" HREF="ch01_06.html" TITLE="1.6 How Can I Get Samba?"> 105<IMG SRC="gifs/txtpreva.gif" ALT="Previous: 1.6 How Can I Get Samba?" BORDER="0"></a></td><TD ALIGN="CENTER" VALIGN="TOP" WIDTH="171"> 106<A CLASS="book" HREF="index.html" TITLE=""> 107<IMG SRC="gifs/txthome.gif" ALT="" BORDER="0"></a></td><TD ALIGN="RIGHT" VALIGN="TOP" WIDTH="172"> 108<A CLASS="sect1" HREF="ch01_08.html" TITLE="1.8 And That's Not All..."> 109<IMG SRC="gifs/txtnexta.gif" ALT="Next: 1.8 And That's Not All..." BORDER="0"></a></td></tr><TR> 110<TD ALIGN="LEFT" VALIGN="TOP" WIDTH="172"> 1111.6 How Can I Get Samba?</td><TD ALIGN="CENTER" VALIGN="TOP" WIDTH="171"> 112<A CLASS="index" HREF="inx.html" TITLE="Book Index"> 113<IMG SRC="gifs/index.gif" ALT="Book Index" BORDER="0"></a></td><TD ALIGN="RIGHT" VALIGN="TOP" WIDTH="172"> 1141.8 And That's Not All...</td></tr></table><hr noshade size=1></center> 115</div> 116 117<!-- End of sample chapter --> 118<CENTER> 119<FONT SIZE="1" FACE="Verdana, Arial, Helvetica"> 120<A HREF="http://www.oreilly.com/"> 121<B>O'Reilly Home</B></A> <B> | </B> 122<A HREF="http://www.oreilly.com/sales/bookstores"> 123<B>O'Reilly Bookstores</B></A> <B> | </B> 124<A HREF="http://www.oreilly.com/order_new/"> 125<B>How to Order</B></A> <B> | </B> 126<A HREF="http://www.oreilly.com/oreilly/contact.html"> 127<B>O'Reilly Contacts<BR></B></A> 128<A HREF="http://www.oreilly.com/international/"> 129<B>International</B></A> <B> | </B> 130<A HREF="http://www.oreilly.com/oreilly/about.html"> 131<B>About O'Reilly</B></A> <B> | </B> 132<A HREF="http://www.oreilly.com/affiliates.html"> 133<B>Affiliated Companies</B></A><p> 134<EM>© 1999, O'Reilly & Associates, Inc.</EM> 135</FONT> 136</CENTER> 137</BODY> 138</html> 139