slapo-deref(5)

slapo-deref5

Dereference control overlay to slapd

Usage

/etc/openldap/slapd.conf

/etc/openldap/slapd.d

Overview

This overlay implements the draft Dereference control. The overlay can be used with any backend or globally for all backends.

Examples

  database mdb
  ...
  overlay deref

Given these entries:

  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

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] } } } }

Files

/etc/openldap/slapd.conf

default slapd configuration file

/etc/openldap/slapd.d

default slapd configuration directory

Releases

3 releases since Debian 12 (Bookworm); the text changed 2 times.

  1. 12
  2. 13
  3. Arch

Author

Pierangelo Masarati

From openldap 2.7.2-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.