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

to the

Also you have to edit your default setting for

and

According to our domain root, change:

with your DN:

Let’s copy DB_CONFIG to /var/lib/ldap by editing template file under /usr/share/openldap-servers/DB_CONFIG.example
Don’t forget to change owners of the file:

Now, we can make config test:

If everything is OK, we can configure our base domain:

import base domain to the LDAP directory:

and migrate our local users to LDAP directory:

let’s customize /usr/share/migrationtools/migrate_common.ph

Now we are ready for migration process:

Author: GergunD

Leave a Reply