>How to Install and Test SAMBA</TITLE
><META
NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.77"><LINK
+CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
+"><LINK
REL="HOME"
TITLE="SAMBA Project Documentation"
-HREF="samba-project-documentation.html"><LINK
+HREF="samba-howto-collection.html"><LINK
+REL="UP"
+TITLE="General installation"
+HREF="introduction.html"><LINK
REL="PREVIOUS"
-TITLE="SAMBA Project Documentation"
-HREF="samba-project-documentation.html"><LINK
+TITLE="General installation"
+HREF="introduction.html"><LINK
REL="NEXT"
-TITLE="Diagnosing your samba server"
-HREF="diagnosis.html"></HEAD
+TITLE="Improved browsing in samba"
+HREF="improved-browsing.html"></HEAD
><BODY
CLASS="CHAPTER"
BGCOLOR="#FFFFFF"
ALIGN="left"
VALIGN="bottom"
><A
-HREF="samba-project-documentation.html"
+HREF="introduction.html"
ACCESSKEY="P"
>Prev</A
></TD
ALIGN="right"
VALIGN="bottom"
><A
-HREF="diagnosis.html"
+HREF="improved-browsing.html"
ACCESSKEY="N"
>Next</A
></TD
CLASS="CHAPTER"
><H1
><A
-NAME="INSTALL"
-></A
->Chapter 1. How to Install and Test SAMBA</H1
+NAME="INSTALL">Chapter 1. How to Install and Test SAMBA</H1
><DIV
CLASS="SECT1"
><H1
CLASS="SECT1"
><A
-NAME="AEN20"
-></A
->1.1. Step 0: Read the man pages</H1
+NAME="AEN26">1.1. Read the man pages</H1
><P
>The man pages distributed with SAMBA contain
lots of useful info that will help to get you started.
><TT
CLASS="USERINPUT"
><B
+>man smbd.8</B
+></TT
+>
+ or
+ <TT
+CLASS="PROMPT"
+>$ </TT
+><TT
+CLASS="USERINPUT"
+><B
>nroff -man smbd.8 | more
</B
></TT
-></P
+> on older unixes.</P
><P
>Other sources of information are pointed to
by the Samba web site,<A
><H1
CLASS="SECT1"
><A
-NAME="AEN28"
-></A
->1.2. Step 1: Building the Binaries</H1
+NAME="AEN36">1.2. Building the Binaries</H1
><P
>To do this, first run the program <B
CLASS="COMMAND"
><H1
CLASS="SECT1"
><A
-NAME="AEN56"
-></A
->1.3. Step 2: The all important step</H1
+NAME="AEN64">1.3. The all important step</H1
><P
>At this stage you must fetch yourself a
coffee or other drink you find stimulating. Getting the rest
><H1
CLASS="SECT1"
><A
-NAME="AEN60"
-></A
->1.4. Step 3: Create the smb configuration file.</H1
+NAME="AEN68">1.4. Create the smb configuration file.</H1
><P
>There are sample configuration files in the examples
subdirectory in the distribution. I suggest you read them
><H1
CLASS="SECT1"
><A
-NAME="AEN74"
-></A
->1.5. Step 4: Test your config file with
+NAME="AEN82">1.5. Test your config file with
<B
CLASS="COMMAND"
>testparm</B
><P
>Make sure it runs OK and that the services look
reasonable before proceeding. </P
+><P
+>Always run testparm again when you change
+ <TT
+CLASS="FILENAME"
+>smb.conf</TT
+>!</P
></DIV
><DIV
CLASS="SECT1"
><H1
CLASS="SECT1"
><A
-NAME="AEN80"
-></A
->1.6. Step 5: Starting the smbd and nmbd</H1
+NAME="AEN90">1.6. Starting the smbd and nmbd</H1
><P
>You must choose to start smbd and nmbd either
as daemons or from <B
><H2
CLASS="SECT2"
><A
-NAME="AEN90"
-></A
->1.6.1. Step 5a: Starting from inetd.conf</H2
+NAME="AEN100">1.6.1. Starting from inetd.conf</H2
><P
>NOTE; The following will be different if
you use NIS or NIS+ to distributed services maps.</P
><H2
CLASS="SECT2"
><A
-NAME="AEN119"
-></A
->1.6.2. Step 5b. Alternative: starting it as a daemon</H2
+NAME="AEN129">1.6.2. Alternative: starting it as a daemon</H2
><P
>To start the server as a daemon you should create
a script something like this one, perhaps calling
><H1
CLASS="SECT1"
><A
-NAME="AEN135"
-></A
->1.7. Step 6: Try listing the shares available on your
+NAME="AEN145">1.7. Try listing the shares available on your
server</H1
><P
><TT
><H1
CLASS="SECT1"
><A
-NAME="AEN144"
-></A
->1.8. Step 7: Try connecting with the unix client</H1
+NAME="AEN154">1.8. Try connecting with the unix client</H1
><P
><TT
CLASS="PROMPT"
><H1
CLASS="SECT1"
><A
-NAME="AEN160"
-></A
->1.9. Step 8: Try connecting from a DOS, WfWg, Win9x, WinNT,
+NAME="AEN170">1.9. Try connecting from a DOS, WfWg, Win9x, WinNT,
Win2k, OS/2, etc... client</H1
><P
>Try mounting disks. eg:</P
><H1
CLASS="SECT1"
><A
-NAME="AEN174"
-></A
->1.10. What If Things Don't Work?</H1
+NAME="AEN184">1.10. What If Things Don't Work?</H1
><P
>If nothing works and you start to think "who wrote
this pile of trash" then I suggest you do step 2 again (and
><H2
CLASS="SECT2"
><A
-NAME="AEN179"
-></A
->1.10.1. Diagnosing Problems</H2
+NAME="AEN189">1.10.1. Diagnosing Problems</H2
><P
->If you have installation problems then go to
- <TT
-CLASS="FILENAME"
->DIAGNOSIS.txt</TT
-> to try to find the
+>If you have installation problems then go to the
+ <A
+HREF="Diagnosis.html"
+TARGET="_top"
+>Diagnosis</A
+> chapter to try to find the
problem.</P
></DIV
><DIV
><H2
CLASS="SECT2"
><A
-NAME="AEN183"
-></A
->1.10.2. Scope IDs</H2
+NAME="AEN193">1.10.2. Scope IDs</H2
><P
>By default Samba uses a blank scope ID. This means
all your windows boxes must also have a blank scope ID.
><H2
CLASS="SECT2"
><A
-NAME="AEN186"
-></A
->1.10.3. Choosing the Protocol Level</H2
+NAME="AEN196">1.10.3. Choosing the Protocol Level</H2
><P
>The SMB protocol has many dialects. Currently
Samba supports 5, called CORE, COREPLUS, LANMAN1,
><H2
CLASS="SECT2"
><A
-NAME="AEN195"
-></A
->1.10.4. Printing from UNIX to a Client PC</H2
+NAME="AEN205">1.10.4. Printing from UNIX to a Client PC</H2
><P
>To use a printer that is available via a smb-based
server from a unix host with LPR you will need to compile the
><H2
CLASS="SECT2"
><A
-NAME="AEN200"
-></A
->1.10.5. Locking</H2
+NAME="AEN210">1.10.5. Locking</H2
><P
>One area which sometimes causes trouble is locking.</P
><P
><H2
CLASS="SECT2"
><A
-NAME="AEN209"
-></A
->1.10.6. Mapping Usernames</H2
+NAME="AEN219">1.10.6. Mapping Usernames</H2
><P
>If you have different usernames on the PCs and
the unix server then take a look at the "username map" option.
ALIGN="left"
VALIGN="top"
><A
-HREF="samba-project-documentation.html"
+HREF="introduction.html"
ACCESSKEY="P"
>Prev</A
></TD
ALIGN="center"
VALIGN="top"
><A
-HREF="samba-project-documentation.html"
+HREF="samba-howto-collection.html"
ACCESSKEY="H"
>Home</A
></TD
ALIGN="right"
VALIGN="top"
><A
-HREF="diagnosis.html"
+HREF="improved-browsing.html"
ACCESSKEY="N"
>Next</A
></TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
->SAMBA Project Documentation</TD
+>General installation</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
-> </TD
+><A
+HREF="introduction.html"
+ACCESSKEY="U"
+>Up</A
+></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
->Diagnosing your samba server</TD
+>Improved browsing in samba</TD
></TR
></TABLE
></DIV