Ignore:
Timestamp:
04/04/2005 05:06:18 AM (19 years ago)
Author:
Randy McMurchy <randy@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 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
Children:
aa96cbbc
Parents:
abe290d
Message:

Updated to OpenLDAP-2.2.24

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • server/other/openldap.xml

    rabe290d rc507fdb3  
    99<!ENTITY openldap-md5sum "383691dbabe05ee2b72a3e9db2042a82">
    1010<!ENTITY openldap-size "2.6 MB">
    11 <!ENTITY openldap-buildsize "67 MB">
    12 <!ENTITY openldap-time "6.42 SBU">
     11<!ENTITY openldap-buildsize "76.7 MB">
     12<!ENTITY openldap-time "6.58 SBU">
    1313]>
    1414
     
    2121<title><application>Open<acronym>LDAP</acronym></application>-&openldap-version;
    2222</title>
     23<indexterm zone="openldap">
     24<primary sortas="a-OpenLDAP">OpenLDAP</primary></indexterm>
    2325
    2426<sect2>
    25 <title>Introduction to <application>Open<acronym>LDAP</acronym></application>
    26 </title>
     27<title>Introduction to
     28<application>Open<acronym>LDAP</acronym></application></title>
    2729
    2830<para>The <application>Open<acronym>LDAP</acronym></application> package
     
    6769
    6870<sect2>
    69 <title>Installation of <application>Open<acronym>LDAP</acronym></application>
    70 </title>
     71<title>Installation of
     72<application>Open<acronym>LDAP</acronym></application></title>
    7173
    7274<para>Install <application>Open<acronym>LDAP</acronym></application> by
     
    7880make depend &amp;&amp;
    7981make &amp;&amp;
    80 make test &amp;&amp;
    81 make install &amp;&amp;
     82make test</command></userinput></screen>
     83
     84<para>Now, as the root user:</para>
     85
     86<screen><userinput role='root'><command>make install &amp;&amp;
    8287chmod 755 /usr/lib/libl*-2.2.so.7.0.13</command></userinput></screen>
    8388
     
    110115add 127.0.0.1 to the <parameter>slapd</parameter> line in the
    111116<filename>/etc/hosts.allow</filename> file if you have a
    112 restrictive <filename>/etc/hosts.deny</filename> file.</para>
     117restrictive <filename>/etc/hosts.deny</filename> file. If you logged the
     118output of the <command>make test</command>, an easy test to see if all the
     119tests succeeded is to issue <command>grep ">>>>> Test succeeded"
     120<replaceable>[logfilename]</replaceable> | wc -l</command>. You should have
     121<computeroutput>39</computeroutput> returned.</para>
    113122
    114123<para><command>chmod 755 /usr/lib/libl*-2.2.so.7.0.10</command>: This command
     
    118127
    119128<sect2>
    120 <title>Configuring <application>Open<acronym>LDAP</acronym></application>
    121 </title>
    122 
    123 <sect3><title>Config files</title>
     129<title>Configuring
     130<application>Open<acronym>LDAP</acronym></application></title>
     131
     132<sect3 id="openldap-config"><title>Config files</title>
    124133<para><filename>/etc/openldap/*</filename></para>
     134<indexterm zone="openldap openldap-config">
     135<primary sortas="e-etc-openldap">/etc/openldap/*</primary></indexterm>
    125136</sect3>
    126137
     
    134145<application>Open<acronym>LDAP</acronym></application> for your particular
    135146needs.</para>
     147<indexterm zone="openldap openldap-config">
     148<primary sortas="e-etc-openldap-slapd.conf">/etc/openldap/slapd.conf</primary>
     149</indexterm>
     150<indexterm zone="openldap openldap-config">
     151<primary sortas="e-etc-openldap-ldap.conf">/etc/openldap/ldap.conf</primary>
     152</indexterm>
    136153
    137154<para>Resources to assist you with topics such as choosing a directory
     
    166183<filename>slapd.conf</filename> file.</para></sect3>
    167184
    168 <sect3><title>Init Script</title>
     185<sect3 id="openldap-init"><title>Init Script</title>
    169186<para>To automate the startup of the <acronym>LDAP</acronym> server at system
    170187bootup, install the <filename>/etc/rc.d/init.d/openldap</filename> init script
    171188included in the <xref linkend="intro-important-bootscripts"/> package using the
    172189following command:</para>
     190<indexterm zone="openldap openldap-init">
     191<primary sortas="f-openldap">openldap</primary></indexterm>
    173192
    174193<screen><userinput><command>make install-openldap1</command></userinput></screen>
     
    223242<title>Contents</title>
    224243
    225 <para>The Open<acronym>LDAP</acronym> package contains
    226 <command>ldapadd</command>,
    227 <command>ldapcompare</command>,
    228 <command>ldapdelete</command>,
    229 <command>ldapmodify</command>,
    230 <command>ldapmodrdn</command>,
    231 <command>ldappasswd</command>,
    232 <command>ldapsearch</command>,
    233 <command>ldapwhoami</command>,
    234 <command>slapadd</command>,
    235 <command>slapcat</command>,
    236 <command>slapd</command>,
    237 <command>slapdn</command>,
    238 <command>slapindex</command>,
    239 <command>slappasswd</command>,
    240 <command>slaptest</command>,
    241 <command>slurpd</command>,
    242 <filename class="libraryfile">liblber</filename> and the
    243 <filename class="libraryfile">libldap</filename> libraries.</para>
     244<segmentedlist>
     245<segtitle>Installed Programs</segtitle>
     246<segtitle>Installed Libraries</segtitle>
     247<segtitle>Installed Directories</segtitle>
     248
     249<seglistitem>
     250<seg>ldapadd, ldapcompare, ldapdelete, ldapmodify, ldapmodrdn, ldappasswd,
     251ldapsearch, ldapwhoami, slapadd, slapcat, slapd, slapdn, slapindex,
     252slappasswd, slaptest and slurpd</seg>
     253<seg>liblber.[so,a], libldap.[so,a] and libldap_r.[so,a]</seg>
     254<seg>/etc/openldap, /srv/ldap and /usr/share/openldap</seg>
     255</seglistitem>
     256</segmentedlist>
     257
     258<variablelist>
     259<bridgehead renderas="sect3">Short Descriptions</bridgehead>
     260<?dbfo list-presentation="list"?>
     261
     262<varlistentry id="ldapadd">
     263<term><command>ldapadd</command></term>
     264<listitem><para>opens a connection to an <acronym>LDAP</acronym> server,
     265binds and adds entries.</para>
     266<indexterm zone="openldap ldapadd">
     267<primary sortas="b-ldapadd">ldapadd</primary>
     268</indexterm></listitem>
     269</varlistentry>
     270
     271<varlistentry id="ldapcompare">
     272<term><command>ldapcompare</command></term>
     273<listitem><para>opens a connection to an <acronym>LDAP</acronym> server,
     274binds and performs a compare using specified parameters.</para>
     275<indexterm zone="openldap ldapcompare">
     276<primary sortas="b-ldapcompare">ldapcompare</primary>
     277</indexterm></listitem>
     278</varlistentry>
     279
     280<varlistentry id="ldapdelete">
     281<term><command>ldapdelete</command></term>
     282<listitem><para> opens a connection to an <acronym>LDAP</acronym> server,
     283binds and deletes one or more entries.</para>
     284<indexterm zone="openldap ldapdelete">
     285<primary sortas="b-ldapdelete">ldapdelete</primary>
     286</indexterm></listitem>
     287</varlistentry>
     288
     289<varlistentry id="ldapmodify">
     290<term><command>ldapmodify</command></term>
     291<listitem><para>opens a connection to an <acronym>LDAP</acronym> server,
     292binds and modifies entries.</para>
     293<indexterm zone="openldap ldapmodify">
     294<primary sortas="b-ldapmodify">ldapmodify</primary>
     295</indexterm></listitem>
     296</varlistentry>
     297
     298<varlistentry id="ldapmodrdn">
     299<term><command>ldapmodrdn</command></term>
     300<listitem><para>opens a connection to an <acronym>LDAP</acronym> server,
     301binds and modifies the <acronym>RDN</acronym> of entries.</para>
     302<indexterm zone="openldap ldapmodrdn">
     303<primary sortas="b-ldapmodrdn">ldapmodrdn</primary>
     304</indexterm></listitem>
     305</varlistentry>
     306
     307<varlistentry id="ldappasswd">
     308<term><command>ldappasswd</command></term>
     309<listitem><para>is a tool to set the password of an <acronym>LDAP</acronym>
     310user.</para>
     311<indexterm zone="openldap ldappasswd">
     312<primary sortas="b-ldappasswd">ldappasswd</primary>
     313</indexterm></listitem>
     314</varlistentry>
     315
     316<varlistentry id="ldapsearch">
     317<term><command>ldapsearch</command></term>
     318<listitem><para>opens a connection to an <acronym>LDAP</acronym> server,
     319binds and performs a search using specified parameters.</para>
     320<indexterm zone="openldap ldapsearch">
     321<primary sortas="b-ldapsearch">ldapsearch</primary>
     322</indexterm></listitem>
     323</varlistentry>
     324
     325<varlistentry id="ldapwhoami">
     326<term><command>ldapwhoami</command></term>
     327<listitem><para>opens a connection to an <acronym>LDAP</acronym> server,
     328binds and displays whoami information.</para>
     329<indexterm zone="openldap ldapwhoami">
     330<primary sortas="b-ldapwhoami">ldapwhoami</primary>
     331</indexterm></listitem>
     332</varlistentry>
     333
     334<varlistentry id="slapadd">
     335<term><command>slapadd</command></term>
     336<listitem><para>is used to add entries specified in <acronym>LDAP</acronym>
     337Directory Interchange Format (<acronym>LDIF</acronym>) to an
     338<acronym>LDAP</acronym> database.</para>
     339<indexterm zone="openldap slapadd">
     340<primary sortas="b-slapadd">slapadd</primary>
     341</indexterm></listitem>
     342</varlistentry>
     343
     344<varlistentry id="slapcat">
     345<term><command>slapcat</command></term>
     346<listitem><para>is used to generate an <acronym>LDAP</acronym>
     347<acronym>LDIF</acronym> output based upon the contents of a slapd
     348database.</para>
     349<indexterm zone="openldap slapcat">
     350<primary sortas="b-slapcat">slapcat</primary>
     351</indexterm></listitem>
     352</varlistentry>
     353
     354<varlistentry id="slapd">
     355<term><command>slapd</command></term>
     356<listitem><para>is the stand-alone <acronym>LDAP</acronym> server.</para>
     357<indexterm zone="openldap slapd">
     358<primary sortas="b-slapd">slapd</primary>
     359</indexterm></listitem>
     360</varlistentry>
     361
     362<varlistentry id="slapdn">
     363<term><command>slapdn</command></term>
     364<listitem><para>checks a list of string-represented <acronym>DN</acronym>s
     365based on schema syntax.</para>
     366<indexterm zone="openldap slapdn">
     367<primary sortas="b-slapdn">slapdn</primary>
     368</indexterm></listitem>
     369</varlistentry>
     370
     371<varlistentry id="slapindex">
     372<term><command>slapindex</command></term>
     373<listitem><para>is used to regenerate slapd indices based upon the current
     374contents of a database.</para>
     375<indexterm zone="openldap slapindex">
     376<primary sortas="b-slapindex">slapindex</primary>
     377</indexterm></listitem>
     378</varlistentry>
     379
     380<varlistentry id="slappasswd">
     381<term><command>slappasswd</command></term>
     382<listitem><para>is an <application>Open<acronym>LDAP</acronym></application>
     383password utility.</para>
     384<indexterm zone="openldap slappasswd">
     385<primary sortas="b-slappasswd">slappasswd</primary>
     386</indexterm></listitem>
     387</varlistentry>
     388
     389<varlistentry id="slaptest">
     390<term><command>slaptest</command></term>
     391<listitem><para>checks the sanity of the <filename>slapd.conf</filename>
     392file.</para>
     393<indexterm zone="openldap slaptest">
     394<primary sortas="b-slaptest">slaptest</primary>
     395</indexterm></listitem>
     396</varlistentry>
     397
     398<varlistentry id="slurpd">
     399<term><command>slurpd</command></term>
     400<listitem><para>is the stand-alone <acronym>LDAP</acronym> replication
     401server.</para>
     402<indexterm zone="openldap slurpd">
     403<primary sortas="b-slurpd">slurpd</primary>
     404</indexterm></listitem>
     405</varlistentry>
     406
     407<varlistentry id="liblber">
     408<term><filename class='libraryfile'>liblber.[so,a]</filename></term>
     409<listitem><para>is a set of lightweight Basic Encoding Rules routines. These
     410routines are used by the <acronym>LDAP</acronym> library routines to encode
     411and decode <acronym>LDAP</acronym> protocol elements using the (slightly
     412simplified) Basic Encoding Rules defined by <acronym>LDAP</acronym>. They are
     413not normally used directly by an <acronym>LDAP</acronym> application program
     414except in the handling of controls and extended operations.</para>
     415<indexterm zone="openldap liblber">
     416<primary sortas="c-liblber">liblber.[so,a]</primary>
     417</indexterm></listitem>
     418</varlistentry>
     419
     420<varlistentry id="libldap">
     421<term><filename class='libraryfile'>libldap.[so,a]</filename></term>
     422<listitem><para>supports the <acronym>LDAP</acronym> programs and provide
     423functionality for other programs interacting with
     424<acronym>LDAP</acronym>.</para>
     425<indexterm zone="openldap libldap">
     426<primary sortas="c-libldap">libldap.[so,a]</primary>
     427</indexterm></listitem>
     428</varlistentry>
     429
     430<varlistentry id="libldap_r">
     431<term><filename class='libraryfile'>libldap_r.[so,a]</filename></term>
     432<listitem><para>contains the functions required by the <acronym>LDAP</acronym>
     433programs to produce the results from <acronym>LDAP</acronym> requests.</para>
     434<indexterm zone="openldap libldap_r">
     435<primary sortas="c-libldap_r">libldap_r.[so,a]</primary>
     436</indexterm></listitem>
     437</varlistentry>
     438</variablelist>
    244439
    245440</sect2>
    246441
    247 <sect2><title>Description</title>
    248 
    249 <sect3><title>ldapadd</title>
    250 <para><command>ldapadd</command> opens a connection to an
    251 <acronym>LDAP</acronym> server, binds and adds entries.</para></sect3>
    252 
    253 <sect3><title>ldapcompare</title>
    254 <para><command>ldapcompare</command> opens a connection to an
    255 <acronym>LDAP</acronym> server, binds and performs a compare using specified
    256 parameters.</para></sect3>
    257 
    258 <sect3><title>ldapdelete</title>
    259 <para><command>ldapdelete</command> opens a connection to an
    260 <acronym>LDAP</acronym> server, binds and deletes one or more entries.</para>
    261 </sect3>
    262 
    263 <sect3><title>ldapmodify</title>
    264 <para><command>ldapmodify</command> opens a connection to an
    265 <acronym>LDAP</acronym> server, binds and modifies entries.</para></sect3>
    266 
    267 <sect3><title>ldapmodrdn</title>
    268 <para><command>ldapmodrdn</command> opens a connection to an
    269 <acronym>LDAP</acronym> server, binds and modifies the
    270 <acronym>RDN</acronym> of entries.</para></sect3>
    271 
    272 <sect3><title>ldappasswd</title>
    273 <para><command>ldappasswd</command> is a tool to set the password of an
    274 <acronym>LDAP</acronym> user.</para></sect3>
    275 
    276 <sect3><title>ldapsearch</title>
    277 <para><command>ldapsearch</command> opens a connection to an
    278 <acronym>LDAP</acronym> server, binds and performs a search using specified
    279 parameters.</para></sect3>
    280 
    281 <sect3><title>ldapwhoami</title>
    282 <para><command>ldapwhoami</command> opens a connection to an
    283 <acronym>LDAP</acronym> server, binds and displays whoami information.</para>
    284 </sect3>
    285 
    286 <sect3><title>slapadd</title>
    287 <para><command>slapadd</command> is used to add entries specified in
    288 <acronym>LDAP</acronym> Directory Interchange Format (<acronym>LDIF</acronym>)
    289 to an <acronym>LDAP</acronym> database.</para></sect3>
    290 
    291 <sect3><title>slapcat</title>
    292 <para><command>slapcat</command> is used to generate an <acronym>LDAP</acronym>
    293 <acronym>LDIF</acronym> output
    294 based upon the contents of a slapd database.</para></sect3>
    295 
    296 <sect3><title>slapd</title>
    297 <para><command>slapd</command> is the stand-alone <acronym>LDAP</acronym>
    298 server.</para></sect3>
    299 
    300 <sect3><title>slapdn</title>
    301 <para><command>slapdn</command> checks a list of string-represented
    302 <acronym>DN</acronym>s based on schema syntax.</para></sect3>
    303 
    304 <sect3><title>slapindex</title>
    305 <para><command>slapindex</command> is used to regenerate slapd
    306 indices based upon the current contents of a database.</para></sect3>
    307 
    308 <sect3><title>slappasswd</title>
    309 <para><command>slappasswd</command> is an Open<acronym>LDAP</acronym> password
    310 utility.</para></sect3>
    311 
    312 <sect3><title>slaptest</title>
    313 <para><command>slaptest</command> checks the sanity of the
    314 <filename>slapd.conf</filename> file.</para></sect3>
    315 
    316 <sect3><title>slurpd</title>
    317 <para><command>slurpd</command> is the stand-alone
    318 <acronym>LDAP</acronym> replication server.</para></sect3>
    319 
    320 <sect3><title>liblber and libldap</title>
    321 <para>These libraries support the <acronym>LDAP</acronym> programs and provide
    322 functionality for other programs interacting with <acronym>LDAP</acronym>.
    323 </para></sect3>
    324 
    325 </sect2>
    326 
    327442</sect1>
Note: See TracChangeset for help on using the changeset viewer.