How to relaunch package configuration on libnss-ldap reinstallation

I've removed the file /etc/ldap.conf which was used by libnss-ldap.

Later I wanted to restore it by completely removing the package with

apt get remove libnss-ldap

and installing it again. But with second installation there was no configuration setup.

configuration setup

How can I reconfigure the package in order to get a fresh /etc/ldap.conf file? And how to launch this package configuration. Why it's only on first install?


Solution 1:

Try:

dpkg-reconfigure ldap-auth-config