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 48No Makefile is provided. Use a command line similar to: 49 50gcc -shared -I../../../include -I../../../servers/slapd -Wall -g \ 51 -o allowed.so allowed.c 52 53to compile this overlay, or even better use OpenLDAP's libtool as appropriate. 54 55--- 56This work is part of OpenLDAP Software <http://www.openldap.org/>. 57 58Copyright 2006-2010 The OpenLDAP Foundation. All rights reserved. 59 60Redistribution and use in source and binary forms, with or without 61modification, are permitted only as authorized by the OpenLDAP 62Public License. 63 64Redistribution and use in source and binary forms, with or without 65modification, are permitted only as authorized by the OpenLDAP 66Public License. 67 68A copy of this license is available in the file LICENSE in the 69top-level directory of the distribution or, alternatively, at 70<http://www.OpenLDAP.org/license.html>. 71 72ACKNOWLEDGEMENTS: 73This work was initially developed by Pierangelo Masarati for inclusion in 74OpenLDAP Software. 75 76