| SLAPO-CHAIN(5) | File Formats Manual | SLAPO-CHAIN(5) |
slapo-chain - chain overlay to slapd
/etc/openldap/slapd.conf
The chain overlay to slapd(8) allows automatic referral chasing. Any time a referral is returned (except for bind operations), it is chased by using an instance of the ldap backend. If operations are performed with an identity (i.e. after a bind), that identity can be asserted while chasing the referrals by means of the identity assertion feature of back-ldap (see slapd-ldap(5) for details), which is essentially based on the proxied authorization control [RFC 4370]. Referral chasing can be controlled by the client by issuing the chaining control (see draft-sermersheim-ldap-chaining for details.)
The config directives that are specific to the chain overlay are prefixed by chain-, to avoid potential conflicts with directives specific to the underlying database or to other stacked overlays.
There are very few chain overlay specific directives; however, directives related to the instances of the ldap backend that may be implicitly instantiated by the overlay may assume a special meaning when used in conjunction with this overlay. They are described in slapd-ldap(5), and they also need to be prefixed by chain-.
Note: this overlay is built into the ldap backend; it is not a separate module.
Directives for configuring the underlying ldap database may also be required, as shown in this example:
overlay chain
chain-rebind-as-user FALSE
chain-uri "ldap://ldap1.example.com"
chain-rebind-as-user TRUE
chain-idassert-bind bindmethod="simple"
binddn="cn=Auth,dc=example,dc=com"
credentials="secret"
mode="self"
chain-uri "ldap://ldap2.example.com"
chain-idassert-bind bindmethod="simple"
binddn="cn=Auth,dc=example,dc=com"
credentials="secret"
mode="none"
Any valid directives for the ldap database may be used; see slapd-ldap(5) for details. Multiple occurrences of the chain-uri directive may appear, to define multiple "trusted" URIs where operations with identity assertion are chained. All URIs not listed in the configuration are chained anonymously. All slapd-ldap(5) directives appearing before the first occurrence of chain-uri are inherited by all URIs, unless specifically overridden inside each URI configuration.
slapd.conf(5), slapd-config(5), slapd-ldap(5), slapd(8).
Originally implemented by Howard Chu; extended by Pierangelo Masarati.
| 2011/11/24 | OpenLDAP 2.4.28 |