mirror of
https://github.com/samba-team/samba.git
synced 2025-08-02 00:22:11 +03:00
@ -5,7 +5,8 @@
|
||||
>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-howto-collection.html"><LINK
|
||||
@ -72,17 +73,13 @@ WIDTH="100%"></DIV
|
||||
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="AEN26"
|
||||
></A
|
||||
>1.1. 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.
|
||||
@ -122,9 +119,7 @@ CLASS="SECT1"
|
||||
><H1
|
||||
CLASS="SECT1"
|
||||
><A
|
||||
NAME="AEN36"
|
||||
></A
|
||||
>1.2. Building the Binaries</H1
|
||||
NAME="AEN36">1.2. Building the Binaries</H1
|
||||
><P
|
||||
>To do this, first run the program <B
|
||||
CLASS="COMMAND"
|
||||
@ -221,9 +216,7 @@ CLASS="SECT1"
|
||||
><H1
|
||||
CLASS="SECT1"
|
||||
><A
|
||||
NAME="AEN64"
|
||||
></A
|
||||
>1.3. 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
|
||||
@ -238,9 +231,7 @@ CLASS="SECT1"
|
||||
><H1
|
||||
CLASS="SECT1"
|
||||
><A
|
||||
NAME="AEN68"
|
||||
></A
|
||||
>1.4. 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
|
||||
@ -294,9 +285,7 @@ CLASS="SECT1"
|
||||
><H1
|
||||
CLASS="SECT1"
|
||||
><A
|
||||
NAME="AEN82"
|
||||
></A
|
||||
>1.5. Test your config file with
|
||||
NAME="AEN82">1.5. Test your config file with
|
||||
<B
|
||||
CLASS="COMMAND"
|
||||
>testparm</B
|
||||
@ -324,9 +313,7 @@ CLASS="SECT1"
|
||||
><H1
|
||||
CLASS="SECT1"
|
||||
><A
|
||||
NAME="AEN90"
|
||||
></A
|
||||
>1.6. 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
|
||||
@ -364,9 +351,7 @@ CLASS="SECT2"
|
||||
><H2
|
||||
CLASS="SECT2"
|
||||
><A
|
||||
NAME="AEN100"
|
||||
></A
|
||||
>1.6.1. 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
|
||||
@ -468,9 +453,7 @@ CLASS="SECT2"
|
||||
><H2
|
||||
CLASS="SECT2"
|
||||
><A
|
||||
NAME="AEN129"
|
||||
></A
|
||||
>1.6.2. 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
|
||||
@ -525,9 +508,7 @@ CLASS="SECT1"
|
||||
><H1
|
||||
CLASS="SECT1"
|
||||
><A
|
||||
NAME="AEN145"
|
||||
></A
|
||||
>1.7. Try listing the shares available on your
|
||||
NAME="AEN145">1.7. Try listing the shares available on your
|
||||
server</H1
|
||||
><P
|
||||
><TT
|
||||
@ -566,9 +547,7 @@ CLASS="SECT1"
|
||||
><H1
|
||||
CLASS="SECT1"
|
||||
><A
|
||||
NAME="AEN154"
|
||||
></A
|
||||
>1.8. Try connecting with the unix client</H1
|
||||
NAME="AEN154">1.8. Try connecting with the unix client</H1
|
||||
><P
|
||||
><TT
|
||||
CLASS="PROMPT"
|
||||
@ -629,9 +608,7 @@ CLASS="SECT1"
|
||||
><H1
|
||||
CLASS="SECT1"
|
||||
><A
|
||||
NAME="AEN170"
|
||||
></A
|
||||
>1.9. 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
|
||||
@ -678,9 +655,7 @@ CLASS="SECT1"
|
||||
><H1
|
||||
CLASS="SECT1"
|
||||
><A
|
||||
NAME="AEN184"
|
||||
></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
|
||||
@ -701,9 +676,7 @@ CLASS="SECT2"
|
||||
><H2
|
||||
CLASS="SECT2"
|
||||
><A
|
||||
NAME="AEN189"
|
||||
></A
|
||||
>1.10.1. Diagnosing Problems</H2
|
||||
NAME="AEN189">1.10.1. Diagnosing Problems</H2
|
||||
><P
|
||||
>If you have installation problems then go to the
|
||||
<A
|
||||
@ -718,9 +691,7 @@ CLASS="SECT2"
|
||||
><H2
|
||||
CLASS="SECT2"
|
||||
><A
|
||||
NAME="AEN193"
|
||||
></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.
|
||||
@ -734,9 +705,7 @@ CLASS="SECT2"
|
||||
><H2
|
||||
CLASS="SECT2"
|
||||
><A
|
||||
NAME="AEN196"
|
||||
></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,
|
||||
@ -775,9 +744,7 @@ CLASS="SECT2"
|
||||
><H2
|
||||
CLASS="SECT2"
|
||||
><A
|
||||
NAME="AEN205"
|
||||
></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
|
||||
@ -796,9 +763,7 @@ CLASS="SECT2"
|
||||
><H2
|
||||
CLASS="SECT2"
|
||||
><A
|
||||
NAME="AEN210"
|
||||
></A
|
||||
>1.10.5. Locking</H2
|
||||
NAME="AEN210">1.10.5. Locking</H2
|
||||
><P
|
||||
>One area which sometimes causes trouble is locking.</P
|
||||
><P
|
||||
@ -856,9 +821,7 @@ CLASS="SECT2"
|
||||
><H2
|
||||
CLASS="SECT2"
|
||||
><A
|
||||
NAME="AEN219"
|
||||
></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.
|
||||
|
Reference in New Issue
Block a user