source: server/other/samba3/samba3-config.xml@ 8cfd1f9

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 8cfd1f9 was 8cfd1f9, checked in by Igor Živković <igor@…>, 20 years ago

applied DJ's samba patch

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

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