mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-24 23:32:12 +08:00
Update to samba tagging
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@3621 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
efa108a616
commit
2a3fc5357c
@ -227,12 +227,18 @@ to gain access to the console, BLFS recommends setting up access to
|
||||
<para>First you must add entries to <filename>/etc/services</filename> and
|
||||
modify the <command>inetd</command>/<command>xinetd</command>
|
||||
configuration.</para>
|
||||
|
||||
<indexterm zone="samba3 samba3-swat-config">
|
||||
<primary sortas="e-etc-services">/etc/services</primary></indexterm>
|
||||
<primary sortas="e-etc-services">/etc/services</primary>
|
||||
</indexterm>
|
||||
|
||||
<indexterm zone="samba3 samba3-swat-config">
|
||||
<primary sortas="e-etc-inetd.conf">/etc/inetd.conf</primary></indexterm>
|
||||
<primary sortas="e-etc-inetd.conf">/etc/inetd.conf</primary>
|
||||
</indexterm>
|
||||
|
||||
<indexterm zone="samba3 samba3-swat-config">
|
||||
<primary sortas="e-etc-xinetd.conf">/etc/xinetd.conf</primary></indexterm>
|
||||
<primary sortas="e-etc-xinetd.conf">/etc/xinetd.conf</primary>
|
||||
</indexterm>
|
||||
|
||||
<para>Add swat and swat_tunnel entries to
|
||||
<filename>/etc/services</filename> with the following commands issued as the
|
||||
@ -271,13 +277,18 @@ service swat_tunnel
|
||||
# End /etc/xinetd.d/swat_tunnel
|
||||
<command>EOF</command></userinput></screen>
|
||||
|
||||
<indexterm zone="samba3 samba3-swat-config">
|
||||
<primary sortas="e-etc-xinetd.d-swat-tunnel">/etc/xinetd.d/swat_tunnel</primary>
|
||||
</indexterm>
|
||||
|
||||
<para>Issue a <command>killall -HUP xinetd</command> to reread the
|
||||
changed <filename>xinetd.conf</filename> file.</para>
|
||||
|
||||
<para>Next, you must add an entry for the swat service to the
|
||||
<filename>/etc/stunnel/stunnel.conf</filename> file (as user root):</para>
|
||||
<indexterm zone="samba3 samba3-swat-config"><primary
|
||||
sortas="e-etc-stunnel-stunnel.conf">/etc/stunnel/stunnel.conf</primary>
|
||||
|
||||
<indexterm zone="samba3 samba3-swat-config">
|
||||
<primary sortas="e-etc-stunnel-stunnel.conf">/etc/stunnel/stunnel.conf</primary>
|
||||
</indexterm>
|
||||
|
||||
<screen><userinput role='root'><command>cat >> /etc/stunnel/stunnel.conf << "EOF"</command>
|
||||
@ -303,9 +314,11 @@ Substitute the hostname listed in the <acronym>DN</acronym> field of the
|
||||
<application>Linux-<acronym>PAM</acronym></application> into the
|
||||
<application>Samba</application> build, you'll need to create an
|
||||
<filename>/etc/pam.d/samba</filename> file.</para></note>
|
||||
<indexterm zone="samba3 samba3-swat-config"><primary
|
||||
sortas="e-etc-pam.d-samba">/etc/pam.d/samba</primary>
|
||||
|
||||
<indexterm zone="samba3 samba3-swat-config">
|
||||
<primary sortas="e-etc-pam.d-samba">/etc/pam.d/samba</primary>
|
||||
</indexterm>
|
||||
|
||||
</sect3>
|
||||
|
||||
<sect3><title>Printing to <acronym>SMB</acronym> clients</title>
|
||||
@ -329,10 +342,14 @@ root user:</para>
|
||||
<acronym>SMB</acronym>/<acronym>CIFS</acronym> services. The second
|
||||
script, <filename>winbind</filename>, starts the <command>winbindd</command>
|
||||
daemon, used for providing Windows domain services to Linux clients.</para>
|
||||
|
||||
<indexterm zone="samba3 samba3-init">
|
||||
<primary sortas="f-samba">samba</primary></indexterm>
|
||||
<primary sortas="f-samba">samba</primary>
|
||||
</indexterm>
|
||||
|
||||
<indexterm zone="samba3 samba3-init">
|
||||
<primary sortas="f-winbind">winbind</primary></indexterm>
|
||||
<primary sortas="f-winbind">winbind</primary>
|
||||
</indexterm>
|
||||
|
||||
<para>Install the <filename>samba</filename> script with the following
|
||||
command issued as the root user:</para>
|
||||
|
Loading…
Reference in New Issue
Block a user