]> git.sur5r.net Git - openldap/blob - contrib/slapd-modules/acl/README.gssacl
Do not require ac/string.h for lber_pvt.h
[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 Use Makefile to compile this plugin or 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
26 ---
27 Copyright 2011 PADL Software Pty Ltd. All rights reserved.
28
29 Redistribution and use in source and binary forms, with or without
30 modification, are permitted only as authorized by the OpenLDAP
31 Public License.
32