From the course: Linux System Engineer: Authentication with LDAP and Kerberos
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Finish LDAP server configuration
From the course: Linux System Engineer: Authentication with LDAP and Kerberos
Finish LDAP server configuration
- [Instructor] To ensure that our LDAP server is accessible from the network, we'll want to edit the firewall rules of our rhhost1 VM. Type into a terminal sudo firewall-cmd --permanent space -- add-service=ldap and hit Enter. Type in your password as prompted. To reload the firewall config, type in sudo firewall-cmd --reload and hit Enter. We also want to setup logging for the LDAP service by editing the rsyslog configuration. Let's load the rsyslog.conf file in the VI, type in clear and then type in sudo vi /etc/rsyslog.conf and hit Enter. Let's go clear to the bottom and we'll add a line. Type in local4.* space /var/log/ldap.log. This will log to the /var/log/ldap.log file. Now save this by pressing esc + :x! and hitting Enter. Now restart the rsyslog service by typing in sudo systemctl restart rsyslog. Before we go on, we might want to ensure that our other services are persistent. Type in sudo systemctl enable space slapd.service, and hit Enter. Bring your line back and change…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.