An easy method to convert schema file in OpenLDAP into ldif format.
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: sestatusRead more "Disable SElinux"
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"
To show all running daemons on a GNU/Linux machine run: ps -AlRead more "Show all running services on Linux"
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"
To delete non-empty folders in GNU/Linux systems run:
sudo rm -rf