Import ActiveDirectory schema files into OpenLDAP

Server Fault Asked by jugmac00 on August 31, 2020

I try to add objects of type User ( to a OpenLDAP database.

This fails, as the objectClass User is not preinstalled with OpenLDAP and Ubuntu.

The AD schema files are available at,in%20an%20Active%20Directory%20object

I downloaded the files, and I tried to import them into OpenLDAP but then I get an error message:

# ldapadd -Y EXTERNAL -H ldapi:/// -f AD_DS_Classes__Windows_Server_2016.ldf 
SASL/EXTERNAL authentication started
SASL username: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth
adding new entry "CN=Organization,CN=Schema,CN=Configuration,DC=X"
ldap_add: Invalid syntax (21)
    additional info: objectClass: value #1 invalid per syntax

I am brand new to LDAP at all and I do not know how to proceed.

Anybody knows how to get this working?

Add your own answers!

Related Questions

Preset runtime parameters for a docker container

1  Asked on November 4, 2021 by ormfo4i5fm


terraform – shall one use simple disk or linux LVM?

0  Asked on November 4, 2021 by wojtas-zet


GCP – Quickstart: Build and Deploy Problems

1  Asked on November 4, 2021 by ajiroghene


how to setup Carton, to compile znapzend 0.20.0?

1  Asked on November 4, 2021 by crestop


Recover data from IBM x3650 with SYS BRD ERR

1  Asked on November 4, 2021 by maxxer


cloning NTFS disk

1  Asked on November 4, 2021 by lucio-crusca


Apache Link to PHP run application/x-httpd-php *

1  Asked on February 28, 2021 by wobbo


uwsgi, multiple environment variables

2  Asked on February 25, 2021 by user204088


Ask a Question

Get help from others!

© 2022 All rights reserved. Sites we Love: PCI Database, MenuIva, UKBizDB, Menu Kuliner, Sharing RPP, SolveDir