MARWAN docs NOC knowledge base
DocsOpenLDAP

Add eduPerson and eduOrg schemas to OpenLDAP

Add the eduPerson and eduOrg schemas to an OpenLDAP server with ldapadd, using MARWAN-hosted LDIF files.

Updated Sami Ait Ali Oulahcen

Copy the content of the eduperson ldif file from here: https://files.marwan.ma/eduperson.ldif
Edit/create eduperson ldif file in the schema directory, and paste the content into it.

vi /etc/openldap/schema/eduperson.ldif

Now add the schema using ldapadd:

ldapadd -Y EXTERNAL -H ldapi:/// -f /etc/openldap/schema/eduperson.ldif

Repeat the same steps for the eduOrg schema.

You can find the ldif file for eduorg here: https://files.marwan.ma/eduorg.ldif
Alternatively, you can make your own ldif files from the publicly available eduOrg and eduPerson schemas.

eduOrg schema : https://files.marwan.ma/eduOrg.schema

eduPerson schema : https://files.marwan.ma/eduPerson.schema

There are some scripts out there to convert .schema files to .ldif files, but if you want to do it manually you can follow this guide.