From the course: Linux System Engineer: Authentication with LDAP and Kerberos
Unlock the full course today
Join today to access over 22,400 courses taught by industry experts or purchase this course individually.
Install OpenLDAP server
From the course: Linux System Engineer: Authentication with LDAP and Kerberos
Install OpenLDAP server
- [Instructor] There are multiple packages necessary for a basic working LDAP server, openldap is the basic package. Openldap-clients provides client commands, and openldap-servers provides server commands. Optional packages are nss-pam-ldapd, which provides an LDAP name service that allows users to do local queries. Mod_ldap provides LDAP authentication abilities to the Apache web server. Compat-openldap provides LDAP compatibility libraries for applications that need them. Lastly, openldap-servers-sql is a loadable module to allow OpenLDAP to use relational database back-ends. Now let's install the LDAP server components in our rhhost1 VM. In a terminal, type sudo yum install -y openldap-clients openldap-servers oddjob-mkhomedir. Type in your password, if prompted. The last package, named oddjob-mkhomedir is needed to create home directories on the fly. Once OpenLDAP is installed, let's talk about command naming. Server command names start with slap. Client command names start with…
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.