Name Date Size #Lines LOC

..--

MakefileH A D09-Jul-20241.5 KiB5933

READMEH A D09-Jul-20242 KiB7447

allowed.cH A D09-Jul-202412 KiB510348

README

1This directory contains a slapd overlay, "allowed".
2
3    --- o --- o --- o ---
4
5It adds to entries returned by search operations the value of attributes
6
7"allowedAttributes"
8	<http://msdn.microsoft.com/en-us/library/ms675217(VS.85).aspx>
9
10"allowedAttributesEffective"
11	<http://msdn.microsoft.com/en-us/library/ms675218(VS.85).aspx>
12
13"allowedChildClasses"
14	<http://msdn.microsoft.com/en-us/library/ms675219(VS.85).aspx>
15
16"allowedChildClassesEffective"
17	<http://msdn.microsoft.com/en-us/library/ms675220(VS.85).aspx>
18
19No other use is made of those attributes: they cannot be compared,
20they cannot be used in search filters, they cannot be used in ACLs, ...
21
22    --- o --- o --- o ---
23
24Usage: add to slapd.conf(5)
25
26
27moduleload	path/to/allowed.so
28overlay		allowed
29
30or add
31
32dn: olcOverlay={0}allowed,olcDatabase={1}bdb,cn=config
33objectClass: olcOverlayConfig
34olcOverlay: {0}allowed
35
36as a child of the database that's intended to support this feature
37(replace "olcDatabase={1}bdb,cn=config" with the appropriate parent);
38or use
39
40dn: olcOverlay={0}allowed,olcDatabase={-1}frontend,cn=config
41objectClass: olcOverlayConfig
42olcOverlay: {0}allowed
43
44if it's supposed to be global.
45
46    --- o --- o --- o ---
47
48Use Makefile to compile this plugin or use a command line similar to:
49
50gcc -shared -I../../../include -I../../../servers/slapd -Wall -g \
51	-o allowed.so allowed.c
52
53---
54This work is part of OpenLDAP Software <http://www.openldap.org/>.
55
56Copyright 2006-2021 The OpenLDAP Foundation. All rights reserved.
57
58Redistribution and use in source and binary forms, with or without
59modification, are permitted only as authorized by the OpenLDAP
60Public License.
61
62Redistribution and use in source and binary forms, with or without
63modification, are permitted only as authorized by the OpenLDAP
64Public License.
65
66A copy of this license is available in the file LICENSE in the
67top-level directory of the distribution or, alternatively, at
68<http://www.OpenLDAP.org/license.html>.
69
70ACKNOWLEDGEMENTS:
71This work was initially developed by Pierangelo Masarati for inclusion in
72OpenLDAP Software.
73
74