How To Install krb5-server-ldap on Rocky Linux 8

In this tutorial we learn how to install krb5-server-ldap on Rocky Linux 8. krb5-server-ldap is The LDAP storage plugin for the Kerberos 5 KDC

Introduction

In this tutorial we learn how to install krb5-server-ldap on Rocky Linux 8.

What is krb5-server-ldap

Kerberos is a network authentication system. The krb5-server package contains the programs that must be installed on a Kerberos 5 key distribution center (KDC). If you are installing a Kerberos 5 KDC, and you wish to use a directory server to store the data for your realm, you need to install this package.

We can use yum or dnf to install krb5-server-ldap on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install krb5-server-ldap.

Install krb5-server-ldap on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install krb5-server-ldap using dnf by running the following command:

sudo dnf -y install krb5-server-ldap

Install krb5-server-ldap on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install krb5-server-ldap using yum by running the following command:

sudo yum -y install krb5-server-ldap

How To Uninstall krb5-server-ldap on Rocky Linux 8

To uninstall only the krb5-server-ldap package we can use the following command:

sudo dnf remove krb5-server-ldap

krb5-server-ldap Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/5c
/usr/lib/.build-id/5c/4f2eacf661981c886c30d22793c56f812d717c
/usr/lib/.build-id/9f
/usr/lib/.build-id/9f/014f9742b4bbfbb81948b97137906712f9dc58
/usr/lib/.build-id/ac
/usr/lib/.build-id/ac/6199303d01f2272c329d9255ae79c968b434ad
/usr/lib64/krb5
/usr/lib64/krb5/plugins
/usr/lib64/krb5/plugins/kdb
/usr/lib64/krb5/plugins/kdb/kldap.so
/usr/lib64/libkdb_ldap.so
/usr/lib64/libkdb_ldap.so.1
/usr/lib64/libkdb_ldap.so.1.0
/usr/sbin/kdb5_ldap_util
/usr/share/doc/krb5-server-ldap
/usr/share/doc/krb5-server-ldap/60kerberos.ldif
/usr/share/doc/krb5-server-ldap/kerberos.ldif
/usr/share/doc/krb5-server-ldap/kerberos.schema
/usr/share/man/man8/kdb5_ldap_util.8.gz
/usr/lib/.build-id
/usr/lib/.build-id/73
/usr/lib/.build-id/73/a79166b1b30f5c6db6afdc816d8155f1054579
/usr/lib/.build-id/c1
/usr/lib/.build-id/c1/a84380e176403246105ac57d269060f5763ae9
/usr/lib/.build-id/f7
/usr/lib/.build-id/f7/3170467521c020415f7c07d449a26ad543ffce
/usr/lib/krb5
/usr/lib/krb5/plugins
/usr/lib/krb5/plugins/kdb
/usr/lib/krb5/plugins/kdb/kldap.so
/usr/lib/libkdb_ldap.so
/usr/lib/libkdb_ldap.so.1
/usr/lib/libkdb_ldap.so.1.0
/usr/sbin/kdb5_ldap_util
/usr/share/doc/krb5-server-ldap
/usr/share/doc/krb5-server-ldap/60kerberos.ldif
/usr/share/doc/krb5-server-ldap/kerberos.ldif
/usr/share/doc/krb5-server-ldap/kerberos.schema
/usr/share/man/man8/kdb5_ldap_util.8.gz

References

Summary

In this tutorial we learn how to install krb5-server-ldap on Rocky Linux 8 using yum and dnf.