SLAPO-TRANSLUCENT(5)
π SLAPO-TRANSLUCENT π
okay bestie, so this is SLAPO-TRANSLUCENT from the File Formats Manual, and it's literally the translucent proxy overlay for slapd β yes that's the whole vibe, let me spill π«Ά
β¨ NAME β¨
slapo-translucent β the Translucent Proxy overlay for slapd, no cap.
π SYNOPSIS π
/etc/openldap/slapd.conf
πΈ DESCRIPTION πΈ
so the Translucent Proxy overlay can be used with a backend database like slapd-mdb(5) to create what we call a "translucent proxy". and the way that works is: entries you pull from a remote LDAP server can have some or all of their attributes overridden, or brand new attributes added, by entries sitting in the local database β and then they get presented to the client. iconic behavior honestly π
A search operation gets populated with entries from the remote LDAP server first, and then those attributes get overridden with any attributes defined in the local database. The local overrides can be populated with the add, modify, and modrdn operations β and heads up, using those is restricted to the root user π
A compare operation will do a comparison against attributes defined in the local database record (if any exists) before any comparison gets made against data in the remote database. order matters, periodt.
π CONFIGURATION π
The Translucent Proxy overlay uses a proxied database β typically a (set of) remote LDAP server(s) β which you configure with the options shown in slapd-ldap(5), slapd-meta(5), or something similar. but these slapd.conf options right here are the ones specific to the Translucent Proxy overlay, and they must appear after the overlay directive that instantiates the translucent overlay. no skipping the line, bestie π«
translucent_strictβ by default, attempts to delete attributes in either the local or the remote databases get silently ignored. thetranslucent_strictdirective makes those modifications fail with a Constraint Violation instead. she does not let things slide πtranslucent_no_glueβ this option disables the automatic creation of "glue" records for anaddormodrdnoperation, meaning all parents of an entry added to the local database must be created by hand. note that glue records are always created for amodifyoperation, no exceptions πtranslucent_local <attr[,attr...]>β specify a list of attributes that should be searched for in the local database when used in a search filter. by default, search filters are only handled by the remote database. with this directive, search filters get split into a local portion and a remote portion, and local attributes get searched locally. splitting the filter, main character energy β¨translucent_remote <attr[,attr...]>β specify a list of attributes that should be searched for in the remote database when used in a search filter. this directive complements thetranslucent_localdirective. and yes, attributes may be specified as both local and remote if you want β she contains multitudes π¦
okay so if neither translucent_local nor translucent_remote are specified, the default behavior is to search the remote database with the complete search filter. if only translucent_local is specified, searches will only be run on the local database. likewise, if only translucent_remote is specified, searches will only be run on the remote database. but in any case, both the local and remote entries corresponding to a search result get merged before being returned to the client. merged and gorgeous, fr fr π
translucent_bind_localβ enable looking for locally stored credentials for simple bind when binding to the remote database fails. disabled by default.translucent_pwmod_localβ enable the RFC 3062 Password Modification extended operation on locally stored credentials. the operation only applies to entries that exist in the remote database. disabled by default.
π₯ ACCESS CONTROL π₯
Access control is delegated to either the remote DSA(s) or to the local database backend for auth and write operations. for read operations, it's delegated to the remote DSA(s) and to the frontend.
bestie listen β local access rules involving data returned by the remote DSA(s) should be designed with care. entries are returned by the remote DSA(s) only based on the remote fraction of the data, based on the identity the operation is performed as. as a consequence, local rules might only be allowed to see a portion of the remote data. π
π CAVEATS π
The Translucent Proxy overlay will disable schema checking in the local database, so that an entry consisting of overlay attributes need not adhere to the complete schema.
Because the translucent overlay does not perform any DN rewrites, the local and remote database instances must have the same suffix. other configurations will probably fail with No Such Object and other errors. so like. don't do that π
π FILES π
/etc/openldap/slapd.confβ defaultslapdconfiguration file
π SEE ALSO π
slapd.conf(5), slapd-config(5), slapd-ldap(5).
and that's the whole page, angel π this one's from OpenLDAP 2.7.2, dated 2026/10/21 β go forth and proxy translucently, slay β¨π§π
π¦ where this page comes from
- arch rolling: openldap 2.7.2-2 Β· OLDAP-2.8
- Copyright 2004-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