1<HTML> 2<HEAD> 3<TITLE>[Appendix E] Downloading Samba with CVS</title> 4</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="appendix" HREF="appd_01.html" TITLE=""> 35<IMG SRC="gifs/txtpreva.gif" ALT="Previous: Appendix D." BORDER="0"></a></td> 36<TD ALIGN="CENTER" VALIGN="TOP" WIDTH="171"> 37<B> 38<FONT FACE="ARIEL,HELVETICA,HELV,SANSERIF" SIZE="-1"> 39Appendix E</font></b></td><TD ALIGN="RIGHT" VALIGN="TOP" WIDTH="172"> 40<A CLASS="appendix" HREF="appf_01.html" TITLE=""> 41<IMG SRC="gifs/txtnexta.gif" ALT="Next: Appendix F." BORDER="0"></a></td></tr> 42</table> 43 <hr noshade size=1></center> 44</div> 45<blockquote> 46<div class="samplechapter"> 47<H1 CLASS="appendix"><A CLASS="title" NAME="appe-58937">Appendix E. Downloading Samba with CVS</a></h1> 48<P CLASS="para">This appendix contains information on how to download the latest source version of Samba using the Concurrent Versions System (CVS). CVS is a freely available configuration management tool available from Cyclic Software and is distributed under the GNU General Public License. You can download the latest copy from <A CLASS="systemitem.url" HREF="http://www.cyclic.com/"> 49http://www.cyclic.com/</a>.</p><P CLASS="para">CVS works on top of the GNU Revision Control System (RCS). Many Unix systems come preinstalled with RCS. However, if you want to download the latest version of RCS, you can find it at <A CLASS="systemitem.url" HREF="http://ftp.gnu.org/gnu/rcs/">http://ftp.gnu.org/gnu/rcs/</a>.</p><P CLASS="para"> 50One of the nicest things about CVS is its ability to handle remote logins. This means that people across the globe on the Internet can download and update various source files for any project that uses a CVS repository. Such is the case with Samba. Once you have RCS and CVS installed on your system, you must first log in to the Samba source server with the following command:</p><PRE CLASS="programlisting"> 51cvs -d :pserver:cvs@cvs.samba.org:/cvsroot login</pre><P CLASS="para"> 52This tells CVS to connect to the CVS server at <I CLASS="filename"> 53cvs.samba.org</i>. Once you are connected, you can download the latest source tree with the following command:</p><PRE CLASS="programlisting"> 54cvs -d :pserver:cvs@cvs.samba.org:/cvsroot co samba</pre><P CLASS="para"> 55This will download the entire Samba distribution (file by file) into a directory entitled <I CLASS="filename"> 56/samba</i>, which it will create on your hard drive. This directory will have the same structure as the Samba source distribution described in <a href="ch02_01.html"><b>Chapter 2, <CITE CLASS="chapter">Installing Samba on a Unix System</cite></b></a>. It includes source and header files, documentation, and sample configuration files to help get you started. After that is completed, you can follow the instructions in <a href="ch02_01.html"><b>Chapter 2</b></a> to configure and compile Samba on your server.</p></div></blockquote> 57<div> 58<center> 59<hr noshade size=1><TABLE WIDTH="515" BORDER="0" CELLSPACING="0" CELLPADDING="0"> 60<TR> 61<TD ALIGN="LEFT" VALIGN="TOP" WIDTH="172"> 62<A CLASS="appendix" HREF="appd_01.html" TITLE=""> 63<IMG SRC="gifs/txtpreva.gif" ALT="Previous: Appendix D." BORDER="0"></a></td><TD ALIGN="CENTER" VALIGN="TOP" WIDTH="171"> 64<A CLASS="book" HREF="index.html" TITLE=""> 65<IMG SRC="gifs/txthome.gif" ALT="" BORDER="0"></a></td><TD ALIGN="RIGHT" VALIGN="TOP" WIDTH="172"> 66<A CLASS="appendix" HREF="appf_01.html" TITLE=""> 67<IMG SRC="gifs/txtnexta.gif" ALT="Next: Appendix F." BORDER="0"></a></td></tr><TR> 68<TD ALIGN="LEFT" VALIGN="TOP" WIDTH="172"> 69Appendix D: Summary of Samba Daemons and Commands</td><TD ALIGN="CENTER" VALIGN="TOP" WIDTH="171"> 70<A CLASS="index" HREF="inx.html" TITLE="Book Index"> 71<IMG SRC="gifs/index.gif" ALT="Book Index" BORDER="0"></a></td><TD ALIGN="RIGHT" VALIGN="TOP" WIDTH="172"> 72F. Sample Configuration File</td></tr></table><hr noshade size=1></center> 73</div> 74 75<!-- End of sample chapter --> 76<CENTER> 77<FONT SIZE="1" FACE="Verdana, Arial, Helvetica"> 78<A HREF="http://www.oreilly.com/"> 79<B>O'Reilly Home</B></A> <B> | </B> 80<A HREF="http://www.oreilly.com/sales/bookstores"> 81<B>O'Reilly Bookstores</B></A> <B> | </B> 82<A HREF="http://www.oreilly.com/order_new/"> 83<B>How to Order</B></A> <B> | </B> 84<A HREF="http://www.oreilly.com/oreilly/contact.html"> 85<B>O'Reilly Contacts<BR></B></A> 86<A HREF="http://www.oreilly.com/international/"> 87<B>International</B></A> <B> | </B> 88<A HREF="http://www.oreilly.com/oreilly/about.html"> 89<B>About O'Reilly</B></A> <B> | </B> 90<A HREF="http://www.oreilly.com/affiliates.html"> 91<B>Affiliated Companies</B></A><p> 92<EM>© 1999, O'Reilly & Associates, Inc.</EM> 93</FONT> 94</CENTER> 95</BODY> 96</html> 97