SLAPO-DEREF(5)
π SLAPO-DEREF π
ok so bestie, this one is slapo-deref from the File Formats Manual section (section 5, if you're keeping track) β it's the Dereference Control overlay for slapd and honestly? she's a whole vibe. let's get into it π¦
β¨ NAME β¨
slapo-deref β the Dereference Control overlay to slapd. that's it, that's the girl π
πΈ SYNOPSIS πΈ
the config files in question, so you know where things live:
/etc/openldap/slapd.conf
/etc/openldap/slapd.d
π DESCRIPTION π
ok so here's the tea. This overlay implements the draft Dereference control β no cap, that's literally what it does. And the best part? The overlay can be used with any backend, or globally for all backends. so flexible, so iconic, she contain multitudes fr fr π
π EXAMPLES π
first up, the config β you just drop the overlay in next to your backend like:
database mdb
...
overlay deref
now say you've got these entries hanging around, minding their own business:
dn: cn=Howard Chu,ou=people,dc=example,dc=org
objectClass: inetOrgPerson
cn: Howard Chu
sn: Chu
uid: hyc
dn: cn=Pierangelo Masarati,ou=people,dc=example,dc=org
objectClass: inetOrgPerson
cn: Pierangelo Masarati
sn: Masarati
uid: ando
dn: cn=Test Group,ou=groups,dc=example,dc=org
objectClass: groupOfNames
cn: Test Group
member: cn=Howard Chu,ou=people,dc=example,dc=org
member: cn=Pierangelo Masarati,ou=people,dc=example,dc=org
so a search could be performed with a Dereference request control value specified as
{ member, uid }
I.e.,
ldapsearch -x -b dc=example,dc=org -E 'deref=member:uid'
and the "cn=Test Group" entry would be returned with the response control value
{ { member, cn=Howard Chu,ou=people,dc=example,dc=org,
{ { uid, [hyc] } } },
{ member, cn=Pierangelo Masarati,ou=people,dc=example,dc=org,
{ { uid, [ando] } } } }
look at those dereferenced uids just sitting there all resolved π so satisfying, it's giving β¨magicβ¨
ποΈ FILES ποΈ
/etc/openldap/slapd.confβ the defaultslapdconfiguration file. home base π/etc/openldap/slapd.dβ the defaultslapdconfiguration directory. the other home base π‘
π«Ά SEE ALSO π«Ά
slapd.conf(5),slapd-config(5).- "OpenLDAP Administrator's Guide" (http://www.OpenLDAP.org/doc/admin/)
- IETF LDAP Dereference Control proposal by P. Masarati, H. Chu, in IETF document
"draft-masarati-ldap-deref-00.txt".
go read the lore, bestie, it's worth it ππ
π AUTHOR π
Pierangelo Masarati. icon, legend, the moment π
ok that's the whole page, every last crumb accounted for. no skips, no shortcuts, periodt π
OpenLDAP 2.7.2, dated 2026/10/21 β and that's on SLAPO-DEREF(5), mwah πβ¨ bye bestie, go dereference something π¦π
π¦ where this page comes from
- arch rolling: openldap 2.7.2-2 Β· OLDAP-2.8
- Copyright 2008-2026 The OpenLDAP Foundation All Rights Reserved
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms