ldap-schema-manager command not found

In this troubleshooting guide we learn how to fix ldap-schema-manager command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

ldap-schema-manager: command not found

or when using sudo you get the following error message

sudo: ldap-schema-manager: command not found

Solutions to ldap-schema-manager: command not found

How To Fix ldap-schema-manager: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu ldap-schema-manager is provided by schema2ldif package.

schema2ldif is:

The schema2ldif tool will read the given input file and convert it to an LDIF file that you can insert into you LDAP directory.

The schema2ldif tool is part of and provided by the FusionDirectory project.

To fix this problem, we can install more using the command below.

sudo apt-get -y install schema2ldif

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install schema2ldif.

sudo apt -y install schema2ldif

Or if you have aptitude installed you can use the following command.

sudo aptitude install schema2ldif

Summary

In this tutorial we learn how to fix ldap-schema-manager command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.