source: server/other/samba3/samba3-config.xml@ 2ce613f

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.0 6.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb v5_1 v5_1-pre1 xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 2ce613f was 2ce613f, checked in by Igor Živković <igor@…>, 20 years ago

more samba cleanup from DJ

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@2172 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 2.7 KB
Line 
1<sect2>
2<title>Configuring <application>Samba</application></title>
3
4<para>Because of the various uses for <application>Samba</application>,
5complete configuration is well beyond the scope of the BLFS book.
6In fact, many complete books have been written on this topic alone.
7The included documentation, a popular book published by O'Reilly,
8can be viewed by pointing your web browser to
9<ulink url="file:///usr/share/samba/swat/using_samba/toc.html" />.
10</para>
11
12<para>The built in <acronym>SWAT</acronym> (Samba Web Administration Tool)
13utility can be used for basic configuration, however, before
14using <acronym>SWAT</acronym> you must add an entry to
15<filename>/etc/services</filename> and make changes to your
16<command>inetd</command>/<command>xinetd</command>
17configuration.</para>
18
19<para>Add the swat entry to <filename>/etc/services</filename> with the
20following command: </para>
21
22<screen><userinput><command>echo "swat 901/tcp" &gt;&gt; /etc/services</command></userinput></screen>
23
24<para>If <command>inetd</command> is used, the following command will add the
25swat entry to <filename>/etc/inetd.conf</filename>: </para>
26
27<screen><userinput><command>echo "swat stream tcp nowait.400 root /usr/sbin/swat swat" \
28 &gt;&gt; /etc/inetd.conf</command></userinput></screen>
29
30<para>If <command>xinetd</command> is used, the following command will
31add the swat entry to <filename>/etc/xinetd.conf</filename>: </para>
32
33<screen><userinput><command>cat &gt;&gt; /etc/xinetd.conf &lt;&lt; "EOF"</command>
34service swat
35{
36 port = 901
37 socket_type = stream
38 wait = no
39 only_from = 127.0.0.1
40 user = root
41 server = /usr/sbin/swat
42 log_on_failure += USERID
43}
44<command>EOF</command></userinput></screen>
45
46<para><acronym>SWAT</acronym> can be launched by pointing your web
47browser to <ulink url="http://localhost:901"/>.</para>
48
49<para>For your convenience, boot scripts have been provided for
50<application>Samba</application>. There are two included in the
51<xref linkend="intro-important-bootscripts"/> package. The first,
52<filename>samba</filename>, will start the <command>smbd</command> and
53<command>nmbd</command> daemons needed to provide
54<acronym>SMB</acronym>/<acronym>CIFS</acronym> services. The second
55script, <filename>winbind</filename>, starts the <command>winbindd</command>
56daemon, used for providing Windows domain services to Linux clients.</para>
57
58<para>Install the <filename>samba</filename> script with the following
59command:</para>
60
61<screen><userinput><command>make install-samba</command></userinput></screen>
62
63<para>If you also need the <filename>winbind</filename> script:</para>
64
65<screen><userinput><command>make install-winbind</command></userinput></screen>
66
67</sect2>
68
Note: See TracBrowser for help on using the repository browser.