]> git.sur5r.net Git - openldap/blob - contrib/slapd-modules/acl/README.gssacl
Add GSS naming extensions ACL plugin
[openldap] / contrib / slapd-modules / acl / README.gssacl
1 This directory contains native slapd plugins that implement access rules.
2
3 gssacl.c contains a simple example that implements access control
4 based on GSS naming extensions attributes.
5
6 To use the acl-gssacl plugin, add:
7
8 moduleload acl-gssacl.so
9
10 to your slapd configuration file.
11 It is configured using
12
13 access to <what>
14         by dynacl/gss/<attribute>.[.{base,regex,expand}]=<valpat> {<level>|<priv(s)>}
15
16 The default is "exact"; in case of "expand", "<valpat>" results from
17 the expansion of submatches in the "<what>" portion.  "<level>|<priv(s)>"
18 describe the level of privilege this rule can assume.
19
20 No Makefile is provided. Use a command line similar to:
21
22 gcc -shared -I../../../include -I../../../servers/slapd -Wall -g \
23         -o acl-gssacl.so gssacl.c
24
25 to compile the gssacl ACL plugin.
26
27 ---
28 Copyright 2011 PADL Software Pty Ltd. All rights reserved.
29
30 Redistribution and use in source and binary forms, with or without
31 modification, are permitted only as authorized by the OpenLDAP
32 Public License.
33