From the course: Red Hat Enterprise Linux 8 Essential Training
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Set up an LDAP database
From the course: Red Hat Enterprise Linux 8 Essential Training
Set up an LDAP database
- [Instructor] At this point, we should have a working LDAP server installation that has not been set up with a database. Ensure you're still in your Chapter 05 exercise files directory in your rhhost1 VM. Let's start by copying the sample database schemas from the OS. Type in sudo cp /usr/share/openldap-servers /DB_CONFIG.example /var/lib/ldap/DB_CONFIG and hit Enter. Now change the ownership to the LDAP user and group. Type in sudo chown -R ldap:ldap /var/lib/ldap/ and hit Enter. Let's clear the screen again. These files get us three schema files that we'll load. I will clear the screen each time to make it easier to read and troubleshoot. Type in sudo ldapadd -Y EXTERNAL -H ldapi:/// -f /etc/openldap/schema/cosine.ldif and hit Enter. Now type in clear, bring your line back and change cosine.ldif to nis.ldif and hit Enter again. And lastly we'll clear the screen again, bring your line back, change nis.ldif to inetorgperson.ldif and hit Enter again. Now that we have a generic…
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.
Contents
-
-
-
-
-
-
-
Authentication services introduction26s
-
(Locked)
Install and prepare LDAP server5m 56s
-
(Locked)
Configure LDAP server2m 35s
-
(Locked)
Set up an LDAP database2m 24s
-
(Locked)
Create an LDAP user2m 24s
-
(Locked)
Finish the LDAP server configuration1m 46s
-
(Locked)
Install and configure LDAP client6m 56s
-
(Locked)
Install and configure Kerberos server packages3m 3s
-
(Locked)
Create a Kerberos database4m 45s
-
(Locked)
Configure Kerberos client authentication3m 58s
-
-
-
-
-
-
-
-
-
-