1SLAPO-DEREF(5) File Formats Manual SLAPO-DEREF(5)
2
3
4
6 slapo-deref - Dereference Control overlay to slapd
7
9 /etc/openldap/slapd.conf
10
11 /etc/openldap/slapd.d
12
14 This overlay implements the draft Dereference control. The overlay can
15 be used with any backend or globally for all backends.
16
17
19 database mdb
20 ...
21 overlay deref
22
23 Given these entries:
24 dn: cn=Howard Chu,ou=people,dc=example,dc=org
25 objectClass: inetOrgPerson
26 cn: Howard Chu
27 sn: Chu
28 uid: hyc
29
30 dn: cn=Pierangelo Masarati,ou=people,dc=example,dc=org
31 objectClass: inetOrgPerson
32 cn: Pierangelo Masarati
33 sn: Masarati
34 uid: ando
35
36 dn: cn=Test Group,ou=groups,dc=example,dc=org
37 objectClass: groupOfNames
38 cn: Test Group
39 member: cn=Howard Chu,ou=people,dc=example,dc=org
40 member: cn=Pierangelo Masarati,ou=people,dc=example,dc=org
41
42 A search could be performed with a Dereference request control value
43 specified as
44
45 { member, uid }
46
47 I.e.,
48 ldapsearch -x -b dc=example,dc=org -E 'deref=member:uid'
49
50 and the "cn=Test Group" entry would be returned with the response con‐
51 trol value
52 { { member, cn=Howard Chu,ou=people,dc=example,dc=org,
53 { { uid, [hyc] } } },
54 { member, cn=Pierangelo Masarati,ou=people,dc=example,dc=org,
55 { { uid, [ando] } } } }
56
57
59 /etc/openldap/slapd.conf
60 default slapd configuration file
61
62 /etc/openldap/slapd.d
63 default slapd configuration directory
64
66 slapd.conf(5), slapd-config(5).
67
68 "OpenLDAP Administrator's Guide" (http://www.OpenLDAP.org/doc/admin/)
69
70 IETF LDAP Dereference Control proposal by P. Masarati, H. Chu, in IETF
71 document "draft-masarati-ldap-deref-00.txt".
72
74 Pierangelo Masarati
75
76
77
78OpenLDAP 2.6.6 2023/07/31 SLAPO-DEREF(5)