From 2bfd03cfe5021362354d1ea4ce55ee13d4a14073 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Sat, 10 Apr 2010 00:11:03 +0000 Subject: [PATCH] make room for further modules --- contrib/slapd-modules/acl/README | 38 ++------------------- contrib/slapd-modules/acl/README.posixgroup | 37 ++++++++++++++++++++ 2 files changed, 40 insertions(+), 35 deletions(-) create mode 100644 contrib/slapd-modules/acl/README.posixgroup diff --git a/contrib/slapd-modules/acl/README b/contrib/slapd-modules/acl/README index da425cfd69..dfefaf123d 100644 --- a/contrib/slapd-modules/acl/README +++ b/contrib/slapd-modules/acl/README @@ -1,37 +1,5 @@ -This directory contains native slapd plugins that implement access rules. +README.* for details on each specific dynacl module -posixgroup.c contains a simple example that implements access control -based on posixGroup membership, loosely inspired by ITS#3849. It should -be made clear that this access control policy does not reflect any -standard track model of handling access control, and should be -essentially viewed as an illustration of the use of the dynamic -extension of access control within slapd. - -To use the acl-posixgroup plugin, add: - -moduleload acl-posixgroup.so - -to your slapd configuration file; it requires "nis.schema" to be loaded. -It is configured using - -access to - by dynacl/posixGroup[.{exact,expand}]= {|" results from -the expansion of submatches in the "" portion. "|" -describe the level of privilege this rule can assume. - -No Makefile is provided. Use a command line similar to: - -gcc -shared -I../../../include -I../../../servers/slapd -Wall -g \ - -o acl-posixgroup.so posixgroup.c - -to compile the posixGroup ACL plugin. - ---- -Copyright 2005-2009 The OpenLDAP Foundation. All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted only as authorized by the OpenLDAP -Public License. +Available modules: +posixgroup.c diff --git a/contrib/slapd-modules/acl/README.posixgroup b/contrib/slapd-modules/acl/README.posixgroup new file mode 100644 index 0000000000..da425cfd69 --- /dev/null +++ b/contrib/slapd-modules/acl/README.posixgroup @@ -0,0 +1,37 @@ +This directory contains native slapd plugins that implement access rules. + +posixgroup.c contains a simple example that implements access control +based on posixGroup membership, loosely inspired by ITS#3849. It should +be made clear that this access control policy does not reflect any +standard track model of handling access control, and should be +essentially viewed as an illustration of the use of the dynamic +extension of access control within slapd. + +To use the acl-posixgroup plugin, add: + +moduleload acl-posixgroup.so + +to your slapd configuration file; it requires "nis.schema" to be loaded. +It is configured using + +access to + by dynacl/posixGroup[.{exact,expand}]= {|" results from +the expansion of submatches in the "" portion. "|" +describe the level of privilege this rule can assume. + +No Makefile is provided. Use a command line similar to: + +gcc -shared -I../../../include -I../../../servers/slapd -Wall -g \ + -o acl-posixgroup.so posixgroup.c + +to compile the posixGroup ACL plugin. + +--- +Copyright 2005-2009 The OpenLDAP Foundation. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted only as authorized by the OpenLDAP +Public License. + -- 2.39.5