kdb5_ldap_util command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
kdb5_ldap_util: command not found
or when using sudo you get the following error message
sudo: kdb5_ldap_util: command not found
Solutions to kdb5_ldap_util: command not found
How To Fix kdb5_ldap_util: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu kdb5_ldap_util is provided by krb5-kdc-ldap package.
krb5-kdc-ldap is:
Kerberos is a system for authenticating users and services on a network. Kerberos is a trusted third-party service. That means that there is a third party (the Kerberos server) that is trusted by all the entities on the network (users and services, usually called “principals”).
This is the MIT reference implementation of Kerberos V5.
This package contains the LDAP plugin for the Kerberos key server (KDC) and supporting utilities. This plugin allows the KDC data to be stored in an LDAP server rather than the default local database. It should be installed on both master and slave KDCs that use LDAP as a storage backend.
To fix this problem, we can install more using the command below.
sudo apt-get -y install krb5-kdc-ldap
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install krb5-kdc-ldap.
sudo apt -y install krb5-kdc-ldap
Or if you have aptitude installed you can use the following command.
sudo aptitude install krb5-kdc-ldap
Summary
In this tutorial we learn how to fix kdb5_ldap_util command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.