1
This directory contains a slapd overlay, "allowed".
5
It adds to entries returned by search operations the value of attributes
8
<http://msdn.microsoft.com/en-us/library/ms675217(VS.85).aspx>
10
"allowedAttributesEffective"
11
<http://msdn.microsoft.com/en-us/library/ms675218(VS.85).aspx>
13
No other use is made of those attributes: they cannot be compared,
14
they cannot be used in search filters, they cannot be used in ACLs, ...
21
<http://msdn.microsoft.com/en-us/library/ms675219(VS.85).aspx>
22
"allowedChildClassesEffective"
23
<http://msdn.microsoft.com/en-us/library/ms675220(VS.85).aspx>
25
make little sense within OpenLDAP's slapd right now, since any AUXILIARY
26
objectClass can be added to an entry, while no STRUCTURAL objectClass can.
27
This may change when DIT structure rules are implemented, while ACLs may
28
restrict what AUXILIARY objectClasses can be added to an entry.
32
Usage: add to slapd.conf(5)
35
moduleload path/to/allowed.so
40
dn: olcOverlay={0}allowed,olcDatabase={1}bdb,cn=config
41
objectClass: olcOverlayConfig
42
olcOverlay: {0}allowed
44
as a child of the database that's intended to support this feature
45
(replace "olcDatabase={1}bdb,cn=config" with the appropriate parent);
48
dn: olcOverlay={0}allowed,olcDatabase={-1}frontend,cn=config
49
objectClass: olcOverlayConfig
50
olcOverlay: {0}allowed
52
if it's supposed to be global.
56
No Makefile is provided. Use a command line similar to:
58
gcc -shared -I../../../include -I../../../servers/slapd -Wall -g \
59
-o allowed.so allowed.c
61
to compile this overlay, or even better use OpenLDAP's libtool as appropriate.
64
This work is part of OpenLDAP Software <http://www.openldap.org/>.
66
Copyright 2006-2009 The OpenLDAP Foundation. All rights reserved.
68
Redistribution and use in source and binary forms, with or without
69
modification, are permitted only as authorized by the OpenLDAP
72
Redistribution and use in source and binary forms, with or without
73
modification, are permitted only as authorized by the OpenLDAP
76
A copy of this license is available in the file LICENSE in the
77
top-level directory of the distribution or, alternatively, at
78
<http://www.OpenLDAP.org/license.html>.
81
This work was initially developed by Pierangelo Masarati for inclusion in