diff options
Diffstat (limited to 'docs/htmldocs/compiling.html')
-rw-r--r-- | docs/htmldocs/compiling.html | 198 |
1 files changed, 157 insertions, 41 deletions
diff --git a/docs/htmldocs/compiling.html b/docs/htmldocs/compiling.html index c387dd72fb..77633836b9 100644 --- a/docs/htmldocs/compiling.html +++ b/docs/htmldocs/compiling.html @@ -13,11 +13,11 @@ REL="UP" TITLE="Appendixes" HREF="appendixes.html"><LINK REL="PREVIOUS" -TITLE="Samba and other CIFS clients" -HREF="other-clients.html"><LINK +TITLE="Appendixes" +HREF="appendixes.html"><LINK REL="NEXT" -TITLE="Reporting Bugs" -HREF="bugreport.html"></HEAD +TITLE="Migration from NT4 PDC to Samba-3 PDC" +HREF="nt4migration.html"></HEAD ><BODY CLASS="CHAPTER" BGCOLOR="#FFFFFF" @@ -45,7 +45,7 @@ WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A -HREF="other-clients.html" +HREF="appendixes.html" ACCESSKEY="P" >Prev</A ></TD @@ -59,7 +59,7 @@ WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A -HREF="bugreport.html" +HREF="nt4migration.html" ACCESSKEY="N" >Next</A ></TD @@ -74,29 +74,105 @@ CLASS="CHAPTER" ><A NAME="COMPILING" ></A ->Chapter 31. How to compile SAMBA</H1 +>Chapter 27. How to compile SAMBA</H1 +><DIV +CLASS="TOC" +><DL +><DT +><B +>Table of Contents</B +></DT +><DT +>27.1. <A +HREF="compiling.html#AEN4183" +>Access Samba source code via CVS</A +></DT +><DD +><DL +><DT +>27.1.1. <A +HREF="compiling.html#AEN4185" +>Introduction</A +></DT +><DT +>27.1.2. <A +HREF="compiling.html#AEN4190" +>CVS Access to samba.org</A +></DT +><DD +><DL +><DT +>27.1.2.1. <A +HREF="compiling.html#AEN4193" +>Access via CVSweb</A +></DT +><DT +>27.1.2.2. <A +HREF="compiling.html#AEN4198" +>Access via cvs</A +></DT +></DL +></DD +></DL +></DD +><DT +>27.2. <A +HREF="compiling.html#AEN4226" +>Accessing the samba sources via rsync and ftp</A +></DT +><DT +>27.3. <A +HREF="compiling.html#AEN4232" +>Verifying Samba's PGP signature</A +></DT +><DT +>27.4. <A +HREF="compiling.html#AEN4244" +>Building the Binaries</A +></DT +><DT +>27.5. <A +HREF="compiling.html#AEN4301" +>Starting the smbd and nmbd</A +></DT +><DD +><DL +><DT +>27.5.1. <A +HREF="compiling.html#AEN4311" +>Starting from inetd.conf</A +></DT +><DT +>27.5.2. <A +HREF="compiling.html#AEN4345" +>Alternative: starting it as a daemon</A +></DT +></DL +></DD +></DL +></DIV ><P >You can obtain the samba source from the <A HREF="http://samba.org/" TARGET="_top" >samba website</A >. To obtain a development version, -you can download samba from CVS or using rsync. </P +you can download samba from CVS or using rsync.</P ><DIV CLASS="SECT1" ><H1 CLASS="SECT1" ><A -NAME="AEN4453" ->31.1. Access Samba source code via CVS</A +NAME="AEN4183" +>27.1. Access Samba source code via CVS</A ></H1 ><DIV CLASS="SECT2" ><H2 CLASS="SECT2" ><A -NAME="AEN4455" ->31.1.1. Introduction</A +NAME="AEN4185" +>27.1.1. Introduction</A ></H2 ><P >Samba is developed in an open environment. Developers use CVS @@ -117,8 +193,8 @@ CLASS="SECT2" ><H2 CLASS="SECT2" ><A -NAME="AEN4460" ->31.1.2. CVS Access to samba.org</A +NAME="AEN4190" +>27.1.2. CVS Access to samba.org</A ></H2 ><P >The machine samba.org runs a publicly accessible CVS @@ -130,8 +206,8 @@ CLASS="SECT3" ><H3 CLASS="SECT3" ><A -NAME="AEN4463" ->31.1.2.1. Access via CVSweb</A +NAME="AEN4193" +>27.1.2.1. Access via CVSweb</A ></H3 ><P >You can access the source code via your @@ -151,8 +227,8 @@ CLASS="SECT3" ><H3 CLASS="SECT3" ><A -NAME="AEN4468" ->31.1.2.2. Access via cvs</A +NAME="AEN4198" +>27.1.2.2. Access via cvs</A ></H3 ><P >You can also access the source code via a @@ -256,8 +332,8 @@ CLASS="SECT1" ><H1 CLASS="SECT1" ><A -NAME="AEN4496" ->31.2. Accessing the samba sources via rsync and ftp</A +NAME="AEN4226" +>27.2. Accessing the samba sources via rsync and ftp</A ></H1 ><P > pserver.samba.org also exports unpacked copies of most parts of the CVS tree at <A @@ -284,8 +360,50 @@ CLASS="SECT1" ><H1 CLASS="SECT1" ><A -NAME="AEN4502" ->31.3. Building the Binaries</A +NAME="AEN4232" +>27.3. Verifying Samba's PGP signature</A +></H1 +><P +>In these days of insecurity, it's strongly recommended that you verify the PGP signature for any +source file before installing it. According to Jerry Carter of the Samba Team, only about 22% of +all Samba downloads have had a corresponding PGP signature download (a very low percentage, which +should be considered a bad thing). Even if you're not downloading from a mirror site, verifying PGP +signatures should be a standard reflex.</P +><P +>With that said, go ahead and download the following files:</P +><P +><PRE +CLASS="PROGRAMLISTING" +> $ wget http://us1.samba.org/samba/ftp/samba-2.2.8a.tar.asc + $ wget http://us1.samba.org/samba/ftp/samba-pubkey.asc</PRE +></P +><P +>The first file is the PGP signature for the Samba source file; the other is the Samba public +PGP key itself. Import the public PGP key with:</P +><PRE +CLASS="PROGRAMLISTING" +> $ gpg --import samba-pubkey.asc</PRE +><P +>And verify the Samba source code integrity with:</P +><PRE +CLASS="PROGRAMLISTING" +> $ gzip -d samba-2.2.8a.tar.gz + $ gpg --verify samba-2.2.8a.tar.asc</PRE +><P +>If you receive a message like, "Good signature from Samba Distribution Verification Key..." +then all is well. The warnings about trust relationships can be ignored. An example of what +you would not want to see would be:</P +><PRE +CLASS="PROGRAMLISTING" +> gpg: BAD signature from "Samba Distribution Verification Key"</PRE +></DIV +><DIV +CLASS="SECT1" +><H1 +CLASS="SECT1" +><A +NAME="AEN4244" +>27.4. Building the Binaries</A ></H1 ><P >To do this, first run the program <KBD @@ -370,8 +488,8 @@ CLASS="SECT2" ><H2 CLASS="SECT2" ><A -NAME="AEN4530" ->31.3.1. Compiling samba with Active Directory support</A +NAME="AEN4272" +>27.4.1. Compiling samba with Active Directory support</A ></H2 ><P >In order to compile samba with ADS support, you need to have installed @@ -393,9 +511,7 @@ BORDER="0" ></TABLE ><P ></P -> - - </P +></P ><P >If your kerberos libraries are in a non-standard location then remember to add the configure option --with-krb5=DIR.</P @@ -420,8 +536,8 @@ CLASS="SECT3" ><H3 CLASS="SECT3" ><A -NAME="AEN4542" ->31.3.1.1. Installing the required packages for Debian</A +NAME="AEN4284" +>27.4.1.1. Installing the required packages for Debian</A ></H3 ><P >On Debian you need to install the following packages:</P @@ -451,8 +567,8 @@ CLASS="SECT3" ><H3 CLASS="SECT3" ><A -NAME="AEN4549" ->31.3.1.2. Installing the required packages for RedHat</A +NAME="AEN4291" +>27.4.1.2. Installing the required packages for RedHat</A ></H3 ><P >On RedHat this means you should have at least: </P @@ -493,8 +609,8 @@ CLASS="SECT1" ><H1 CLASS="SECT1" ><A -NAME="AEN4559" ->31.4. Starting the smbd and nmbd</A +NAME="AEN4301" +>27.5. Starting the smbd and nmbd</A ></H1 ><P >You must choose to start smbd and nmbd either @@ -533,8 +649,8 @@ CLASS="SECT2" ><H2 CLASS="SECT2" ><A -NAME="AEN4569" ->31.4.1. Starting from inetd.conf</A +NAME="AEN4311" +>27.5.1. Starting from inetd.conf</A ></H2 ><P >NOTE; The following will be different if @@ -711,8 +827,8 @@ CLASS="SECT2" ><H2 CLASS="SECT2" ><A -NAME="AEN4603" ->31.4.2. Alternative: starting it as a daemon</A +NAME="AEN4345" +>27.5.2. Alternative: starting it as a daemon</A ></H2 ><P >To start the server as a daemon you should create @@ -804,7 +920,7 @@ WIDTH="33%" ALIGN="left" VALIGN="top" ><A -HREF="other-clients.html" +HREF="appendixes.html" ACCESSKEY="P" >Prev</A ></TD @@ -822,7 +938,7 @@ WIDTH="33%" ALIGN="right" VALIGN="top" ><A -HREF="bugreport.html" +HREF="nt4migration.html" ACCESSKEY="N" >Next</A ></TD @@ -832,7 +948,7 @@ ACCESSKEY="N" WIDTH="33%" ALIGN="left" VALIGN="top" ->Samba and other CIFS clients</TD +>Appendixes</TD ><TD WIDTH="34%" ALIGN="center" @@ -846,7 +962,7 @@ ACCESSKEY="U" WIDTH="33%" ALIGN="right" VALIGN="top" ->Reporting Bugs</TD +>Migration from NT4 PDC to Samba-3 PDC</TD ></TR ></TABLE ></DIV |