Table of Contents

Installation on Debian/Ubuntu with packages


LemonLDAP::NG provides these packages:

Get the packages

Official repository

If you run Debian testing or unstable, the packages are directly installable:

apt-cache search lemonldap-ng
Packages from Debian repository may not be up to date. Prefer then the other solutions (see below).

LL::NG repository

You can add this repository to have recent packages:

vi /etc/apt/sources.list.d/lemonldap-ng.list
# LemonLDAP::NG repository
deb stable main
deb-src stable main
  • Use the oldstable repository to get packages from previous major version
  • Use the testing repository to get packages from next major version
  • Use the 2.0 repository to avoid upgrade to next major version

You may need to install this package to access HTTPS repositories:

apt install apt-transport-https

Manual download

Packages are available on the Download page.

Package GPG signature

The GPG key can be downloaded here: rpm-gpg-key-ow2

Install it to trust packages:

wget -O - | apt-key add -

Update cache:

apt update

Install packages

With apt

apt install lemonldap-ng

With dpkg

Before installing the packages, install dependencies.


dpkg -i liblemonldap-ng-* lemonldap-ng*

First configuration steps

Change default DNS domain

By default, DNS domain is You can change it quick with a sed command. For example, we change it to

sed -i 's/example\.com/' /etc/lemonldap-ng/* /var/lib/lemonldap-ng/conf/lmConf-1.json /var/lib/lemonldap-ng/test/


If you upgraded LL::NG, check all upgrade notes.


Configure your DNS server to resolve names with your server IP:

Follow the next steps

File location

Build your packages

You can also get the LemonLDAP::NG archive and make the package yourself:

tar xzf lemonldap-ng-*.tar.gz
cd lemonldap-ng-*
make debian-packages