Fix ownership for /var/lib/openldap

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@14490 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Bruce Dubbs 2014-10-04 22:23:32 +00:00
parent 791213b07a
commit 9dad1d410f

View File

@ -36,14 +36,6 @@
&lfs76_checked;
<!--
<warning>
<para>
Starting with Berkeley DB-6.0.20, there is a problem of license, if you
are intending to distribute this system.
</para>
</warning>
-->
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
@ -92,12 +84,6 @@
<ulink url="&patch-root;/openldap-&openldap-version;-symbol_versions-1.patch"/>
</para>
</listitem>
<!-- <listitem>
<para>
Optional patch:
<ulink url="&patch-root;/openldap-&openldap-version;-ntlm-1.patch"/>
</para>
</listitem> -->
</itemizedlist>
<bridgehead renderas="sect3">OpenLDAP Dependencies</bridgehead>
@ -128,18 +114,6 @@
<sect2 role="installation">
<title>Installation of OpenLDAP</title>
<!-- <important>
<para>
Without the following patch, the <application>Evolution</application>
Exchange addressbook integration uses simple binds with cleartext
passwords. If you are going to build
<application>Evolution Data Server</application> with
<application>OpenLDAP</application> support, apply the following patch:
</para>
<screen><userinput>patch -Np1 -i ../openldap-&openldap-version;-ntlm-1.patch</userinput></screen>
</important> -->
<note>
<para>
If you only need to install the client side <command>ldap*</command>
@ -223,7 +197,7 @@ make</userinput></screen>
<screen role="root"><userinput>make install &amp;&amp;
chmod -v 700 /var/lib/openldap &amp;&amp;
chown -v -R root:ldap /var/lib/openldap &amp;&amp;
chown -v -R ldap:ldap /var/lib/openldap &amp;&amp;
chmod -v 640 /etc/openldap/{slapd.{conf,ldif},DB_CONFIG.example} &amp;&amp;
chown -v root:ldap /etc/openldap/{slapd.{conf,ldif},DB_CONFIG.example} &amp;&amp;
install -v -dm700 -o ldap -g ldap /etc/openldap/slapd.d &amp;&amp;