SLAPO-LASTBIND(5)
π SLAPO-LASTBIND(5) π
okay bestie, pull up a chair, we're talking about slapo-lastbind(5) β the File Formats Manual glow-up for the lastbind overlay π¦
β¨ NAME β¨
slapo-lastbind β the lastbind overlay to slapd π
πΈ SYNOPSIS πΈ
ETCDIR/slapd.conf
π DESCRIPTION π
So the lastbind overlay to slapd(8) is the little icon that lets you record the timestamp of the last successful bind onto entries in the directory, and it stores that timestamp in the authTimestamp attribute. periodt.
You can also configure it to only update that timestamp if it's older than some value you pick β which lowkey saves you from a whole flood of write operations dragging your performance down the drain π. One sample use? Detecting unused accounts. obsessed.
Now here's the tea β β now that OpenLDAP has native support for most of this functionality, you should consider storing the value in pwdLastSuccess instead, so it plays nicer with the Behera Password Policy draft 10. no cap.
π CONFIGURATION π
The config directives that are specific to the lastbind overlay must be prefixed by lastbind-, so they don't start drama with directives specific to the underlying database or to other stacked overlays. it's giving boundaries β¨
overlay lastbindβ this directive adds the lastbind overlay to the current database, seeslapd.conf(5)for details.
This slapd.conf configuration option is defined for the lastbind overlay. It must appear after the overlay directive:
lastbind-precision <seconds>β<seconds>is the number of seconds after which to update theauthTimestampattribute in an entry. If the existing value ofauthTimestampis less than<seconds>old, it will not be changed. And if you justβ¦ don't include this configuration option? Then theauthTimestampattribute gets updated on each successful bind operation. every single time. no chill π«Άlastbind_forward_updatesβ specify that updates of theauthTimestampattribute on a consumer should be forwarded to a provider instead of being written directly into the consumer's local database. This setting is only useful on a replication consumer, and it also requires theupdaterefsetting and thechainoverlay to be appropriately configured. iykyk π«
π EXAMPLE π
This example configures the lastbind overlay to store authTimestamp in all entries in a database, with a 1 week precision. Add the following to slapd.conf(5):
database <database>
# ...
overlay lastbind
lastbind-precision 604800
Also, slapd must load lastbind.la, if it's compiled as a run-time module π§
π FILES π
ETCDIR/slapd.confβ the defaultslapdconfiguration file π
β SEE ALSO β
The IETF LDAP password policy proposal by P. Behera, L. Poitou and J. Sermersheim β documented in the IETF document "draft-behera-ldap-password-policy-10.txt".
The slapo-lastbind(5) overlay supports dynamic configuration via back-config. slay π₯
π ACKNOWLEDGEMENTS π
This module was written in 2009 by Jonathan Clarke. It is loosely derived from the password policy overlay. iconic behavior honestly π
and that's the whole page bestie β this manual was brought to you by OpenLDAP LDVERSION, dated RELEASEDATE, and yes it really is still called SLAPO-LASTBIND(5) at the bottom π bye mwah π
π¦ where this page comes from
- alpine 3.23: openldap-doc 2.6.13-r0 Β· OLDAP-2.8
- alpine 3.24: openldap-doc 2.6.15-r0 Β· OLDAP-2.8
- arch rolling: openldap 2.7.1-1
- arch rolling: openldap 2.7.2-2 Β· OLDAP-2.8
- opensuse-leap 16.0: openldap2_6 2.6.13+157-160000.1.1 Β· OLDAP-2.8
- opensuse-leap 16.0: openldap2_6 2.6.13+157-160000.1.1 Β· OLDAP-2.8
- opensuse-leap 16.0: openldap2_6 2.6.13+157-160000.1.1 Β· OLDAP-2.8
- opensuse-leap 16.0: openldap2_6 2.6.13+157-160000.1.1 Β· OLDAP-2.8
- ubuntu stonking: slapd 2.6.13+dfsg-1ubuntu3 Β· OpenLDAP-2.8
- Copyright 2009 Jonathan Clarke, All Rights Reserved
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms