nssldap-update-ignoreusers command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
nssldap-update-ignoreusers: command not found
or when using sudo you get the following error message
sudo: nssldap-update-ignoreusers: command not found
Solutions to nssldap-update-ignoreusers: command not found
How To Fix nssldap-update-ignoreusers: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu nssldap-update-ignoreusers is provided by libnss-ldap package.
libnss-ldap is:
This package provides a Name Service Switch that allows your LDAP server act as a name service. This means providing user account information, group id’s, host information, aliases, netgroups, and basically anything else that you would normally get from /etc flat files or NIS.
If used with glibc 2.1’s nscd (Name Service Cache Daemon) it will help reduce your network traffic and speed up lookups for entries.
To fix this problem, we can install more using the command below.
sudo apt-get -y install libnss-ldap
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install libnss-ldap.
sudo apt -y install libnss-ldap
Or if you have aptitude installed you can use the following command.
sudo aptitude install libnss-ldap
Summary
In this tutorial we learn how to fix nssldap-update-ignoreusers command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.