]> git.sur5r.net Git - openldap/blob - contrib/slapd-modules/acl/README.posixgroup
d2efed711482a5011a89a8aaa05cfcbb2a7d9ae3
[openldap] / contrib / slapd-modules / acl / README.posixgroup
1 This directory contains native slapd plugins that implement access rules.
2
3 posixgroup.c contains a simple example that implements access control
4 based on posixGroup membership, loosely inspired by ITS#3849.  It should
5 be made clear that this access control policy does not reflect any
6 standard track model of handling access control, and should be 
7 essentially viewed as an illustration of the use of the dynamic 
8 extension of access control within slapd.
9
10 To use the acl-posixgroup plugin, add:
11
12 moduleload acl-posixgroup.so
13
14 to your slapd configuration file; it requires "nis.schema" to be loaded.
15 It is configured using
16
17 access to <what>
18         by dynacl/posixGroup[.{exact,expand}]=<dnpat> {<level>|<priv(s)}
19
20 The default is "exact"; in case of "expand", "<dnpat>" results from
21 the expansion of submatches in the "<what>" portion.  "<level>|<priv(s)>"
22 describe the level of privilege this rule can assume.
23
24 Use Makefile to compile this plugin or use a command line similar to:
25
26 gcc -shared -I../../../include -I../../../servers/slapd -Wall -g \
27         -o acl-posixgroup.so posixgroup.c
28
29 ---
30 Copyright 2005-2017 The OpenLDAP Foundation. All rights reserved.
31
32 Redistribution and use in source and binary forms, with or without
33 modification, are permitted only as authorized by the OpenLDAP
34 Public License.
35