A successful attempt to provide tools and schemas for conversion of Active Directory content to OpenLdap.
User services like Jenkins, Confluence or Upsource are usually integrated with an LDAP service in corporate environments.
Imagine the following situation:
- You have an Active Directory instance with the production data
- You would like to have a second LDAP instance with full data access
- You cannot use an additional Active Directory instance for some reason, like:
- License costs
- Not having full admin access to the Active Directory
- You need just:
- Authenticate the users against the LDAP service
- Synchronize the user profiles with your user services
In this case, this project is suitable for you.
- Installed:
- openldap-2.4.39
- openldap-clients-2.4.39
- python-ldap-2.3.10
It contains the OpenLdap configuration files.
First, you will need to modify config/slapdenv.config
Modify ROOTDN
and ROOTPW
; if you need a user LDAP authentication, set ADDADUSERPW=true
and DEFAULTADUSERPW
.
If you would like to alter the OpenLdap settings, you should modify config/slapd.conf.template
.
It contains your ldif import files containing your LDAP data.
If you have more than one LDIF file, please ensure the right order (e.g. 01.ldif
, 02.ldif
, etc.).
It contains modified OpenLdap schemas merged with Active Directory specifics.
It contains scripts for OpenLdap setup, LDIF import and Active Directory schema conversion to OpenLdap schemas.
This is the first script you should execute. It sets the OpenLdap server according to the configuration.
This is the second script you should execute. It imports the data from the LDIFs.
This script converts Active Directory schema LDIF to the OpenLdap schema file. It is just for the reference.