mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-01 04:52:12 +08:00
a0f03b0675
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@2591 af4574ff-66df-0310-9fd7-8a98e5e911e0
171 lines
6.7 KiB
XML
171 lines
6.7 KiB
XML
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
|
|
"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
%general-entities;
|
|
|
|
<!ENTITY cyrus-sasl-download-http "http://ftp.andrew.cmu.edu/pub/cyrus-mail/cyrus-sasl-&cyrus-sasl-version;.tar.gz ">
|
|
<!ENTITY cyrus-sasl-download-ftp "ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/cyrus-sasl-&cyrus-sasl-version;.tar.gz">
|
|
<!ENTITY cyrus-sasl-size "1.5 MB">
|
|
<!ENTITY cyrus-sasl-buildsize "13.5 MB">
|
|
<!ENTITY cyrus-sasl-time "0.25 SBU">
|
|
]>
|
|
|
|
<sect1 id="cyrus-sasl" xreflabel="Cyrus SASL-&cyrus-sasl-version;">
|
|
<sect1info>
|
|
<othername>$LastChangedBy: $</othername>
|
|
<date>$Date: $</date>
|
|
</sect1info>
|
|
<?dbhtml filename="cyrus-sasl.html"?>
|
|
<title>Cyrus <acronym>SASL</acronym>-&cyrus-sasl-version;</title>
|
|
|
|
<sect2>
|
|
<title>Introduction to <application>Cyrus <acronym>SASL</acronym></application>
|
|
</title>
|
|
|
|
<para>The <application>Cyrus <acronym>SASL</acronym></application> package
|
|
contains a Simple Authentication and Security Layer, a method for adding
|
|
authentication support to connection-based protocols. To use
|
|
<acronym>SASL</acronym>, a protocol includes a command for identifying and
|
|
authenticating a user to a server and for optionally negotiating protection of
|
|
subsequent protocol interactions. If its use is negotiated, a security layer
|
|
is inserted between the protocol and the connection.</para>
|
|
|
|
<sect3><title>Package information</title>
|
|
<itemizedlist spacing="compact">
|
|
<listitem><para>Download (HTTP): <ulink url="&cyrus-sasl-download-http;"/></para></listitem>
|
|
<listitem><para>Download (FTP): <ulink url="&cyrus-sasl-download-ftp;"/></para></listitem>
|
|
<listitem><para>Download size: &cyrus-sasl-size;</para></listitem>
|
|
<listitem><para>Estimated Disk space required: &cyrus-sasl-buildsize;</para></listitem>
|
|
<listitem><para>Estimated build time: &cyrus-sasl-time;</para></listitem>
|
|
</itemizedlist>
|
|
</sect3>
|
|
|
|
<sect3><title><application>Cyrus <acronym>SASL</acronym></application>
|
|
dependencies</title>
|
|
<sect4><title>Optional</title>
|
|
<para><xref linkend="Linux_PAM"/>, <xref linkend="openssl"/>,
|
|
<xref linkend="openldap"/>, <xref linkend="heimdal"/> or
|
|
<xref linkend="mitkrb"/>, <xref linkend="j2sdk"/>, <xref linkend="mysql"/>,
|
|
<xref linkend="postgresql"/>, <xref linkend="db"/>, <xref linkend="gdbm"/>,
|
|
<xref linkend="courier"/>,
|
|
<ulink url="http://www.pdc.kth.se/kth-krb/">krb4</ulink> and
|
|
<ulink url="http://sqlite.org/">SQLite</ulink>
|
|
</para>
|
|
</sect4>
|
|
</sect3>
|
|
|
|
</sect2>
|
|
|
|
<sect2>
|
|
<title>Installation of <application>Cyrus <acronym>SASL</acronym></application>
|
|
</title>
|
|
|
|
<para>Install <application>Cyrus <acronym>SASL</acronym></application> by
|
|
running the following commands:</para>
|
|
|
|
<screen><userinput><command>./configure --prefix=/usr --sysconfdir=/etc \
|
|
--with-dbpath=/var/lib/sasl/sasldb2 \
|
|
--with-saslauthd=/var/run &&
|
|
make &&
|
|
make install &&
|
|
install -m644 -oroot -groot saslauthd/saslauthd.mdoc \
|
|
/usr/share/man/man8/saslauthd.8 &&
|
|
install -d -m755 /usr/share/doc/sasl &&
|
|
install -m644 -oroot -groot doc/{*.{html,txt,fig},ONEWS,TODO} \
|
|
/usr/share/doc/sasl &&
|
|
install -m644 -oroot -groot saslauthd/LDAP_SASLAUTHD \
|
|
/usr/share/doc/sasl &&
|
|
install -d -m700 /var/lib/sasl</command></userinput></screen>
|
|
|
|
</sect2>
|
|
|
|
<sect2>
|
|
<title>Command explanations</title>
|
|
|
|
<para><parameter>--with-dbpath=/var/lib/sasl/sasldb2</parameter>: This
|
|
parameter forces the <command>saslauthd</command> database to be created
|
|
in <filename class='directory'>/var/lib/sasl</filename> instead of
|
|
<filename class='directory'>/etc</filename>.</para>
|
|
|
|
<para><parameter>--with-saslauthd=/var/run</parameter>: This parameter forces
|
|
<command>saslauthd</command> to use the <acronym>FHS</acronym> compliant
|
|
directory <filename class='directory'>/var/run</filename> for variable run-time
|
|
data.</para>
|
|
|
|
<para><command>install -m644 -oroot -groot ...</command>: These commands
|
|
install documentation which is not installed by the
|
|
<command>make install</command> command.</para>
|
|
|
|
<para><command>install -d -m700 /var/lib/sasl</command>: This directory must
|
|
exist when starting <command>saslauthd</command>. If you're not going to be
|
|
running the daemon, you may omit the creation of this directory.
|
|
</para>
|
|
|
|
</sect2>
|
|
|
|
<sect2>
|
|
<title>Configuring <application>Cyrus <acronym>SASL</acronym></application></title>
|
|
|
|
<sect3><title>Config Files</title>
|
|
<para><filename>/etc/saslauthd.conf</filename> (for <acronym>LDAP</acronym>
|
|
configuration) and <filename>/usr/lib/sasl2/Appname.conf</filename> (where
|
|
"Appname" is the application defined name of the application)</para>
|
|
</sect3>
|
|
|
|
<sect3><title>Configuration Information</title>
|
|
<para>See <ulink url="file:///usr/share/doc/sasl/sysadmin.html"/> for
|
|
information on what to include in the application configuration files. See
|
|
<ulink url="file:///usr/share/doc/sasl/LDAP_SASLAUTHD"/> for configuring
|
|
<command>saslauthd</command> with <acronym>LDAP</acronym>.</para>
|
|
</sect3>
|
|
|
|
<sect3><title>Init Script</title>
|
|
<para>If you need to run the <command>saslauthd</command> daemon at system
|
|
startup, install the <filename>/etc/rc.d/init.d/cyrus-sasl</filename>
|
|
init script included in the
|
|
<xref linkend="intro-important-bootscripts"/> package.</para>
|
|
|
|
<screen><userinput><command>make install-cyrus-sasl</command></userinput></screen>
|
|
|
|
<note><para>You'll need to modify the init script and replace the
|
|
<parameter><replaceable>[authmech]</replaceable></parameter> parameter to the
|
|
<parameter>-a</parameter> switch with your desired authentication mechanism.
|
|
</para></note>
|
|
</sect3>
|
|
|
|
</sect2>
|
|
|
|
<sect2>
|
|
<title>Contents</title>
|
|
|
|
<para>The <application>Cyrus <acronym>SASL</acronym></application> package
|
|
contains <command>saslauthd</command>, <command>sasldblistusers2</command>,
|
|
<command>saslpasswd2</command>, <application>Cyrus
|
|
<acronym>SASL</acronym></application> plugins, the
|
|
<filename class='libraryfile'>libsasl2</filename> library and optionally the
|
|
<filename class='libraryfile'>libjavasasl</filename> library and
|
|
<acronym>SASL</acronym> Java classes.</para>
|
|
|
|
</sect2>
|
|
|
|
<sect2><title>Description</title>
|
|
|
|
<sect3><title>saslauthd</title>
|
|
<para><command>saslauthd</command> is the <acronym>SASL</acronym>
|
|
authentication server.</para></sect3>
|
|
|
|
<sect3><title>sasldblistusers2</title>
|
|
<para><filename>sasldblistusers2</filename> is used to list the users in the
|
|
<acronym>SASL</acronym> password database.</para></sect3>
|
|
|
|
<sect3><title>saslpasswd2</title>
|
|
<para><filename>saslpasswd2</filename> is used to set and delete a user's
|
|
<acronym>SASL</acronym> password and mechanism specific secrets in the
|
|
<acronym>SASL</acronym> password database.</para></sect3>
|
|
|
|
</sect2>
|
|
|
|
</sect1>
|
|
|