ndrdump command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
ndrdump: command not found
or when using sudo you get the following error message
sudo: ndrdump: command not found
Solutions to ndrdump: command not found
How To Fix ndrdump: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu ndrdump is provided by samba-testsuite package.
samba-testsuite 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 contains programs for testing the reliability and speed of SMB servers, Samba in particular.
To fix this problem, we can install more using the command below.
sudo apt-get -y install samba-testsuite
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install samba-testsuite.
sudo apt -y install samba-testsuite
Or if you have aptitude installed you can use the following command.
sudo aptitude install samba-testsuite
Summary
In this tutorial we learn how to fix ndrdump command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.