{"id":1902,"date":"2019-01-04T00:14:29","date_gmt":"2019-01-03T21:14:29","guid":{"rendered":"http:\/\/kifarunix.com\/?p=1902"},"modified":"2019-01-04T12:40:49","modified_gmt":"2019-01-04T09:40:49","slug":"configure-openldap-client-on-debian-9-stretch","status":"publish","type":"post","link":"https:\/\/kifarunix.com\/configure-openldap-client-on-debian-9-stretch\/","title":{"rendered":"Configure OpenLDAP Client on Debian 9 Stretch"},"content":{"rendered":"
This articles describes how to configure OpenLDAP client on Debian 9 Stretch. You can check our previous article on how to install and configure OpenLDAP Server on Debian 9 Stretch<\/a>.<\/p>\n Install the required packages.<\/p>\n During the installation process, you will receive different configuration prompts.<\/p>\n Define LDAP server’s URI.<\/p>\n Set the distinguished name of the LDAP search base.<\/p>\n Specify LDAP protocol version.<\/p>\n Set the LDAP administrator suffix.<\/p>\n Enter the LDAP admin account password for libnss-ldap LDAP authentication.<\/p>\n On nsswitch configuration, select Ok and press Enter to proceed. We will configure nsswitch later.<\/p>\n Allow LDAP admin account to assume local root behavior. This allows using the usual Disable LDAP database login requirement.<\/p>\n Enter LDAP administrator account suffix.<\/p>\n Set the LDAP administrator account password. Press Enter to complete installation and configuration.<\/p>\nInstall and Configure OpenLDAP Client on Debian 9 Stretch<\/h2>\n
apt -y install libnss-ldap libpam-ldap ldap-utils<\/code><\/pre>\n
Configure OpenLDAP client on Debian 9 Stretch<\/h2>\n
<\/a><\/p>\n
<\/a><\/p>\n
<\/a><\/p>\n
<\/a><\/p>\n
<\/a><\/p>\n
<\/a><\/p>\n
passwd<\/code> command for changing passwords stored in the LDAP database.<\/p>\n
<\/a><\/p>\n
<\/a><\/p>\n
<\/a><\/p>\n