ntlm_auth command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
ntlm_auth: command not found
or when using sudo you get the following error message
sudo: ntlm_auth: command not found
Solutions to ntlm_auth: command not found
How To Fix ntlm_auth: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu ntlm_auth is provided by winbind package.
winbind is:
Samba is an implementation of the SMB/CIFS protocol for Unix systems, providing support for cross-platform file sharing with Microsoft Windows, OS X, and other Unix systems. Samba can also function as a domain controller or member server in both NT4-style and Active Directory domains.
This package provides winbindd, a daemon which integrates authentication and directory service (user/group lookup) mechanisms from a Windows domain on a Linux system.
Winbind based user/group lookups via /etc/nsswitch.conf can be enabled via the libnss-winbind package. Winbind based Windows domain authentication can be enabled via the libpam-winbind package.
To fix this problem, we can install more using the command below.
sudo apt-get -y install winbind
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install winbind.
sudo apt -y install winbind
Or if you have aptitude installed you can use the following command.
sudo aptitude install winbind
Summary
In this tutorial we learn how to fix ntlm_auth command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.