Convert .schema file to .ldif

An easy method to convert schema file in OpenLDAP into ldif format.

Advertisements
Read more "Convert .schema file to .ldif"

Disable SElinux

SELinux or Security-Enhanced Linux is a security enhancement to the Linux operating system. It is meant to separate enforcement of security from policy. To disable SELinux, modify the config file /etc/sysconfig/selinux: vi /etc/sysconfig/selinux And set SELinux to permissive mode: SELINUX=permissive Save the file, and check: sestatus

Read more "Disable SElinux"

Install OpenLDAP server on CentOS 7

OpenLDAP is an open-source implementation of Lightweight Directory Access Protocol (LDAP), an open protocol for accessing and maintaining distributed directory information services over an IP network. In this tutorial, I will explain step by step how to install and deploy openldap 2.4+ on CentOS 7. OpenLDAP 2.4+ uses the ldif format to make changes to […]

Read more "Install OpenLDAP server on CentOS 7"

Add eduPerson and eduOrg schema to LDAP

How to add eduPerson and eduOrg schemas (from educause) to your OpenLDAP. Applies to OpenLDAP 2.4+ Copy the content of the eduperson ldif file from here: http://files.sami.cf/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 […]

Read more "Add eduPerson and eduOrg schema to LDAP"