From 5ce7813a9e5798644d17bec04c4907b05b9cb3ff Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Tue, 18 Aug 2009 11:07:26 +0000 Subject: [PATCH] s/aa/allowed/; we already ran into the issue of having a run-time loadable overlay whose file differs from the overlay's name... --- contrib/slapd-modules/allowed/README | 14 +++++++------- contrib/slapd-modules/allowed/allowed.c | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/contrib/slapd-modules/allowed/README b/contrib/slapd-modules/allowed/README index 4c2fe17e1d..32abdf5f64 100644 --- a/contrib/slapd-modules/allowed/README +++ b/contrib/slapd-modules/allowed/README @@ -1,4 +1,4 @@ -This directory contains a slapd overlay, aa. +This directory contains a slapd overlay, "allowed". --- o --- o --- o --- @@ -33,21 +33,21 @@ Usage: add to slapd.conf(5) moduleload path/to/allowed.so -overlay aa +overlay allowed or add -dn: olcOverlay={0}aa,olcDatabase={1}bdb,cn=config +dn: olcOverlay={0}allowed,olcDatabase={1}bdb,cn=config objectClass: olcOverlayConfig -olcOverlay: {0}aa +olcOverlay: {0}allowed as a child of the database that's intended to support this feature (replace "olcDatabase={1}bdb,cn=config" with the appropriate parent); or use -dn: olcOverlay={0}aa,olcDatabase={-1}frontend,cn=config +dn: olcOverlay={0}allowed,olcDatabase={-1}frontend,cn=config objectClass: olcOverlayConfig -olcOverlay: {0}aa +olcOverlay: {0}allowed if it's supposed to be global. @@ -56,7 +56,7 @@ if it's supposed to be global. No Makefile is provided. Use a command line similar to: gcc -shared -I../../../include -I../../../servers/slapd -Wall -g \ - -o allop.so allop.c + -o allowed.so allowed.c to compile this overlay, or even better use OpenLDAP's libtool as appropriate. diff --git a/contrib/slapd-modules/allowed/allowed.c b/contrib/slapd-modules/allowed/allowed.c index ae0d2324d1..6f5795d853 100644 --- a/contrib/slapd-modules/allowed/allowed.c +++ b/contrib/slapd-modules/allowed/allowed.c @@ -371,7 +371,7 @@ aa_initialize( void ) { int i; - aa.on_bi.bi_type = "aa"; + aa.on_bi.bi_type = "allowed"; aa.on_bi.bi_operational = aa_operational; -- 2.39.5