mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-23 22:42:14 +08:00
Updated to OpenLDAP-2.2.24
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@3663 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
abe290df94
commit
c507fdb39e
@ -253,7 +253,7 @@
|
||||
<!ENTITY leafnode-version "1.10.8">
|
||||
<!-- openssh (chapter 18) -->
|
||||
<!-- rsync (chaptet 18) -->
|
||||
<!ENTITY openldap-version "2.2.20">
|
||||
<!ENTITY openldap-version "2.2.24">
|
||||
<!ENTITY samba3-version "3.0.11">
|
||||
<!ENTITY xinetd-version "2.3.13">
|
||||
|
||||
|
@ -22,6 +22,9 @@ who wrote what.</para>
|
||||
|
||||
<itemizedlist>
|
||||
|
||||
<listitem><para>April 4th, 2005 [randy]: Updated to
|
||||
OpenLDAP-2.2.24</para></listitem>
|
||||
|
||||
<listitem><para>April 4th, 2005 [igor]: Updated to OpenSSL-0.9.7f
|
||||
contributed by Anderson Lizardo.</para></listitem>
|
||||
|
||||
|
@ -8,8 +8,8 @@
|
||||
<!ENTITY openldap-download-ftp "ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/openldap-&openldap-version;.tgz">
|
||||
<!ENTITY openldap-md5sum "383691dbabe05ee2b72a3e9db2042a82">
|
||||
<!ENTITY openldap-size "2.6 MB">
|
||||
<!ENTITY openldap-buildsize "67 MB">
|
||||
<!ENTITY openldap-time "6.42 SBU">
|
||||
<!ENTITY openldap-buildsize "76.7 MB">
|
||||
<!ENTITY openldap-time "6.58 SBU">
|
||||
]>
|
||||
|
||||
<sect1 id="openldap" xreflabel="OpenLDAP-&openldap-version;">
|
||||
@ -20,10 +20,12 @@
|
||||
<?dbhtml filename="openldap.html"?>
|
||||
<title><application>Open<acronym>LDAP</acronym></application>-&openldap-version;
|
||||
</title>
|
||||
<indexterm zone="openldap">
|
||||
<primary sortas="a-OpenLDAP">OpenLDAP</primary></indexterm>
|
||||
|
||||
<sect2>
|
||||
<title>Introduction to <application>Open<acronym>LDAP</acronym></application>
|
||||
</title>
|
||||
<title>Introduction to
|
||||
<application>Open<acronym>LDAP</acronym></application></title>
|
||||
|
||||
<para>The <application>Open<acronym>LDAP</acronym></application> package
|
||||
provides an open source implementation of the Lightweight Directory
|
||||
@ -66,8 +68,8 @@ dependencies</title>
|
||||
</sect2>
|
||||
|
||||
<sect2>
|
||||
<title>Installation of <application>Open<acronym>LDAP</acronym></application>
|
||||
</title>
|
||||
<title>Installation of
|
||||
<application>Open<acronym>LDAP</acronym></application></title>
|
||||
|
||||
<para>Install <application>Open<acronym>LDAP</acronym></application> by
|
||||
running the following commands:</para>
|
||||
@ -77,8 +79,11 @@ running the following commands:</para>
|
||||
--enable-ldbm --disable-debug &&
|
||||
make depend &&
|
||||
make &&
|
||||
make test &&
|
||||
make install &&
|
||||
make test</command></userinput></screen>
|
||||
|
||||
<para>Now, as the root user:</para>
|
||||
|
||||
<screen><userinput role='root'><command>make install &&
|
||||
chmod 755 /usr/lib/libl*-2.2.so.7.0.13</command></userinput></screen>
|
||||
|
||||
</sect2>
|
||||
@ -109,7 +114,11 @@ with the primary database back end using either
|
||||
package. If you've enabled <application>tcp_wrappers</application>, ensure you
|
||||
add 127.0.0.1 to the <parameter>slapd</parameter> line in the
|
||||
<filename>/etc/hosts.allow</filename> file if you have a
|
||||
restrictive <filename>/etc/hosts.deny</filename> file.</para>
|
||||
restrictive <filename>/etc/hosts.deny</filename> file. If you logged the
|
||||
output of the <command>make test</command>, an easy test to see if all the
|
||||
tests succeeded is to issue <command>grep ">>>>> Test succeeded"
|
||||
<replaceable>[logfilename]</replaceable> | wc -l</command>. You should have
|
||||
<computeroutput>39</computeroutput> returned.</para>
|
||||
|
||||
<para><command>chmod 755 /usr/lib/libl*-2.2.so.7.0.10</command>: This command
|
||||
adds the executable bit to the shared libraries.</para>
|
||||
@ -117,11 +126,13 @@ adds the executable bit to the shared libraries.</para>
|
||||
</sect2>
|
||||
|
||||
<sect2>
|
||||
<title>Configuring <application>Open<acronym>LDAP</acronym></application>
|
||||
</title>
|
||||
<title>Configuring
|
||||
<application>Open<acronym>LDAP</acronym></application></title>
|
||||
|
||||
<sect3><title>Config files</title>
|
||||
<sect3 id="openldap-config"><title>Config files</title>
|
||||
<para><filename>/etc/openldap/*</filename></para>
|
||||
<indexterm zone="openldap openldap-config">
|
||||
<primary sortas="e-etc-openldap">/etc/openldap/*</primary></indexterm>
|
||||
</sect3>
|
||||
|
||||
<sect3><title>Configuration Information</title>
|
||||
@ -133,6 +144,12 @@ can also be a challenging task. You'll need to modify the
|
||||
<filename>/etc/openldap/ldap.conf</filename> files to set up
|
||||
<application>Open<acronym>LDAP</acronym></application> for your particular
|
||||
needs.</para>
|
||||
<indexterm zone="openldap openldap-config">
|
||||
<primary sortas="e-etc-openldap-slapd.conf">/etc/openldap/slapd.conf</primary>
|
||||
</indexterm>
|
||||
<indexterm zone="openldap openldap-config">
|
||||
<primary sortas="e-etc-openldap-ldap.conf">/etc/openldap/ldap.conf</primary>
|
||||
</indexterm>
|
||||
|
||||
<para>Resources to assist you with topics such as choosing a directory
|
||||
configuration, backend and database definitions, access control settings,
|
||||
@ -165,11 +182,13 @@ set up and <application>Mozilla</application> is configured to use the
|
||||
directory, you must add <option>allow bind_v2</option> to the
|
||||
<filename>slapd.conf</filename> file.</para></sect3>
|
||||
|
||||
<sect3><title>Init Script</title>
|
||||
<sect3 id="openldap-init"><title>Init Script</title>
|
||||
<para>To automate the startup of the <acronym>LDAP</acronym> server at system
|
||||
bootup, install the <filename>/etc/rc.d/init.d/openldap</filename> init script
|
||||
included in the <xref linkend="intro-important-bootscripts"/> package using the
|
||||
following command:</para>
|
||||
<indexterm zone="openldap openldap-init">
|
||||
<primary sortas="f-openldap">openldap</primary></indexterm>
|
||||
|
||||
<screen><userinput><command>make install-openldap1</command></userinput></screen>
|
||||
|
||||
@ -222,105 +241,201 @@ result: 0 Success
|
||||
<sect2>
|
||||
<title>Contents</title>
|
||||
|
||||
<para>The Open<acronym>LDAP</acronym> package contains
|
||||
<command>ldapadd</command>,
|
||||
<command>ldapcompare</command>,
|
||||
<command>ldapdelete</command>,
|
||||
<command>ldapmodify</command>,
|
||||
<command>ldapmodrdn</command>,
|
||||
<command>ldappasswd</command>,
|
||||
<command>ldapsearch</command>,
|
||||
<command>ldapwhoami</command>,
|
||||
<command>slapadd</command>,
|
||||
<command>slapcat</command>,
|
||||
<command>slapd</command>,
|
||||
<command>slapdn</command>,
|
||||
<command>slapindex</command>,
|
||||
<command>slappasswd</command>,
|
||||
<command>slaptest</command>,
|
||||
<command>slurpd</command>,
|
||||
<filename class="libraryfile">liblber</filename> and the
|
||||
<filename class="libraryfile">libldap</filename> libraries.</para>
|
||||
<segmentedlist>
|
||||
<segtitle>Installed Programs</segtitle>
|
||||
<segtitle>Installed Libraries</segtitle>
|
||||
<segtitle>Installed Directories</segtitle>
|
||||
|
||||
</sect2>
|
||||
<seglistitem>
|
||||
<seg>ldapadd, ldapcompare, ldapdelete, ldapmodify, ldapmodrdn, ldappasswd,
|
||||
ldapsearch, ldapwhoami, slapadd, slapcat, slapd, slapdn, slapindex,
|
||||
slappasswd, slaptest and slurpd</seg>
|
||||
<seg>liblber.[so,a], libldap.[so,a] and libldap_r.[so,a]</seg>
|
||||
<seg>/etc/openldap, /srv/ldap and /usr/share/openldap</seg>
|
||||
</seglistitem>
|
||||
</segmentedlist>
|
||||
|
||||
<sect2><title>Description</title>
|
||||
<variablelist>
|
||||
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
||||
<?dbfo list-presentation="list"?>
|
||||
|
||||
<sect3><title>ldapadd</title>
|
||||
<para><command>ldapadd</command> opens a connection to an
|
||||
<acronym>LDAP</acronym> server, binds and adds entries.</para></sect3>
|
||||
<varlistentry id="ldapadd">
|
||||
<term><command>ldapadd</command></term>
|
||||
<listitem><para>opens a connection to an <acronym>LDAP</acronym> server,
|
||||
binds and adds entries.</para>
|
||||
<indexterm zone="openldap ldapadd">
|
||||
<primary sortas="b-ldapadd">ldapadd</primary>
|
||||
</indexterm></listitem>
|
||||
</varlistentry>
|
||||
|
||||
<sect3><title>ldapcompare</title>
|
||||
<para><command>ldapcompare</command> opens a connection to an
|
||||
<acronym>LDAP</acronym> server, binds and performs a compare using specified
|
||||
parameters.</para></sect3>
|
||||
<varlistentry id="ldapcompare">
|
||||
<term><command>ldapcompare</command></term>
|
||||
<listitem><para>opens a connection to an <acronym>LDAP</acronym> server,
|
||||
binds and performs a compare using specified parameters.</para>
|
||||
<indexterm zone="openldap ldapcompare">
|
||||
<primary sortas="b-ldapcompare">ldapcompare</primary>
|
||||
</indexterm></listitem>
|
||||
</varlistentry>
|
||||
|
||||
<sect3><title>ldapdelete</title>
|
||||
<para><command>ldapdelete</command> opens a connection to an
|
||||
<acronym>LDAP</acronym> server, binds and deletes one or more entries.</para>
|
||||
</sect3>
|
||||
<varlistentry id="ldapdelete">
|
||||
<term><command>ldapdelete</command></term>
|
||||
<listitem><para> opens a connection to an <acronym>LDAP</acronym> server,
|
||||
binds and deletes one or more entries.</para>
|
||||
<indexterm zone="openldap ldapdelete">
|
||||
<primary sortas="b-ldapdelete">ldapdelete</primary>
|
||||
</indexterm></listitem>
|
||||
</varlistentry>
|
||||
|
||||
<sect3><title>ldapmodify</title>
|
||||
<para><command>ldapmodify</command> opens a connection to an
|
||||
<acronym>LDAP</acronym> server, binds and modifies entries.</para></sect3>
|
||||
<varlistentry id="ldapmodify">
|
||||
<term><command>ldapmodify</command></term>
|
||||
<listitem><para>opens a connection to an <acronym>LDAP</acronym> server,
|
||||
binds and modifies entries.</para>
|
||||
<indexterm zone="openldap ldapmodify">
|
||||
<primary sortas="b-ldapmodify">ldapmodify</primary>
|
||||
</indexterm></listitem>
|
||||
</varlistentry>
|
||||
|
||||
<sect3><title>ldapmodrdn</title>
|
||||
<para><command>ldapmodrdn</command> opens a connection to an
|
||||
<acronym>LDAP</acronym> server, binds and modifies the
|
||||
<acronym>RDN</acronym> of entries.</para></sect3>
|
||||
<varlistentry id="ldapmodrdn">
|
||||
<term><command>ldapmodrdn</command></term>
|
||||
<listitem><para>opens a connection to an <acronym>LDAP</acronym> server,
|
||||
binds and modifies the <acronym>RDN</acronym> of entries.</para>
|
||||
<indexterm zone="openldap ldapmodrdn">
|
||||
<primary sortas="b-ldapmodrdn">ldapmodrdn</primary>
|
||||
</indexterm></listitem>
|
||||
</varlistentry>
|
||||
|
||||
<sect3><title>ldappasswd</title>
|
||||
<para><command>ldappasswd</command> is a tool to set the password of an
|
||||
<acronym>LDAP</acronym> user.</para></sect3>
|
||||
<varlistentry id="ldappasswd">
|
||||
<term><command>ldappasswd</command></term>
|
||||
<listitem><para>is a tool to set the password of an <acronym>LDAP</acronym>
|
||||
user.</para>
|
||||
<indexterm zone="openldap ldappasswd">
|
||||
<primary sortas="b-ldappasswd">ldappasswd</primary>
|
||||
</indexterm></listitem>
|
||||
</varlistentry>
|
||||
|
||||
<sect3><title>ldapsearch</title>
|
||||
<para><command>ldapsearch</command> opens a connection to an
|
||||
<acronym>LDAP</acronym> server, binds and performs a search using specified
|
||||
parameters.</para></sect3>
|
||||
<varlistentry id="ldapsearch">
|
||||
<term><command>ldapsearch</command></term>
|
||||
<listitem><para>opens a connection to an <acronym>LDAP</acronym> server,
|
||||
binds and performs a search using specified parameters.</para>
|
||||
<indexterm zone="openldap ldapsearch">
|
||||
<primary sortas="b-ldapsearch">ldapsearch</primary>
|
||||
</indexterm></listitem>
|
||||
</varlistentry>
|
||||
|
||||
<sect3><title>ldapwhoami</title>
|
||||
<para><command>ldapwhoami</command> opens a connection to an
|
||||
<acronym>LDAP</acronym> server, binds and displays whoami information.</para>
|
||||
</sect3>
|
||||
<varlistentry id="ldapwhoami">
|
||||
<term><command>ldapwhoami</command></term>
|
||||
<listitem><para>opens a connection to an <acronym>LDAP</acronym> server,
|
||||
binds and displays whoami information.</para>
|
||||
<indexterm zone="openldap ldapwhoami">
|
||||
<primary sortas="b-ldapwhoami">ldapwhoami</primary>
|
||||
</indexterm></listitem>
|
||||
</varlistentry>
|
||||
|
||||
<sect3><title>slapadd</title>
|
||||
<para><command>slapadd</command> is used to add entries specified in
|
||||
<acronym>LDAP</acronym> Directory Interchange Format (<acronym>LDIF</acronym>)
|
||||
to an <acronym>LDAP</acronym> database.</para></sect3>
|
||||
<varlistentry id="slapadd">
|
||||
<term><command>slapadd</command></term>
|
||||
<listitem><para>is used to add entries specified in <acronym>LDAP</acronym>
|
||||
Directory Interchange Format (<acronym>LDIF</acronym>) to an
|
||||
<acronym>LDAP</acronym> database.</para>
|
||||
<indexterm zone="openldap slapadd">
|
||||
<primary sortas="b-slapadd">slapadd</primary>
|
||||
</indexterm></listitem>
|
||||
</varlistentry>
|
||||
|
||||
<sect3><title>slapcat</title>
|
||||
<para><command>slapcat</command> is used to generate an <acronym>LDAP</acronym>
|
||||
<acronym>LDIF</acronym> output
|
||||
based upon the contents of a slapd database.</para></sect3>
|
||||
<varlistentry id="slapcat">
|
||||
<term><command>slapcat</command></term>
|
||||
<listitem><para>is used to generate an <acronym>LDAP</acronym>
|
||||
<acronym>LDIF</acronym> output based upon the contents of a slapd
|
||||
database.</para>
|
||||
<indexterm zone="openldap slapcat">
|
||||
<primary sortas="b-slapcat">slapcat</primary>
|
||||
</indexterm></listitem>
|
||||
</varlistentry>
|
||||
|
||||
<sect3><title>slapd</title>
|
||||
<para><command>slapd</command> is the stand-alone <acronym>LDAP</acronym>
|
||||
server.</para></sect3>
|
||||
<varlistentry id="slapd">
|
||||
<term><command>slapd</command></term>
|
||||
<listitem><para>is the stand-alone <acronym>LDAP</acronym> server.</para>
|
||||
<indexterm zone="openldap slapd">
|
||||
<primary sortas="b-slapd">slapd</primary>
|
||||
</indexterm></listitem>
|
||||
</varlistentry>
|
||||
|
||||
<sect3><title>slapdn</title>
|
||||
<para><command>slapdn</command> checks a list of string-represented
|
||||
<acronym>DN</acronym>s based on schema syntax.</para></sect3>
|
||||
<varlistentry id="slapdn">
|
||||
<term><command>slapdn</command></term>
|
||||
<listitem><para>checks a list of string-represented <acronym>DN</acronym>s
|
||||
based on schema syntax.</para>
|
||||
<indexterm zone="openldap slapdn">
|
||||
<primary sortas="b-slapdn">slapdn</primary>
|
||||
</indexterm></listitem>
|
||||
</varlistentry>
|
||||
|
||||
<sect3><title>slapindex</title>
|
||||
<para><command>slapindex</command> is used to regenerate slapd
|
||||
indices based upon the current contents of a database.</para></sect3>
|
||||
<varlistentry id="slapindex">
|
||||
<term><command>slapindex</command></term>
|
||||
<listitem><para>is used to regenerate slapd indices based upon the current
|
||||
contents of a database.</para>
|
||||
<indexterm zone="openldap slapindex">
|
||||
<primary sortas="b-slapindex">slapindex</primary>
|
||||
</indexterm></listitem>
|
||||
</varlistentry>
|
||||
|
||||
<sect3><title>slappasswd</title>
|
||||
<para><command>slappasswd</command> is an Open<acronym>LDAP</acronym> password
|
||||
utility.</para></sect3>
|
||||
<varlistentry id="slappasswd">
|
||||
<term><command>slappasswd</command></term>
|
||||
<listitem><para>is an <application>Open<acronym>LDAP</acronym></application>
|
||||
password utility.</para>
|
||||
<indexterm zone="openldap slappasswd">
|
||||
<primary sortas="b-slappasswd">slappasswd</primary>
|
||||
</indexterm></listitem>
|
||||
</varlistentry>
|
||||
|
||||
<sect3><title>slaptest</title>
|
||||
<para><command>slaptest</command> checks the sanity of the
|
||||
<filename>slapd.conf</filename> file.</para></sect3>
|
||||
<varlistentry id="slaptest">
|
||||
<term><command>slaptest</command></term>
|
||||
<listitem><para>checks the sanity of the <filename>slapd.conf</filename>
|
||||
file.</para>
|
||||
<indexterm zone="openldap slaptest">
|
||||
<primary sortas="b-slaptest">slaptest</primary>
|
||||
</indexterm></listitem>
|
||||
</varlistentry>
|
||||
|
||||
<sect3><title>slurpd</title>
|
||||
<para><command>slurpd</command> is the stand-alone
|
||||
<acronym>LDAP</acronym> replication server.</para></sect3>
|
||||
<varlistentry id="slurpd">
|
||||
<term><command>slurpd</command></term>
|
||||
<listitem><para>is the stand-alone <acronym>LDAP</acronym> replication
|
||||
server.</para>
|
||||
<indexterm zone="openldap slurpd">
|
||||
<primary sortas="b-slurpd">slurpd</primary>
|
||||
</indexterm></listitem>
|
||||
</varlistentry>
|
||||
|
||||
<sect3><title>liblber and libldap</title>
|
||||
<para>These libraries support the <acronym>LDAP</acronym> programs and provide
|
||||
functionality for other programs interacting with <acronym>LDAP</acronym>.
|
||||
</para></sect3>
|
||||
<varlistentry id="liblber">
|
||||
<term><filename class='libraryfile'>liblber.[so,a]</filename></term>
|
||||
<listitem><para>is a set of lightweight Basic Encoding Rules routines. These
|
||||
routines are used by the <acronym>LDAP</acronym> library routines to encode
|
||||
and decode <acronym>LDAP</acronym> protocol elements using the (slightly
|
||||
simplified) Basic Encoding Rules defined by <acronym>LDAP</acronym>. They are
|
||||
not normally used directly by an <acronym>LDAP</acronym> application program
|
||||
except in the handling of controls and extended operations.</para>
|
||||
<indexterm zone="openldap liblber">
|
||||
<primary sortas="c-liblber">liblber.[so,a]</primary>
|
||||
</indexterm></listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry id="libldap">
|
||||
<term><filename class='libraryfile'>libldap.[so,a]</filename></term>
|
||||
<listitem><para>supports the <acronym>LDAP</acronym> programs and provide
|
||||
functionality for other programs interacting with
|
||||
<acronym>LDAP</acronym>.</para>
|
||||
<indexterm zone="openldap libldap">
|
||||
<primary sortas="c-libldap">libldap.[so,a]</primary>
|
||||
</indexterm></listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry id="libldap_r">
|
||||
<term><filename class='libraryfile'>libldap_r.[so,a]</filename></term>
|
||||
<listitem><para>contains the functions required by the <acronym>LDAP</acronym>
|
||||
programs to produce the results from <acronym>LDAP</acronym> requests.</para>
|
||||
<indexterm zone="openldap libldap_r">
|
||||
<primary sortas="c-libldap_r">libldap_r.[so,a]</primary>
|
||||
</indexterm></listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
|
||||
</sect2>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user