Hello Support,
Please see the screenshot for more information.
Warm Regards,
Vikram Sharma
Investec Global Services (India) Pvt. Ltd.
Tel: +91 22 68497512
Mob: +91 9930600995
From: Vikram Sharma
Sent: 04 May 2023 11:22
To: openldap-technical@openldap.org
Cc: Amit Kulkarni <Amit.Kulkarni@investec.co.in>; Wyvern Bozec-Pearce <Wyvern.Bozec-Pearce@investec.co.uk>
Subject: Issues deploying openldap 2.6.4 Proxy on RHEL 8.7
Hello Support,
We are trying to deploy Openldap proxy from the available package from the openldap site version 2.6.4 on the Red Hat Enterprise Linux version 8.7 ootpa.
We are aware that Red Hat enterprise 8.7 support openldap clients however, installing openldap-server is not supported. We are referring to the support tech link
https://computingforgeeks.com/install-configure-openldap-server-centos/ to deploy openldap 2.6.4 however, when the deployment
installation is completed following steps we are unable to start
slapd service as slapd.d file is missing can we get some guidance on this please?
Download site -
https://www.openldap.org/software/download/OpenLDAP/openldap-release/
Install Procedure
-------------------------------------------------------------------------------------------
#login as root user
sudo su -
#update required as pre-requisite
sudo dnf update -y
#restart once update is completed.
sudo reboot
#install the required dependencies
sudo dnf install wget vim cyrus-sasl-devel libtool-ltdl-devel openssl-devel libdb-devel make libtool autoconf tar gcc perl perl-devel -y
#create a non-privileged system user for OpenLDAP.
sudo useradd -r -M -d /var/lib/openldap -u 55 -s /usr/sbin/nologin svcldapusr
#Download the openldap tgz file from site
https://www.openldap.org/software/download/OpenLDAP/openldap-release/
Transfer the file via Winscp and extract
tar xzf openldap-$VER.tgz
#Install OpenLDAP on RHEL 8
sudo mv openldap-$VER /opt
# Change your working directory to OpenLDAP source.
cd /opt/openldap-$VER
#Install Development Tools:
sudo dnf groupinstall "Development Tools" -y
#Compile the source files
sudo ./configure --prefix=/usr --sysconfdir=/etc --enable-debug --with-tls=openssl --with-cyrus-sasl --enable-dynamic --enable-crypt --enable-spasswd --enable-slapd --enable-modules --enable-rlookups
#Upon successful compilation, you should see an output that says: “Please run “make depend” to build dependencies”
#Run make depend to build OpenLDAP dependencies.
sudo make depend
#Compile OpenLDAP.
sudo make
#Install OpenLDAP on RHEL 8:
sudo make install
#A successful installation creates configuration files at /etc/openldap. The following files are available after installation:
$ ls /etc/openldap
certs ldap.conf ldap.conf.default schema slapd.conf slapd.conf.defaul
Warm Regards,
Vikram Sharma
Investec Global Services (India) Pvt. Ltd.
Tel: +91 22 68497512
Mob: +91 9930600995