source: postlfs/security/cyrus-sasl.xml@ 769e82a

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 769e82a was 5cd0959d, checked in by Archaic <archaic@…>, 20 years ago

Resetting keywords

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

  • Property mode set to 100644
File size: 6.6 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.5 MB">
10 <!ENTITY cyrus-sasl-buildsize "13.5 MB">
11 <!ENTITY cyrus-sasl-time "0.25 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
22<sect2>
23<title>Introduction to <application>Cyrus <acronym>SASL</acronym></application>
24</title>
25
26<para>The <application>Cyrus <acronym>SASL</acronym></application> package
27contains a Simple Authentication and Security Layer, a method for adding
28authentication support to connection-based protocols. To use
29<acronym>SASL</acronym>, a protocol includes a command for identifying and
30authenticating a user to a server and for optionally negotiating protection of
31subsequent protocol interactions. If its use is negotiated, a security layer
32is inserted between the protocol and the connection.</para>
33
34<sect3><title>Package information</title>
35<itemizedlist spacing="compact">
36<listitem><para>Download (HTTP): <ulink url="&cyrus-sasl-download-http;"/></para></listitem>
37<listitem><para>Download (FTP): <ulink url="&cyrus-sasl-download-ftp;"/></para></listitem>
38<listitem><para>Download size: &cyrus-sasl-size;</para></listitem>
39<listitem><para>Estimated Disk space required: &cyrus-sasl-buildsize;</para></listitem>
40<listitem><para>Estimated build time: &cyrus-sasl-time;</para></listitem>
41</itemizedlist>
42</sect3>
43
44<sect3><title><application>Cyrus <acronym>SASL</acronym></application>
45dependencies</title>
46<sect4><title>Optional</title>
47<para><xref linkend="Linux_PAM"/>, <xref linkend="openssl"/>,
48<xref linkend="openldap"/>, <xref linkend="heimdal"/> or
49<xref linkend="mitkrb"/>, <xref linkend="j2sdk"/>, <xref linkend="mysql"/>,
50<xref linkend="postgresql"/>, <xref linkend="db"/>, <xref linkend="gdbm"/>,
51<xref linkend="courier"/>,
52<ulink url="http://www.pdc.kth.se/kth-krb/">krb4</ulink> and
53<ulink url="http://sqlite.org/">SQLite</ulink>
54</para>
55</sect4>
56</sect3>
57
58</sect2>
59
60<sect2>
61<title>Installation of <application>Cyrus <acronym>SASL</acronym></application>
62</title>
63
64<para>Install <application>Cyrus <acronym>SASL</acronym></application> by
65running the following commands:</para>
66
67<screen><userinput><command>./configure --prefix=/usr --sysconfdir=/etc \
68 --with-dbpath=/var/lib/sasl/sasldb2 \
69 --with-saslauthd=/var/run &amp;&amp;
70make &amp;&amp;
71make install &amp;&amp;
72install -m644 -oroot -groot saslauthd/saslauthd.mdoc \
73 /usr/share/man/man8/saslauthd.8 &amp;&amp;
74install -d -m755 /usr/share/doc/sasl &amp;&amp;
75install -m644 -oroot -groot doc/{*.{html,txt,fig},ONEWS,TODO} \
76 /usr/share/doc/sasl &amp;&amp;
77install -m644 -oroot -groot saslauthd/LDAP_SASLAUTHD \
78 /usr/share/doc/sasl &amp;&amp;
79install -d -m700 /var/lib/sasl</command></userinput></screen>
80
81</sect2>
82
83<sect2>
84<title>Command explanations</title>
85
86<para><parameter>--with-dbpath=/var/lib/sasl/sasldb2</parameter>: This
87parameter forces the <command>saslauthd</command> database to be created
88in <filename class='directory'>/var/lib/sasl</filename> instead of
89<filename class='directory'>/etc</filename>.</para>
90
91<para><parameter>--with-saslauthd=/var/run</parameter>: This parameter forces
92<command>saslauthd</command> to use the <acronym>FHS</acronym> compliant
93directory <filename class='directory'>/var/run</filename> for variable run-time
94data.</para>
95
96<para><command>install -m644 -oroot -groot ...</command>: These commands
97install documentation which is not installed by the
98<command>make install</command> command.</para>
99
100<para><command>install -d -m700 /var/lib/sasl</command>: This directory must
101exist when starting <command>saslauthd</command>. If you're not going to be
102running the daemon, you may omit the creation of this directory.
103</para>
104
105</sect2>
106
107<sect2>
108<title>Configuring <application>Cyrus <acronym>SASL</acronym></application></title>
109
110<sect3><title>Config Files</title>
111<para><filename>/etc/saslauthd.conf</filename> (for <acronym>LDAP</acronym>
112configuration) and <filename>/usr/lib/sasl2/Appname.conf</filename> (where
113"Appname" is the application defined name of the application)</para>
114</sect3>
115
116<sect3><title>Configuration Information</title>
117<para>See <ulink url="file:///usr/share/doc/sasl/sysadmin.html"/> for
118information on what to include in the application configuration files. See
119<ulink url="file:///usr/share/doc/sasl/LDAP_SASLAUTHD"/> for configuring
120<command>saslauthd</command> with <acronym>LDAP</acronym>.</para>
121</sect3>
122
123<sect3><title>Init Script</title>
124<para>If you need to run the <command>saslauthd</command> daemon at system
125startup, install the <filename>/etc/rc.d/init.d/cyrus-sasl</filename>
126init script included in the
127<xref linkend="intro-important-bootscripts"/> package.</para>
128
129<screen><userinput><command>make install-cyrus-sasl</command></userinput></screen>
130
131<note><para>You'll need to modify the init script and replace the
132<parameter><replaceable>[authmech]</replaceable></parameter> parameter to the
133<parameter>-a</parameter> switch with your desired authentication mechanism.
134</para></note>
135</sect3>
136
137</sect2>
138
139<sect2>
140<title>Contents</title>
141
142<para>The <application>Cyrus <acronym>SASL</acronym></application> package
143contains <command>saslauthd</command>, <command>sasldblistusers2</command>,
144<command>saslpasswd2</command>, <application>Cyrus
145<acronym>SASL</acronym></application> plugins, the
146<filename class='libraryfile'>libsasl2</filename> library and optionally the
147<filename class='libraryfile'>libjavasasl</filename> library and
148<acronym>SASL</acronym> Java classes.</para>
149
150</sect2>
151
152<sect2><title>Description</title>
153
154<sect3><title>saslauthd</title>
155<para><command>saslauthd</command> is the <acronym>SASL</acronym>
156authentication server.</para></sect3>
157
158<sect3><title>sasldblistusers2</title>
159<para><filename>sasldblistusers2</filename> is used to list the users in the
160<acronym>SASL</acronym> password database.</para></sect3>
161
162<sect3><title>saslpasswd2</title>
163<para><filename>saslpasswd2</filename> is used to set and delete a user's
164<acronym>SASL</acronym> password and mechanism specific secrets in the
165<acronym>SASL</acronym> password database.</para></sect3>
166
167</sect2>
168
169</sect1>
170
Note: See TracBrowser for help on using the repository browser.