June 2024
M T W T F S S
 12
3456789
10111213141516
17181920212223
24252627282930

Categories

June 2024
M T W T F S S
 12
3456789
10111213141516
17181920212223
24252627282930

centos7 openldap

systemctl stop firewalld.service setenforce 0

sed -i s/^SELINUX=enforcing/SELINUX=disabled/g /etc/selinux/config

127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 192.168.1.70 master.apple.com master 192.168.1.71 slave.apple.com slave 192.168.1.73 client1.apple.com client1 192.168.1.74 client2.apple.com client2

yum -y install openldap compat-openldap openldap-clients openldap-servers openldap-servers-sql openldap-devel migrationtools vim

cd /etc/openldap/slapd.d

rm -rf

cp /usr/share/openldap-servers/slapd.ldif /root/ldap/

Set OpenLDAP admin password. # generate […]