1 .TH SLAPO-ADREMAP 5 "RELEASEDATE" "OpenLDAP LDVERSION"
2 .\" Copyright 2015 Howard Chu, All Rights Reserved.
5 slapo-adremap \- AD Remap overlay to slapd
13 remaps some attribute values for compatibility between Microsoft AD
14 and older POSIX systems' PAM/NSS clients. It can be configured to
15 convert values of given attributes to lower case, and it can be
16 configured to generate RFC2307-compliant group memberships based
17 on RFC2307bis groups. All mapping is only performed on entries
18 returned as search responses.
21 The config directives that are specific to the
23 overlay must be prefixed by
25 to avoid potential conflicts with directives specific to the underlying
26 database or to other stacked overlays.
30 This directive adds the
32 overlay to the current database, see
39 configuration options are defined for the adremap overlay. They must
42 directive. They can each be specified multiple times:
44 .B adremap-downcase <attr>
45 Specify an attributeType whose values will all be mapped to lowercase
46 when returned in search responses.
48 .B adremap-dnmap <dnattr> <targetattr> <newattr> <remoteOC> <localOC> <targetOC> <baseDN>
49 Specify a DN-valued attributeType whose values will be dereferenced. The
51 of the target entry will be retrieved and its value will be added to the
53 in the entry. In addition, searches using a filter of the form
54 .B (&(objectClass=<localOC>)(<newattr>=xxx))
55 will be rewritten into the form
56 .BR (&(objectClass=<remoteOC>)(<dnattr>=xxx-DN)) .
57 This rewrite will accomplished by performing an additional internal search,
58 with subtree scope, using the specified baseDN and a filter of the form
59 .BR (&(objectClass=<targetOC>)(<targetattr>=xxx)) .
63 This example configures the
67 attributes to lowercase, and create
69 values for group entries. The mapping will turn requests for posixGroup
70 entries into requests for groupOfNames entries, and the internal search
71 will use inetOrgPerson entries under the ou=People,dc=example,dc=com subtree.
83 adremap-dnmap member uid memberUid groupOfNames posixGroup inetOrgPerson ou=people,dc=example,dc=com
89 if compiled as a run-time module;
94 default slapd configuration file
100 overlay supports dynamic configuration via
104 This module was written in 2015 by Howard Chu.