-1

I am having a ldif file which exported from Active directory. it contains users and group details. I have tried to import directly through jxloper, it throws error. How do I import Active directory ldif file to openldap server?

1 Answers1

0

The LDAP schema of MS Active Directory is very specific and completely different to that installed in OpenLDAP default installations. It's nearly impossible to get AD exports directly imported into OpenLDAP without heavy sanitizing and/or schema tweaking.

Just some examples:

  • The users in AD have object class User which does not exist in OpenLDAP
  • The groups in AD have object class Group which does not exist in OpenLDAP

If you want to mimic behaviour of MS AD your best option would be to try Samba4 by following this docs:

Setting up Samba as an Active Directory Domain Controller

Michael Ströder
  • 1,248
  • 8
  • 12