Tag Archives: LDAP

HAProxy LDAP Backend

By | 2020-05-31

There are a few good reasons for setting up an HAProxy LDAP backend. Perhaps the client’s TLS implementation is lacking. Maybe the application only supports a single server and you can’t afford down time. In the latter scenario, setting up multiple address records in DNS with the same domain name. The problem with that is… Read More »

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 Online Configuration Reference

By | 2019-03-16

My OpenLDAP Online Configuration (OLC) Reference provides the OLC equivalents of the configuration file options. It should be pretty accurate as I read the source code to determine which OLC attributes correspond to the configuration file options. For a description of what the various options do, consult the appropriate man page or the official Administrator’s… 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 »

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 »