[blfs-book] [BLFS Trac] #4619: openldap-2.4.39

BLFS Trac trac at linuxfromscratch.org
Tue Jan 28 09:31:21 PST 2014


#4619: openldap-2.4.39
-------------------------+-----------------------
 Reporter:  fo           |       Owner:  fo
     Type:  enhancement  |      Status:  assigned
 Priority:  normal       |   Milestone:  current
Component:  BOOK         |     Version:  SVN
 Severity:  normal       |  Resolution:
 Keywords:               |
-------------------------+-----------------------

Comment (by fo):

 Nothing. I am trying to keep the modifications to the book at the minimum.
 Those instructions above did the trick for the server to start. But I do
 not know much about this, so I asked if it is OK. Can just blindly copy
 and paste to the book your instructions, but am trying to understand why
 Debian or ArchLinux did those.

 At the moment, I have:


 {{{
 # env LC_ALL=C ls -dl /etc/openldap/slapd.d /var/lib/openldap/*
 /etc/openldap/slapd.conf /etc/openldap/slapd.ldif
 /etc/openldap/DB_CONFIG.example
 ls: cannot access /etc/openldap/slapd.d: No such file or directory
 -rw------- 1 root root      845 Jan 28 12:50
 /etc/openldap/DB_CONFIG.example
 -rw-r----- 1 root ldap     2103 Jan 28 12:50 /etc/openldap/slapd.conf
 -rw------- 1 root root     2564 Jan 28 12:50 /etc/openldap/slapd.ldif
 -rw------- 1 ldap ldap      845 Jan 28 12:50
 /var/lib/openldap/DB_CONFIG.example
 -rw------- 1 ldap ldap   262144 Jan 28 13:44 /var/lib/openldap/__db.001
 -rw------- 1 ldap ldap    32768 Jan 28 13:44 /var/lib/openldap/__db.002
 -rw------- 1 ldap ldap    49152 Jan 28 13:44 /var/lib/openldap/__db.003
 -rw-r--r-- 1 ldap ldap     2048 Jan 28 13:44 /var/lib/openldap/alock
 -rw------- 1 ldap ldap     8192 Jan 28 12:55 /var/lib/openldap/dn2id.bdb
 -rw------- 1 ldap ldap    32768 Jan 28 12:55
 /var/lib/openldap/id2entry.bdb
 -rw------- 1 ldap ldap 10485760 Jan 28 13:11
 /var/lib/openldap/log.0000000001
 }}}

 Thus, one directory is not present.

 All /var/lib/openldap/* is owned by ldap ldap and only one is not 700.

 The files affected by the other instructions:

 {{{
 /etc/openldap/DB_CONFIG.example (would need chown and chmod)
 /etc/openldap/slapd.ldif (would need chown and chmod)
 /var/lib/openldap/alock (would need chmod)
 }}}

 So, my question is: are these completely necessary for other things that I
 do not know? It is a good opportunity for me to learn, so, please, be
 patient with me.

 Thanks, again.

-- 
Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/4619#comment:13>
BLFS Trac <http://wiki.linuxfromscratch.org/blfs>
Beyond Linux From Scratch



More information about the blfs-book mailing list