HostedDB - Dedicated UNIX Servers

Securing-Optimizing-RH-Linux-1_2_319
Comments and suggestions concerning this book should be mailed to gmourani@videotron.ca © Copyright 1999-2000 Gerhard Mourani and Open Network Architecture ® 319 NOTE: The compile options above assume that you want to setup an LDBM backend database. For the other type of backend database, you must add the require option in your configuration lines above. Step 3 Now, we must compile and install OpenLDAP in the server: [root@deep openldap-1.2.9]# make depend [root@deep openldap-1.2.9]# make [root@deep openldap-1.2.9]# cd tests/ [root@deep tests]#  make [root@deep tests]#  cd .. [root@deep openldap-1.2.9]# make install The "make depend" command would build and make the necessary dependency of different files, “make ” compile all source files into executable binaries, and then “make install” install the binaries and any supporting files into the appropriate locations. The “make ” command under “/test” subdirectory would do some important test to verify the functionality of your LDAP server before the installation. If some tests fails, you’ll need to fixes the problems before continuing the installation. [root@deep openldap-1.2.9]# install -d -m 700 /var/ldap [root@deep openldap-1.2.9]# echo localhost > /etc/openldap/ldapserver [root@deep openldap-1.2.9]# strip /usr/lib/liblber.so.1.0.0  [root@deep openldap-1.2.9]# strip /usr/lib/libldap.so.1.0.0  [root@deep openldap-1.2.9]# strip /usr/lib/libldap.a  [root@deep openldap-1.2.9]# strip /usr/lib/liblber.a [root@deep openldap-1.2.9]# strip /usr/sbin/in.xfingerd [root@deep openldap-1.2.9]# strip /usr/sbin/go500 [root@deep openldap-1.2.9]# strip /usr/sbin/go500gw [root@deep openldap-1.2.9]# strip /usr/sbin/mail500 [root@deep openldap-1.2.9]# strip /usr/sbin/rp500 [root@deep openldap-1.2.9]# strip /usr/sbin/rcpt500 [root@deep openldap-1.2.9]# strip /usr/sbin/fax500 [root@deep openldap-1.2.9]# strip /usr/sbin/slapd [root@deep openldap-1.2.9]# strip /usr/sbin/slurpd [root@deep openldap-1.2.9]# strip /usr/sbin/ldif [root@deep openldap-1.2.9]# strip /usr/sbin/ldif2ldbm  [root@deep openldap-1.2.9]# strip /usr/sbin/ldif2index [root@deep openldap-1.2.9]# strip /usr/sbin/ldif2id2entry [root@deep openldap-1.2.9]# strip /usr/sbin/ldif2id2children [root@deep openldap-1.2.9]# strip /usr/sbin/ldbmcat [root@deep openldap-1.2.9]# strip /usr/sbin/ldbmtest [root@deep openldap-1.2.9]# strip /usr/sbin/centipede [root@deep openldap-1.2.9]# strip /usr/bin/ud [root@deep openldap-1.2.9]# strip /usr/bin/ldapadd [root@deep openldap-1.2.9]# strip /usr/bin/ldapsearch [root@deep openldap-1.2.9]# strip /usr/bin/ldapmodify [root@deep openldap-1.2.9]# strip /usr/bin/ldapmodrdn [root@deep openldap-1.2.9]# strip /usr/bin/ldappasswd [root@deep openldap-1.2.9]# strip /usr/bin/ldapdelete  The “install” command above will create a new directory named “ldap” under “/var” directory and will set its mode to be readable, writable, and executable only by the super-user “root” (700) for security reasons.