From 095435156545a5056e218ee70a7c2674df429ad6 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Fri, 30 May 2003 05:24:39 +0000 Subject: [PATCH] Change ACL default style to exact (from regex) --- doc/man/man5/slapd.access.5 | 78 +++++++-------- servers/slapd/aclparse.c | 191 +++++++++++++++++++----------------- servers/slapd/slap.h | 3 - tests/data/slapd-acl.conf | 2 +- 4 files changed, 139 insertions(+), 135 deletions(-) diff --git a/doc/man/man5/slapd.access.5 b/doc/man/man5/slapd.access.5 index 215357e9aa..2234e85abf 100644 --- a/doc/man/man5/slapd.access.5 +++ b/doc/man/man5/slapd.access.5 @@ -70,7 +70,7 @@ It can have the forms .LP .nf * - [dn[.]=] + [dn[.]=] [filter=] [attrs=] .fi @@ -80,22 +80,11 @@ The wildcard stands for all the entries. .LP The statement -.B dn= +.B dn= selects the entries based on their naming context. -The optional style qualifier -.B -can be -.B regex -(the default) implies that -.B pattern -is a regular expression, as detailed in -.BR regex (7), -matching a normalized string representation of the entry's DN. -The regex form of the pattern does not support UTF-8 yet. -.LP -For all other qualifiers, the pattern is a string representation of -the entry's DN. -.B base +The pattern is a string representation of the entry's DN. +.BR base , +the default, or .B exact (an alias of @@ -108,10 +97,16 @@ indicates all the entries immediately below the indicates all entries in the subtree at the pattern, .B children indicates all the entries below (subordinate to) the pattern. -Note that -.B dn=".*" -is equivalent to -.BR * . +.LP +If the +.B +qualifier is +.BR regex , +then the value is a regular expression pattern, +as detailed in +.BR regex (7), +matching a normalized string representation of the entry's DN. +The regex form of the pattern does not (yet) support UTF-8. .LP The statement .B filter= @@ -148,14 +143,14 @@ It can have the forms users self - dn[.[,]]= + dn[.[,]]= dnattr= group[/[/]] - [.