1. Install the openldap, openldap-servers and openldap-clients packages by running "yum install openldap", "yum install openldap-servers" "yum install openldap-clients"
2. Follow instructions at http://www.redhat.com/docs/manuals/enterprise/RHEL-5-manual/en-US/RHEL510/Deployment_Guide/s2-ldap-files-slapd-conf.html
3. Run "/sbin/service ldap start"
4. If you get an error message similar to Starting slapd: /bin/bash: /tmp/start-slapd.h
In the /etc/init.d/ldap file on the line that reads:
wrapper=`mktemp ${TMP:-/tmp}/start-slapd.XXXXXX`
change the name of the directory to /var/tmp or /opt/openldap/tmp
i.e. wrapper=`mktemp ${TMP:-/var/tmp}/start-slapd.XXXXXX`
The reason this change is necessary is because on the machine where this error occurs the /tmp directory has been barred from running scripts. This may happen to /var/tmp also in which case you may need to set it up elsewhere like I did on /opt/
Deep Dive into Microservices, LLMs, and Team Topologies at QCon London 2025
Training
-
Upskill on essential software development practices with hands-on sessions
led by practitioners at QCon London 2025. Join hands-on training on
microservi...
11 hours ago
No comments:
Post a Comment