Category: LDAP

LDAP monitoring script

Here is quite simple monitoring script for LDAP:

check_ldap.py

Read more

Keyword notice for OpenLDAP configuration: OpenLDAP client – part 2

Install required packages:

Edit /etc/nsswitch.conf:

switch authentication method:

Create test ssh session for LDAP authentication.

Read more

Keyword notice for OpenLDAP configuration: OpenLDAP master – part 1

Let’s install required packages:

I must admit that LDAP configuration is stored in the LDAP server itself, so you have to edit LDIF files under /etc/openldap/slapd.d/ directory. Next step have to be generation of ldap password:

Ok, now we have something like this {SSHA}ebm0JKviBRuMZN5ajbLPrAdC3hCtSrAc – SSHA hash of “secret”. Let’s add such string […]

Read more