From 27aef6855f1543547b8190f06fd264d1b52a558d Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sun, 6 Apr 2003 18:42:44 +0000 Subject: Regenerate docs (This used to be commit 5a2aaa3d5b039776314067aee953921e7865dc4d) --- docs/htmldocs/compiling.html | 186 +++++++++++++++++++++++++++---------------- 1 file changed, 117 insertions(+), 69 deletions(-) (limited to 'docs/htmldocs/compiling.html') diff --git a/docs/htmldocs/compiling.html b/docs/htmldocs/compiling.html index f62bc5400e..c336b388ba 100644 --- a/docs/htmldocs/compiling.html +++ b/docs/htmldocs/compiling.html @@ -74,7 +74,7 @@ CLASS="CHAPTER" >Chapter 26. How to compile SAMBAChapter 30. How to compile SAMBA

You can obtain the samba source from the

26.1. Access Samba source code via CVS30.1. Access Samba source code via CVS

26.1.1. Introduction30.1.1. Introduction

Samba is developed in an open environment. Developers use CVS @@ -117,8 +117,8 @@ CLASS="SECT2" >

26.1.2. CVS Access to samba.org30.1.2. CVS Access to samba.org

The machine samba.org runs a publicly accessible CVS @@ -130,8 +130,8 @@ CLASS="SECT3" >

26.1.2.1. Access via CVSweb30.1.2.1. Access via CVSweb

You can access the source code via your @@ -151,8 +151,8 @@ CLASS="SECT3" >

26.1.2.2. Access via cvs30.1.2.2. Access via cvs

You can also access the source code via a @@ -192,9 +192,9 @@ TYPE="1" > Run the command

cvs -d :pserver:cvs@samba.org:/cvsroot login cvs -d :pserver:cvs@samba.org:/cvsroot login

Run the command

cvs -d :pserver:cvs@samba.org:/cvsroot co samba cvs -d :pserver:cvs@samba.org:/cvsroot co samba

and defining a tag name. A list of branch tag names can be found on the "Development" page of the samba web site. A common request is to obtain the - latest 2.2 release code. This could be done by using the following command. + latest 2.2 release code. This could be done by using the following userinput.

cvs -d :pserver:cvs@samba.org:/cvsroot co -r SAMBA_2_2 samba cvs -d :pserver:cvs@samba.org:/cvsroot co -r SAMBA_2_2 samba

cvs update -d -P cvs update -d -P

26.2. Accessing the samba sources via rsync and ftp30.2. Accessing the samba sources via rsync and ftp

pserver.samba.org also exports unpacked copies of most parts of the CVS tree at

26.3. Building the Binaries30.3. Building the Binaries

To do this, first run the program To do this, first run the program ./configure - in the source directory. This should automatically configure Samba for your operating system. If you have unusual needs then you may wish to run

26.3.1. Compiling samba with Active Directory support30.3.1. Compiling samba with Active Directory support

In order to compile samba with ADS support, you need to have installed @@ -420,8 +420,8 @@ CLASS="SECT3" >

26.3.1.1. Installing the required packages for Debian30.3.1.1. Installing the required packages for Debian

On Debian you need to install the following packages:

26.3.1.2. Installing the required packages for RedHat30.3.1.2. Installing the required packages for RedHat

On RedHat this means you should have at least:

26.4. Starting the smbd and nmbd30.4. Starting the smbd and nmbd

You must choose to start smbd and nmbd either - as daemons or from inetd. Don't try + as daemons or from inetdDon't try to do both! Either you can put them in inetd.conf and have them started on demand - by inetdinetd, or you can start them as daemons either from the command line or in

The main advantage of starting smbdThe main advantage of starting smbd - and nmbdnmbd using the recommended daemon method is that they will respond slightly more quickly to an initial connection request.

26.4.1. Starting from inetd.conf30.4.1. Starting from inetd.conf

NOTE; The following will be different if @@ -595,19 +595,39 @@ CLASS="FILENAME" >

NOTE: On many systems you may need to use the "interfaces" option in smb.conf to specify the IP address - and netmask of your interfaces. Run ifconfigifconfig as root if you don't know what the broadcast is for your - net. nmbdnmbd tries to determine it at run - time, but fails on some unixes. See the section on "testing nmbd" - for a method of finding if you need to do this.

!!!WARNING!!! Many unixes only accept around 5 +>Many unixes only accept around 5 parameters on the command line in inetd.confinetd.

Restart inetd, perhaps just send - it a HUP. If you have installed an earlier version of nmbd nmbd then you may need to kill nmbd as well.

26.4.2. Alternative: starting it as a daemon30.4.2. Alternative: starting it as a daemon

To start the server as a daemon you should create @@ -676,13 +700,37 @@ CLASS="COMMAND" CLASS="COMMAND" >smbd.

NOTE: If you use the SVR4 style init system then +>

If you use the SVR4 style init system then you may like to look at the examples/svr4-startup script to make Samba fit into that system.