Tag Archives: Configuration

OpenLDAP Password Policy Overlay

By | 2019-09-01

The OpenLDAP password policy overlay allows administrators to implement password policies such as minimum length requirements and expirations. This guide explains how to use it and demonstrates with a few examples. The password policy overlay configuration is a bit different from other overlays. The configuration of most overlays takes place in the overlay entry of… Read More »

OpenLDAP Referential Integrity Overlay

By | 2019-03-30

The OpenLDAP referential integrity overlay is used to keep attributes that refer to the DNs of other entries consistent when changes occur. If you are trying to make groups more manageable, consider using the memberOf overlay. The referential integrity overlay will automatically modify or remove attributes if the entry they refer to is renamed or… Read More »

OpenLDAP memberOf overlay

By | 2019-02-28

The OpenLDAP memberOf overlay automatically creates and removes attributes when attributes of other entries that refer to their DN are added and removed. That statement, while technically accurate, was confusing to me and I wrote it! For example, if you create a groupOfNames entry with a member attribute of uid=user,ou=users,dc=tylersguides,dc=com, the memberOf overlay can automatically… Read More »

Disable SELinux on CentOS 7

By | 2018-09-22

To temporarily disable SELinux on CentOS 7, run this command as root: root@centos7 ~]# setenforce 0 If you want to turn it back on, use the command: root@centos7 ~]# setenforce 1 This will not persist across a reboot. If you want it to be disabled when the system boots, edit /etc/sysconfig/selinux and replace this line:… Read More »

OpenLDAP Multi-Master Replication

By | 2018-09-10

OpenLDAP Multi-Master Replication is for high availability, not load balancing. If a split-brain is possible, consider the mirror mode architecture described in the OpenLDAP Administrator’s Guide. A split-brain is where two or more nodes of a cluster are operating independently, which can cause the cluster data to become corrupt or out of sync. If you… Read More »