Changeset 677a0f7 for server/other


Ignore:
Timestamp:
04/05/2003 04:32:17 PM (21 years ago)
Author:
Larry Lawrence <larry@…>
Branches:
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, v1_0, v5_0, v5_0-pre1, v5_1, v5_1-pre1, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
4e2ef6e
Parents:
79df626
Message:

updated to samba-2.2.8

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

Location:
server/other
Files:
22 edited

Legend:

Unmodified
Added
Removed
  • server/other/bind/bind-config-exp.xml

    r79df626 r677a0f7  
    99chmod 666 /home/named/dev/{null,random}
    1010mkdir /home/named/etc/namedb/pz
    11 cp /etc/localtime /home/named/etc : </userinput></screen>
    12 
     11cp /etc/localtime /home/named/etc</userinput></screen>
    1312Create the unprivileged user and group named, along with device files
    1413that named will need access to inside the chroot jail.</para>
    1514
    16 <para><userinput>
    17 cat &gt; /home/named/etc/named.conf &lt;&lt; "EOF" :</userinput>
    18 Create the BIND configuration file, from which named will read the
     15<para><userinput>cat &gt; /home/named/etc/named.conf &lt;&lt;
     16"EOF"</userinput> : Create the BIND configuration file, from which named will read the
    1917location of zone files, root nameservers and secure DNS keys.</para>
    20 <para><userinput>
    21 cat &gt; /home/named/etc/namedb/pz/127.0.0 &lt;&lt; "EOF" :</userinput>
    22 Create a single zone file.</para>
    23 <para><userinput>
    24 cat &gt; /home/named/etc/namedb/root.hints &lt;&lt; "EOF" :</userinput>
    25 The root.hints file is a list of root nameservers.  This file must be
     18<para><userinput>cat &gt; /home/named/etc/namedb/pz/127.0.0 &lt;&lt; "EOF"</userinput> : Create a single zone file.</para>
     19<para><userinput>cat &gt; /home/named/etc/namedb/root.hints &lt;&lt; "EOF"</userinput> : The root.hints file is a list of root nameservers.  This file must be
    2620updated periodically with the dig utility.  Consult the BIND 9
    2721Administrator Reference Manual for details.</para>
    28 <para><userinput>
    29 cat &gt; /etc/rndc.conf &lt;&lt; "EOF" :</userinput>
    30 The rndc.conf file contains information for controlling named
     22<para><userinput>cat &gt; /etc/rndc.conf &lt;&lt; "EOF"</userinput> : The rndc.conf file contains information for controlling named
    3123operations with the rndc utility.</para>
    3224
    33 <para><userinput>
    34 cat &gt; /etc/resolv.conf &lt;&lt; "EOF" :</userinput>
    35 The resolv.conf file will specify the local host(127.0.0.1) as the
     25<para><userinput>cat &gt; /etc/resolv.conf &lt;&lt; "EOF"</userinput> : The resolv.conf file will specify the local host(127.0.0.1) as the
    3626nameserver.</para>
    3727
    38 <para><userinput>
    39 cat &gt; /etc/rc.d/init.d/bind &lt;&lt; "EOF" :</userinput>
    40 Create the boot script for BIND 9, used to start and stop the name
     28<para><userinput>cat &gt; /etc/rc.d/init.d/bind &lt;&lt;
     29"EOF"</userinput> : Create the boot script for BIND 9, used to start and stop the name
    4130server daemon, named.</para>
    4231
  • server/other/bind/bind-config.xml

    r79df626 r677a0f7  
    88<para>First we set up some files and directories needed by
    99BIND:</para>
    10 <para><screen><userinput>
    11 groupadd -g 200 named &amp;&amp;
     10<para><screen><userinput>groupadd -g 200 named &amp;&amp;
    1211useradd -m -g named -u 200 -s /bin/false named &amp;&amp;
    1312cd /home/named &amp;&amp;
     
    1716chmod 666 /home/named/dev/{null,random} &amp;&amp;
    1817mkdir /home/named/etc/namedb/pz &amp;&amp;
    19 cp /etc/localtime /home/named/etc
    20 </userinput></screen></para>
     18cp /etc/localtime /home/named/etc</userinput></screen></para>
    2119
    2220<sect3><title>Config files</title>
    23 <para><userinput>named.conf, root.hints, 127.0.0, rndc.conf
    24 </userinput></para>
     21<para><userinput>named.conf</userinput>,
     22<userinput>root.hints</userinput>, <userinput>127.0.0</userinput> and
     23<userinput>rndc.conf</userinput></para>
    2524
    2625<para>Create the named.conf file with the following commands:</para>
    27 <para><screen><userinput>
    28 cat &gt; /home/named/etc/named.conf &lt;&lt; "EOF"
     26<para><screen><userinput>cat &gt; /home/named/etc/named.conf &lt;&lt; "EOF"</userinput>
    2927 options {
    3028     directory "/etc/namedb";
     
    4846     file "pz/127.0.0";
    4947 };
    50 EOF
    51 </userinput></screen></para>
     48<userinput>EOF</userinput></screen></para>
    5249<para>Create a zone file with the following contents: </para>
    53 <para><screen><userinput>
    54 cat &gt; /home/named/etc/namedb/pz/127.0.0 &lt;&lt; "EOF"
     50<para><screen><userinput>cat &gt; /home/named/etc/namedb/pz/127.0.0 &lt;&lt; "EOF"</userinput>
    5551$TTL 3D
    5652@      IN      SOA     ns.local.domain. hostmaster.local.domain. (
     
    6258                NS      ns.local.domain.
    63591               PTR     localhost.
    64 EOF
    65 </userinput></screen></para>
     60<userinput>EOF</userinput></screen></para>
    6661
    6762<para>Create the root.hints file with the following commands: </para>
    6863<note><para>Caution must be used to insure no leading spaces in this
    6964file.</para></note>
    70 <para><screen><userinput>
    71 cat &gt; /home/named/etc/namedb/root.hints &lt;&lt; "EOF"
     65<para><screen><userinput>cat &gt; /home/named/etc/namedb/root.hints &lt;&lt; "EOF"</userinput>
    7266.                       6D  IN      NS      A.ROOT-SERVERS.NET.
    7367.                       6D  IN      NS      B.ROOT-SERVERS.NET.
     
    9690L.ROOT-SERVERS.NET.     6D  IN      A       198.32.64.12
    9791M.ROOT-SERVERS.NET.     6D  IN      A       202.12.27.33
    98 EOF
    99 </userinput></screen></para>
     92<userinput>EOF</userinput></screen></para>
    10093
    10194<para>Create the rndc.conf with the following commands:</para>
    102 <para><screen><userinput>
    103 cat &gt; /etc/rndc.conf &lt;&lt; "EOF"
     95<para><screen><userinput>cat &gt; /etc/rndc.conf &lt;&lt; "EOF"</userinput>
    10496key rndc_key {
    10597algorithm "hmac-md5";
     
    111103    default-key    rndc_key;
    112104};
    113 EOF
    114 </userinput></screen></para>
     105<userinput>EOF</userinput></screen></para>
    115106
    116107<para>Create or modify resolv.conf to use the new nameserver with the
     
    119110name.</para></note>
    120111
    121 <para><screen><userinput>
    122 cp /etc/resolv.conf /etc/resolv.conf.bak
    123 cat &gt; /etc/resolv.conf &lt;&lt; "EOF"
     112<para><screen><userinput>cp /etc/resolv.conf /etc/resolv.conf.bak &amp;&amp;
     113cat &gt; /etc/resolv.conf &lt;&lt; "EOF"</userinput>
    124114search yourdomain.com
    125115nameserver 127.0.0.1
    126 EOF
    127 </userinput></screen></para>
     116<userinput>EOF</userinput></screen></para>
    128117
    129118<para>Set permissions on the chroot jail with the following
    130119command:</para>
    131 <para><screen><userinput>
    132 chown -R named.named /home/named
    133 </userinput></screen></para>
     120<para><screen><userinput>chown -R named.named /home/named</userinput></screen></para>
    134121
    135122<para>Create the BIND boot script:</para>
    136 <para><screen><userinput>
    137 cat &gt; /etc/rc.d/init.d/bind &lt;&lt; "EOF"
     123<para><screen><userinput>cat &gt; /etc/rc.d/init.d/bind &lt;&lt; "EOF"</userinput>
    138124#!/bin/bash
    139125# Begin $rc_base/init.d/bind
     
    171157esac
    172158# End $rc_base/init.d/bind
    173 EOF
    174 </userinput></screen></para>
     159<userinput>EOF</userinput></screen></para>
    175160
    176161<para>Add the run level symlinks:</para>
    177 <para><screen><userinput>
    178 chmod 754 /etc/rc.d/init.d/bind &amp;&amp;
     162<para><screen><userinput>chmod 754 /etc/rc.d/init.d/bind &amp;&amp;
    179163ln -s  /etc/rc.d/init.d/bind /etc/rc.d/rc0.d/K49bind &amp;&amp;
    180164ln -s  /etc/rc.d/init.d/bind /etc/rc.d/rc1.d/K49bind &amp;&amp;
     
    183167ln -s  /etc/rc.d/init.d/bind /etc/rc.d/rc4.d/S22bind &amp;&amp;
    184168ln -s  /etc/rc.d/init.d/bind /etc/rc.d/rc5.d/S22bind &amp;&amp;
    185 ln -s  /etc/rc.d/init.d/bind /etc/rc.d/rc6.d/K49bind
    186 </userinput></screen></para>
     169ln -s  /etc/rc.d/init.d/bind /etc/rc.d/rc6.d/K49bind</userinput></screen></para>
    187170
    188171<para>Now start BIND with the new boot script: </para>
    189 <para><screen><userinput>
    190 /etc/rc.d/init.d/bind start
    191 </userinput></screen></para></sect3>
     172<para><screen><userinput>/etc/rc.d/init.d/bind start</userinput></screen></para></sect3>
    192173
    193174<sect3><title>Testing BIND</title>
    194175<para>Test out the new BIND 9 installation.  First query the local
    195176host address with dig:</para>
    196 <para><screen><userinput>
    197 dig -x 127.0.0.1
    198 </userinput></screen></para>
     177<para><screen><userinput>dig -x 127.0.0.1</userinput></screen></para>
    199178<para>Now try an external name lookup, taking note of the speed
    200179difference in repeated lookups due to the caching.  Run the dig
    201180command twice on the same address:</para>
    202 <para><screen><userinput>
    203 dig beyond.linuxfromscratch.org &amp;&amp;
    204 dig beyond.linuxfromscratch.org
    205 </userinput></screen>
     181<para><screen><userinput>dig beyond.linuxfromscratch.org &amp;&amp;
     182dig beyond.linuxfromscratch.org</userinput></screen>
    206183You can see almost instantaneous results with the named caching
    207184lookups.  Consult bind-&bind-version;/doc/arm/Bv9ARM.html, the BIND
  • server/other/cvsserver/cvsserver-exp.xml

    r79df626 r677a0f7  
    22<title>Command explanations</title>
    33
    4 <para><userinput>mkdir /cvsroot :</userinput> Create the CVS repository
     4<para><userinput>mkdir /cvsroot</userinput> : Create the CVS repository
    55directory.</para>
    66
    7 <para><userinput>chmod 1777 /cvsroot :</userinput> Sticky bit
     7<para><userinput>chmod 1777 /cvsroot</userinput> : Sticky bit
    88permissions for CVSROOT.</para>
    99
    10 <para><userinput>export CVSROOT=/cvsroot :</userinput> Specify new
     10<para><userinput>export CVSROOT=/cvsroot</userinput> : Specify new
    1111CVSROOT for all cvs commands.</para>
    1212
    13 <para><userinput>cvs init :</userinput> Initialize the new CVS
     13<para><userinput>cvs init</userinput> : Initialize the new CVS
    1414repository.</para>
    1515
    1616<para><userinput>cvs import -m "repository test" cvstest vendortag
    17 releasetag :</userinput> All source code modules must be imported
     17releasetag</userinput> : All source code modules must be imported
    1818into the CVS repository before use, with the cvs import command.  the
    1919-m flags specifies an initial descriptive entry for the new module.
     
    2424
    2525<para><userinput>(grep anonymous /etc/passwd || useradd anonymous -s
    26 /bin/false) :</userinput> Check for an existing anonymous user and
     26/bin/false)</userinput>  : Check for an existing anonymous user and
    2727create one if not found.</para>
    2828
    29 <para><userinput>echo anonymous: > /cvsroot/CVSROOT/passwd
    30 :</userinput> Add the anonymous user to the CVS passwd file, which is
     29<para><userinput>echo anonymous: &gt; /cvsroot/CVSROOT/passwd
     30</userinput> : Add the anonymous user to the CVS passwd file, which is
    3131unused for anything else in this configuration.</para>
    3232
    33 <para><userinput>echo anonymous > /cvsroot/CVSROOT/readers :
    34 </userinput> Add the anonymous user to the CVS readers file, a list of
     33<para><userinput>echo anonymous &gt; /cvsroot/CVSROOT/readers</userinput> : Add the anonymous user to the CVS readers file, a list of
    3534users who have read only access to the repository.</para>
    3635
  • server/other/cvsserver/cvsserver-inst.xml

    r79df626 r677a0f7  
    1717<para><screen><userinput>mkdir /cvsroot &amp;&amp;
    1818chmod 1777 /cvsroot &amp;&amp;
    19 export CVSROOT=/cvsroot
     19export CVSROOT=/cvsroot &amp;&amp;
    2020cvs init</userinput></screen></para></sect3>
    2121
     
    5656
    5757<para><screen><userinput>(grep anonymous /etc/passwd || useradd anonymous -s /bin/false) &amp;&amp;
    58 echo anonymous: > /cvsroot/CVSROOT/passwd &amp;&amp;
    59 echo anonymous > /cvsroot/CVSROOT/readers</userinput></screen></para>
     58echo anonymous: &gt; /cvsroot/CVSROOT/passwd &amp;&amp;
     59echo anonymous &gt; /cvsroot/CVSROOT/readers</userinput></screen></para>
    6060
    6161<para>If you use inetd, the following command will add the pserver
     
    7171entry to /etc/xinetd.conf:</para>
    7272
    73 <para><screen><userinput>cat &gt;&gt; /etc/xinetd.conf &lt;&lt; "EOF"
     73<para><screen><userinput>cat &gt;&gt; /etc/xinetd.conf &lt;&lt; "EOF"</userinput>
    7474     service cvspserver
    7575     {
     
    8383         server_args = -f --allow-root=/cvsroot pserver
    8484     }
    85 EOF</userinput></screen></para>
     85<userinput>EOF</userinput></screen></para>
    8686<para>Issue a killall -HUP xinetd to reread the changed xinetd.conf
    8787file.</para>
  • server/other/dhcp/dhcp-exp.xml

    r79df626 r677a0f7  
    22<title>Command explanations</title>
    33
    4 <para><userinput>make CC="gcc $CFLAGS" :</userinput> This makes dhcp
    5 compile using our CFLAGS for optimizations.</para>
    6 
    7 <para><userinput>LIBDIR=/usr/lib INCDIR=/usr/include :</userinput> This
     4<para><userinput>LIBDIR=/usr/lib INCDIR=/usr/include</userinput> : This
    85command installs the library and include files in <filename
    96class="directory">/usr</filename> instead of <filename
  • server/other/dhcp/dhcp-inst.xml

    r79df626 r677a0f7  
    55
    66<para><screen><userinput>./configure &amp;&amp;
    7 make CC="gcc $CFLAGS" &amp;&amp;
     7make &amp;&amp;
    88make LIBDIR=/usr/lib INCDIR=/usr/include install</userinput></screen></para>
    99
  • server/other/leafnode/leafnode-config.xml

    r79df626 r677a0f7  
    33
    44<sect3><title>Config files</title>
    5 <para><userinput>/etc/leafnode/config,
    6 /etc/inetd.conf, /etc/xinetd.conf</userinput></para>
     5<para><userinput>/etc/leafnode/config</userinput>,
     6<userinput>/etc/inetd.conf</userinput> and <userinput>/etc/xinetd.conf</userinput></para>
    77
    88<para>leafnode may be configured to use inetd or xinetd as follows:
     
    1818<para>Add a leafnode entry to the <filename>/etc/xinetd.conf</filename>
    1919file with the following command:
    20 <screen><userinput>cat &gt;&gt; /etc/xinetd.conf &lt;&lt; "EOF"
     20<screen><userinput>cat &gt;&gt; /etc/xinetd.conf &lt;&lt; "EOF"</userinput>
    2121        service nntp
    2222        {
     
    3131           per_source      = 3
    3232        }
    33 EOF</userinput></screen></para>
     33<userinput>EOF</userinput></screen></para>
    3434
    3535<para>The <filename>/etc/news/config</filename> file must be
  • server/other/leafnode/leafnode-exp.xml

    r79df626 r677a0f7  
    1010ignored.</para>
    1111
    12 <para><userinput> --prefix=/usr : </userinput>
    13 Change the default installation directory of /usr/local.</para>
     12<para><userinput> --prefix=/usr</userinput> : Change the default installation directory of /usr/local.</para>
    1413
    15 <para><userinput> --localstatedir=/var : </userinput>
    16 Change the default spool directory of /usr/var.</para>
     14<para><userinput> --localstatedir=/var</userinput> : Change the default spool directory of /usr/var.</para>
    1715
    18 <para><userinput> --sysconfdir=/etc/news : </userinput>
    19 leafnode reads it's configuration data from an file called
     16<para><userinput> --sysconfdir=/etc/news</userinput> : leafnode reads it's configuration data from an file called
    2017<filename>config</filename>, this with be created in
    2118<filename>/etc/news</filename> to avoid any potential conflict with
     
    2320</para>
    2421
    25 <para><userinput> make update : </userinput>
    26 Create an initial <filename>/etc/news/config.example</filename> file,
     22<para><userinput> make update</userinput> : Create an initial <filename>/etc/news/config.example</filename> file,
    2723which must be renamed to <filename>/etc/news/config</filename>.</para>
    2824
  • server/other/openldap/openldap-desc.xml

    r79df626 r677a0f7  
    22<title>Contents</title>
    33
    4 <para>The OpenLDAP package contains slapd, slurpd, LDAP libraries, and
    5 various utilities, tools, and sample clients.  </para>
     4<para>The OpenLDAP package contains <userinput>slapd</userinput>,
     5<userinput>slurpd</userinput>, <userinput>LDAP libraries</userinput> and
     6<userinput>various utilities, tools, and sample clients</userinput>.</para>
    67
    78</sect2>
  • server/other/openldap/openldap-exp.xml

    r79df626 r677a0f7  
    22<title>Installation command explanations</title>
    33
    4 <para><userinput>--prefix=/usr:</userinput> Sets the prefix for almost all the file
     4<para><userinput>--prefix=/usr</userinput> : Sets the prefix for almost all the file
    55paths to /usr.</para>
    66
    7 <para><userinput>--sysconfdir=/etc:</userinput> Sets the configuration file directory to
     7<para><userinput>--sysconfdir=/etc</userinput> : Sets the configuration file directory to
    88avoid the default of /usr/etc.</para>
    99
    10 <para><userinput>--libexecdir=/usr/sbin:</userinput> Puts the server executables in
     10<para><userinput>--libexecdir=/usr/sbin</userinput> : Puts the server executables in
    1111/usr/sbin instead of /usr/libexec.</para>
    1212
    13 <para><userinput>--enable-ldbm:</userinput> Enable the most recent version of the Berkely DB.</para>
     13<para><userinput>--enable-ldbm</userinput> : Enable the most recent version of the Berkely DB.</para>
    1414
    15 <para><userinput>--disable-debug:</userinput> Disable debugging code.</para> 
     15<para><userinput>--disable-debug</userinput> : Disable debugging code.</para> 
    1616<para><userinput>make test:</userinput> Validate correct build of the package.</para> 
    1717
  • server/other/openldap/openldap-intro.xml

    r79df626 r677a0f7  
    22<title>Introduction to OpenLDAP</title>
    33
    4 <screen>Download location (FTP): <ulink url="&openldap-download-ftp;"/>
     4<screen>Download location (HTTP):       <ulink url="&openldap-download-http;"/>
     5Download location (FTP):        <ulink url="&openldap-download-ftp;"/>
    56Version used:                   &openldap-version;
    67Package size:                   &openldap-size;
  • server/other/openldap/openldap.ent

    r79df626 r677a0f7  
    1010<!ENTITY openldap-size          "2.0 MB">
    1111<!ENTITY openldap-download-http "">
    12 <!ENTITY openldap-download-ftp
    13 "ftp://ftp.OpenLDAP.org/pub/OpenLDAP/openldap-release/openldap-&openldap-version;.tgz">
     12<!ENTITY openldap-download-ftp "ftp://ftp.OpenLDAP.org/pub/OpenLDAP/openldap-release/openldap-&openldap-version;.tgz">
  • server/other/openssh/openssh-config.xml

    r79df626 r677a0f7  
    44<sect3><title>Config files</title>
    55
    6 <para><userinput>/etc/ssh/ssh_config, /etc/ssh/sshd_config </userinput></para>
     6<para><userinput>/etc/ssh/ssh_config</userinput>, <userinput>/etc/ssh/sshd_config </userinput></para>
    77<para>There are no required changes in either of these files.  However
    88you may wish to view them to make changes for appropriate security to
  • server/other/openssh/openssh-exp.xml

    r79df626 r677a0f7  
    22<title>Command explanations</title>
    33
    4 <para><userinput>--sysconfigdir=/etc/ssh :</userinput> This prevents the
     4<para><userinput>--sysconfigdir=/etc/ssh</userinput> : This prevents the
    55configuration files from going to /usr/etc.</para>
    66
    7 <para><userinput>--with-md5-passwords :</userinput> This is required
     7<para><userinput>--with-md5-passwords</userinput> : This is required
    88if you made the changes recommended by the shadowpasswd_plus lfs hint on
    99your ssh server when you installed the Shadow Password Suite or if you
     
    1111md5. </para>
    1212
    13 <para><userinput>--libexecdir=/usr/sbin :</userinput> OpenSSH puts
     13<para><userinput>--libexecdir=/usr/sbin</userinput> : OpenSSH puts
    1414programs called by programs in /usr/libexec.  sftp-server is a sshd
    1515utility and ssh-askpass is a ssh-add utility that is installed as a
  • server/other/samba/samba-config-exp.xml

    r79df626 r677a0f7  
    11<sect2>
    22<title>Configuration command explanations</title>
    3 <para><userinput>cat &gt; /etc/samba/smb.conf &lt;&lt; "EOF" :</userinput>
    4 Create a default Samba configuration file.  This configuration will
     3<para><userinput>cat &gt; /etc/samba/smb.conf &lt;&lt; "EOF"</userinput>
     4: Create a default Samba configuration file.  This configuration will
    55allow Samba to act as a Primary Domain Controller for a Microsoft
    66Windows based network.  If this is not desired, a simpler default
     
    1212
    1313
    14 <para><userinput>cat &gt; /etc/rc.d/init.d/samba &lt;&lt; "EOF" :</userinput>
    15 Create the Samba boot script, used to start and stop Samba
     14<para><userinput>cat &gt; /etc/rc.d/init.d/samba &lt;&lt;
     15"EOF"</userinput> : Create the Samba boot script, used to start and stop Samba
    1616automatically on machine startup and shutdown.</para>
    1717
    1818<para><screen><userinput>/usr/sbin/useradd -g 100 -d /dev/null -c \
    19     "Win2k Server" -s /bin/false win2kbox$ :</userinput></screen>
     19    "Win2k Server" -s /bin/false win2kbox$</userinput></screen>
    2020This command creates a machine trust account, necessary only for
    2121Windows 2000/NT servers to authenticate to our new PDC.  Machine trust
     
    2323
    2424<para>
    25 <userinput>echo "swat 901/tcp" &gt;&gt; /etc/services :</userinput>
    26 Register the swat service to run on port 901.</para>
     25<userinput>echo "swat 901/tcp" &gt;&gt; /etc/services</userinput> : Register the swat service to run on port 901.</para>
    2726
    2827<para><userinput>echo "swat stream tcp nowait.400 root /usr/sbin/swat swat" &gt;&gt;
    29 /etc/inetd.conf :</userinput> Instruct inetd where to find and how to
     28/etc/inetd.conf</userinput> : Instruct inetd where to find and how to
    3029run swat.</para>
    3130
    3231<para>
    33 <userinput>ln -s  /etc/rc.d/init.d/samba /etc/rc.d/rc3.d/S600samba, etc. :</userinput>
    34 Create the Samba boot scripts, used to start and stop Samba
     32<userinput>ln -s  /etc/rc.d/init.d/samba
     33/etc/rc.d/rc3.d/S600samba</userinput> etc. : Create the Samba boot scripts, used to start and stop Samba
    3534automatically on machine startup and shutdown.</para>
    3635</sect2>
  • server/other/samba/samba-config.xml

    r79df626 r677a0f7  
    1212
    1313<sect3><title>Config files</title>
    14 <para><userinput>/etc/samba/smb.conf, /etc/rc.d/init.d/samba </userinput></para>
     14<para><userinput>/etc/samba/smb.conf</userinput>, <userinput>/etc/rc.d/init.d/samba </userinput></para>
    1515
    1616<para>First we set up some directories needed by Samba:</para>
     
    2222
    2323<para>And the Samba configuration file: </para>
    24 <para><screen><userinput>cat &gt; /etc/samba/smb.conf &lt;&lt; "EOF"
     24<para><screen><userinput>cat &gt; /etc/samba/smb.conf &lt;&lt; "EOF"</userinput>
    2525[global]
    2626    netbios name = SAMBABOX
     
    5959        read only = no
    6060        public = no
    61 EOF </userinput></screen></para>
     61<userinput>EOF </userinput></screen></para>
    6262
    6363<para>Now add the machine trust account for WIN2KBOX:</para>
     
    6868
    6969<para>Create the Samba boot script:</para>
    70 <para><screen><userinput>cat &gt; /etc/rc.d/init.d/samba &lt;&lt; "EOF"
     70<para><screen><userinput>cat &gt; /etc/rc.d/init.d/samba &lt;&lt; "EOF"</userinput>
    7171#!/bin/bash
    7272# Begin $rc_base/init.d/samba
     
    109109esac
    110110# End $rc_base/init.d/samba
    111 EOF</userinput></screen></para>
     111<userinput>EOF</userinput></screen></para>
    112112<para>Add the run level symlinks:</para>
    113113<para><screen><userinput>chmod 754 /etc/rc.d/init.d/samba &amp;&amp;
     
    130130first machine we'll join to DOMAIN01 will be WIN2KBOX, the Windows
    1311312000 Server box we created the machine trust account for.  On
    132 WIN2KBOX:</para><para><screen><userinput>
    133 
    134 1.  Right click on My Computer.
     132WIN2KBOX:</para><para><screen><userinput>1.  Right click on My Computer.
    1351332.  Click on Properties.
    1361343.  Click on the Network Identification notebook tab.
     
    1451439.  Click OK in the reboot reminder dialog box.
    14614410. Click OK to close the System Properties window.
    147 11. Click Yes to reboot WIN2KBOX.  </userinput></screen></para></sect3>
     14511. Click Yes to reboot WIN2KBOX.</userinput></screen></para></sect3>
    148146
    149147<sect3><title>Add a new user to the DOMAIN01 domain.</title>
     
    173171<para>If xinetd is used, the following command will add the swat entry
    174172to <filename>/etc/xinetd.conf</filename>: </para>
    175 <para><screen><userinput>cat &gt;&gt; /etc/xinetd.conf &lt;&lt; "EOF"
     173<para><screen><userinput>cat &gt;&gt; /etc/xinetd.conf &lt;&lt; "EOF"</userinput>
    176174service swat
    177175{
     
    184182    log_on_failure  += USERID
    185183}
    186 EOF</userinput></screen></para>
     184<userinput>EOF</userinput></screen></para>
    187185
    188186<para>The Samba Web Administration Tool, swat, can be launched with the
  • server/other/samba/samba-desc.xml

    r79df626 r677a0f7  
    3434<sect3><title>mount.smbfs</title>
    3535<para>mount.smbfs provides /bin/mount with a way to mount remote
    36 windows (or samba) fileshares</para></sect3>
     36windows (or samba) fileshares.</para></sect3>
    3737<sect3><title>nmbd</title>
    3838<para>nmbd is the Samba NetBIOS name server.</para></sect3>
  • server/other/samba/samba-exp.xml

    r79df626 r677a0f7  
    33
    44<para><screen><userinput>mkdir -p /etc/samba/private
    5 mkdir -p /var/cache/samba :</userinput></screen>
     5mkdir -p /var/cache/samba</userinput></screen>
    66Directories needed for proper operation of the smbd and nmbd daemons.</para>
    77
    8 <para><userinput>--prefix=/usr :</userinput> Sets the prefix for almost all the file paths to /usr.</para>
     8<para><userinput>--prefix=/usr</userinput> : Sets the prefix for almost all the file paths to /usr.</para>
    99
    10 <para><userinput>--sysconfdir=/etc :</userinput> Sets the configuration file directory to avoid the default of /usr/etc.</para>
     10<para><userinput>--sysconfdir=/etc</userinput> : Sets the configuration file directory to avoid the default of /usr/etc.</para>
    1111
    12 <para><userinput>--localstatedir=/var :</userinput> Sets the variable data directory to avoid the default of /usr/var.</para>
     12<para><userinput>--localstatedir=/var</userinput> : Sets the variable data directory to avoid the default of /usr/var.</para>
    1313
    14 <para><userinput>--with-fhs :</userinput> Assigns all other file paths in a manner compliant with the Filesystem Hierarchy Standard.</para>
     14<para><userinput>--with-fhs</userinput> : Assigns all other file paths in a manner compliant with the Filesystem Hierarchy Standard.</para>
    1515
    16 <para><userinput>--with-smbmount :</userinput> Orders the creation of an extra binary for use by the mount command so that mounting remote SMB (windows) shares becomes no more complex than mounting remote NFS shares.</para>
     16<para><userinput>--with-smbmount</userinput> : Orders the creation of an extra binary for use by the mount command so that mounting remote SMB (windows) shares becomes no more complex than mounting remote NFS shares.</para>
    1717
    18 <para><userinput>rm -rf /usr/private : </userinput> Removes a directory erroneously created by source/scripts/installbin.sh during the make install.</para>
     18<para><userinput>rm -rf /usr/private</userinput> : Removes a directory erroneously created by source/scripts/installbin.sh during the make install.</para>
    1919
    2020</sect2>
  • server/other/samba/samba-intro.xml

    r79df626 r677a0f7  
    33
    44<screen>Download location (HTTP):       <ulink url="&samba-download-http;"/>
     5Download location (FTP):        <ulink url="&samba-download-ftp;"/>
    56Version used:                   &samba-version;
    67Package size:                   &samba-size;
  • server/other/samba/samba.ent

    r79df626 r677a0f7  
    77<!ENTITY samba-config SYSTEM "samba-config.xml">
    88<!ENTITY samba-buildsize "45 MB">
    9 <!ENTITY samba-version "2.2.7a">
    10 <!ENTITY samba-download-http
    11 "http://us1.samba.org/samba/ftp/samba-&samba-version;.tar.gz">
     9<!ENTITY samba-version "2.2.8">
     10<!ENTITY samba-download-http "http://us1.samba.org/samba/ftp/samba-&samba-version;.tar.bz2">
    1211<!ENTITY samba-download-ftp "">
    1312<!ENTITY samba-size "5.0 MB">
  • server/other/xinetd/xinetd-config.xml

    r79df626 r677a0f7  
    1010
    1111<para>Create the xinetd boot script:</para>
    12 <para><screen><userinput>cat &gt; /etc/rc.d/init.d/xinetd &lt;&lt; "EOF"
     12<para><screen><userinput>cat &gt; /etc/rc.d/init.d/xinetd &lt;&lt; "EOF"</userinput>
    1313#!/bin/bash
    1414# Begin $rc_base/init.d/xinetd
     
    4444esac
    4545# End $rc_base/init.d/xinetd
    46 EOF</userinput></screen></para>
     46<userinput>EOF</userinput></screen></para>
    4747
    4848<para>Add the run level symlinks:</para>
  • server/other/xinetd/xinetd-desc.xml

    r79df626 r677a0f7  
    55<userinput>xinetd</userinput>,
    66<userinput>itox</userinput> and
    7 <userinput>xconv.pl.</userinput></para></sect2>
     7<userinput>xconv.pl</userinput>.</para></sect2>
    88
    99<sect2><title>Description</title>
Note: See TracChangeset for help on using the changeset viewer.