smbldap-userdel command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
smbldap-userdel: command not found
or when using sudo you get the following error message
sudo: smbldap-userdel: command not found
Solutions to smbldap-userdel: command not found
How To Fix smbldap-userdel: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu smbldap-userdel is provided by smbldap-tools package.
smbldap-tools is:
Set of scripts to manage data relative to users and groups stored in an LDAP server. The tools manage POSIX, shadow and Samba (3.0 series) accounts and groups.
This package is used to add/del/mod users and groups in the Linux Samba-OpenLDAP Howto http://download.gna.org/smbldap-tools/docs/samba-ldap-howto/
To fix this problem, we can install more using the command below.
sudo apt-get -y install smbldap-tools
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install smbldap-tools.
sudo apt -y install smbldap-tools
Or if you have aptitude installed you can use the following command.
sudo aptitude install smbldap-tools
Summary
In this tutorial we learn how to fix smbldap-userdel command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.