source: postlfs/security/cyrus-sasl.xml@ 3bfd1d6

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 xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 3bfd1d6 was 3bfd1d6, checked in by DJ Lucas <dj@…>, 19 years ago

Added 'make makefiles' to Postfix, other minor changes.

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

  • Property mode set to 100644
File size: 8.1 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
3 "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY cyrus-sasl-download-http "http://ftp.andrew.cmu.edu/pub/cyrus-mail/cyrus-sasl-&cyrus-sasl-version;.tar.gz ">
8 <!ENTITY cyrus-sasl-download-ftp "ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/cyrus-sasl-&cyrus-sasl-version;.tar.gz">
9 <!ENTITY cyrus-sasl-size "1.8 MB">
10 <!ENTITY cyrus-sasl-buildsize "17.3 MB">
11 <!ENTITY cyrus-sasl-time "0.28 SBU">
12]>
13
14<sect1 id="cyrus-sasl" xreflabel="Cyrus SASL-&cyrus-sasl-version;">
15<sect1info>
16<othername>$LastChangedBy$</othername>
17<date>$Date$</date>
18</sect1info>
19<?dbhtml filename="cyrus-sasl.html"?>
20<title>Cyrus <acronym>SASL</acronym>-&cyrus-sasl-version;</title>
21<indexterm zone="cyrus-sasl">
22<primary sortas="a-Cyrus SASL">Cyrus SASL</primary></indexterm>
23
24<sect2>
25<title>Introduction to <application>Cyrus <acronym>SASL</acronym></application>
26</title>
27
28<para>The <application>Cyrus <acronym>SASL</acronym></application> package
29contains a Simple Authentication and Security Layer, a method for adding
30authentication support to connection-based protocols. To use
31<acronym>SASL</acronym>, a protocol includes a command for identifying and
32authenticating a user to a server and for optionally negotiating protection of
33subsequent protocol interactions. If its use is negotiated, a security layer
34is inserted between the protocol and the connection.</para>
35
36<sect3><title>Package information</title>
37<itemizedlist spacing="compact">
38<listitem><para>Download (HTTP):
39<ulink url="&cyrus-sasl-download-http;"/></para></listitem>
40<listitem><para>Download (FTP):
41<ulink url="&cyrus-sasl-download-ftp;"/></para></listitem>
42<listitem><para>Download size: &cyrus-sasl-size;</para></listitem>
43<listitem><para>Estimated disk space required:
44&cyrus-sasl-buildsize;</para></listitem>
45<listitem><para>Estimated build time:
46&cyrus-sasl-time;</para></listitem>
47</itemizedlist>
48</sect3>
49
50<sect3><title><application>Cyrus <acronym>SASL</acronym></application>
51dependencies</title>
52
53<sect4><title>Required</title>
54<para><xref linkend="openssl"/></para>
55</sect4>
56
57<sect4><title>Optional</title>
58<para><xref linkend="Linux_PAM"/>,
59<xref linkend="openldap"/>,
60<xref linkend="heimdal"/> or <xref linkend="mitkrb"/>,
61<xref linkend="j2sdk"/>,
62<xref linkend="mysql"/>,
63<xref linkend="postgresql"/>,
64<xref linkend="db"/>,
65<xref linkend="gdbm"/>,
66<xref linkend="courier"/>,
67<ulink url="http://www.pdc.kth.se/kth-krb/">krb4</ulink>,
68<ulink url="http://sqlite.org/">SQLite</ulink> and
69<ulink url="http://dmalloc.com/">Dmalloc</ulink></para>
70</sect4>
71</sect3>
72
73</sect2>
74
75<sect2>
76<title>Installation of <application>Cyrus <acronym>SASL</acronym></application>
77</title>
78
79<para>Install <application>Cyrus <acronym>SASL</acronym></application> by
80running the following commands:</para>
81
82<screen><userinput><command>./configure --prefix=/usr --sysconfdir=/etc \
83 --with-dbpath=/var/lib/sasl/sasldb2 \
84 --with-saslauthd=/var/run &amp;&amp;
85make</command></userinput></screen>
86
87<para>Now, as the root user:</para>
88
89<screen><userinput role='root'><command>make install &amp;&amp;
90install -m644 saslauthd/saslauthd.mdoc \
91 /usr/share/man/man8/saslauthd.8 &amp;&amp;
92install -d -m755 /usr/share/doc/sasl &amp;&amp;
93install -m644 doc/{*.{html,txt,fig},ONEWS,TODO} \
94 saslauthd/LDAP_SASLAUTHD /usr/share/doc/sasl &amp;&amp;
95install -d -m700 /var/lib/sasl</command></userinput></screen>
96
97</sect2>
98
99<sect2>
100<title>Command explanations</title>
101
102<para><parameter>--with-dbpath=/var/lib/sasl/sasldb2</parameter>: This
103parameter forces the <command>saslauthd</command> database to be created
104in <filename class='directory'>/var/lib/sasl</filename> instead of
105<filename class='directory'>/etc</filename>.</para>
106
107<para><parameter>--with-saslauthd=/var/run</parameter>: This parameter forces
108<command>saslauthd</command> to use the <acronym>FHS</acronym> compliant
109directory <filename class='directory'>/var/run</filename> for variable run-time
110data.</para>
111
112<para><parameter>--with-ldap</parameter>: This parameter enables use
113with <application>OpenLDAP</application>.</para>
114
115<para><command>install -m644 ...</command>: These commands
116install documentation which is not installed by the
117<command>make install</command> command.</para>
118
119<para><command>install -d -m700 /var/lib/sasl</command>: This directory must
120exist when starting <command>saslauthd</command>. If you're not going to be
121running the daemon, you may omit the creation of this directory.
122</para>
123
124</sect2>
125
126<sect2>
127<title>Configuring <application>Cyrus
128<acronym>SASL</acronym></application></title>
129
130<sect3 id="cyrus-sasl-config"><title>Config Files</title>
131<para><filename>/etc/saslauthd.conf</filename> (for <acronym>LDAP</acronym>
132configuration) and <filename>/usr/lib/sasl2/Appname.conf</filename> (where
133"Appname" is the application defined name of the application)</para>
134<indexterm zone="cyrus-sasl cyrus-sasl-config">
135<primary sortas="e-etc-saslauthd.conf">/etc/saslauthd.conf</primary>
136</indexterm>
137</sect3>
138
139<sect3><title>Configuration Information</title>
140<para>See <ulink url="file:///usr/share/doc/sasl/sysadmin.html"/> for
141information on what to include in the application configuration files. See
142<ulink url="file:///usr/share/doc/sasl/LDAP_SASLAUTHD"/> for configuring
143<command>saslauthd</command> with <acronym>LDAP</acronym>.</para>
144</sect3>
145
146<sect3 id="cyrus-sasl-init"><title>Init Script</title>
147<para>If you need to run the <command>saslauthd</command> daemon at system
148startup, install the <filename>/etc/rc.d/init.d/cyrus-sasl</filename>
149init script included in the
150<xref linkend="intro-important-bootscripts"/> package.</para>
151<indexterm zone="cyrus-sasl cyrus-sasl-init">
152<primary sortas="f-cyrus-sasl-init">cyrus-sasl</primary>
153</indexterm>
154
155<screen><userinput role='root'><command>make install-cyrus-sasl</command></userinput></screen>
156
157<note><para>You'll need to modify the init script and replace the
158<parameter><replaceable>[authmech]</replaceable></parameter> parameter to the
159<parameter>-a</parameter> switch with your desired authentication mechanism.
160</para></note>
161</sect3>
162
163</sect2>
164
165<sect2>
166<title>Contents</title>
167
168<segmentedlist>
169<segtitle>Installed Programs</segtitle>
170<segtitle>Installed Libraries</segtitle>
171<segtitle>Installed Directories</segtitle>
172<seglistitem>
173<seg>saslauthd, sasldblistusers2 and saslpasswd2</seg>
174<seg>libjavasasl.so, libsasl2.so and <acronym>SASL</acronym> plugins/JAVA
175classes</seg>
176<seg>/usr/include/sasl, /usr/lib/sasl2, /usr/share/doc/sasl and /var/lib/sasl</seg>
177</seglistitem>
178</segmentedlist>
179
180<variablelist>
181<bridgehead renderas="sect3">Short Descriptions</bridgehead>
182<?dbfo list-presentation="list"?>
183
184<varlistentry id="saslauthd">
185<term><command>saslauthd</command></term>
186<listitem><para>is the <acronym>SASL</acronym> authentication server.</para>
187<indexterm zone="cyrus-sasl saslauthd">
188<primary sortas="b-saslauthd">saslauthd</primary></indexterm>
189</listitem>
190</varlistentry>
191
192<varlistentry id="sasldblistusers2">
193<term><command>sasldblistusers2</command></term>
194<listitem><para>is used to list the users in the <acronym>SASL</acronym>
195password database.</para>
196<indexterm zone="cyrus-sasl sasldblistusers2">
197<primary sortas="b-sasldblistusers2">sasldblistusers2</primary></indexterm>
198</listitem>
199</varlistentry>
200
201<varlistentry id="saslpasswd2">
202<term><command>saslpasswd2</command></term>
203<listitem><para>is used to set and delete a user's <acronym>SASL</acronym>
204password and mechanism specific secrets in the <acronym>SASL</acronym>
205password database.</para>
206<indexterm zone="cyrus-sasl saslpasswd2">
207<primary sortas="b-saslpasswd2">saslpasswd2</primary></indexterm>
208</listitem>
209</varlistentry>
210
211<varlistentry id="libsasl2">
212<term><filename class='libraryfile'>libsasl2.so</filename></term>
213<listitem><para>is a general purpose authentication library for server and
214client applications.</para>
215<indexterm zone="cyrus-sasl libsasl2">
216<primary sortas="c-libsasl2">libsasl2.so</primary></indexterm>
217</listitem>
218</varlistentry>
219
220</variablelist>
221
222</sect2>
223
224</sect1>
225
Note: See TracBrowser for help on using the repository browser.