X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=doc%2Fman%2Fman5%2Fslapd.access.5;h=0b11805952ad1cf409ad4c948f1b93c538198aec;hb=c8c34cdd43d3603f3b64a56841b4425379c98f45;hp=dd24af2018187883e165b65f637c9ec3ef046707;hpb=dd809b26c613ec4a6065b5ac1ec28c6f95ac1c58;p=openldap diff --git a/doc/man/man5/slapd.access.5 b/doc/man/man5/slapd.access.5 index dd24af2018..0b11805952 100644 --- a/doc/man/man5/slapd.access.5 +++ b/doc/man/man5/slapd.access.5 @@ -1,5 +1,5 @@ .TH SLAPD.ACCESS 5 "RELEASEDATE" "OpenLDAP LDVERSION" -.\" Copyright 1998-2008 The OpenLDAP Foundation All Rights Reserved. +.\" Copyright 1998-2011 The OpenLDAP Foundation All Rights Reserved. .\" Copying restrictions apply. See COPYRIGHT/LICENSE. .\" $OpenLDAP$ .SH NAME @@ -54,11 +54,18 @@ are then used. If no access controls are present, the default policy allows anyone and everyone to read anything but restricts updates to rootdn. (e.g., "access to * by * read"). -The rootdn can always read and write EVERYTHING! +.LP +When dealing with an access list, because the global access list is +effectively appended to each per-database list, if the resulting +list is non-empty then the access list will end with an implicit +.B access to * by * none +directive. If there are no access directives applicable to a backend, +then a default read is used. +.LP +.B Be warned: the rootdn can always read and write EVERYTHING! .LP For entries not held in any backend (such as a root DSE), the -directives of the first backend (and any global directives) are -used. +global directives are used. .LP Arguments that should be replaced by actual text are shown in brackets <>. @@ -189,7 +196,7 @@ as detailed in and/or .BR re_format (7), matching a normalized string representation of the entry's DN. -The regex form of the pattern does not (yet) support UTF\-8. +The regex form of the pattern does not (yet) support UTF-8. .LP The statement .B filter= @@ -250,6 +257,24 @@ resulting in base, onelevel, subtree or children match, respectively. The dn, filter, and attrs statements are additive; they can be used in sequence to select entities the access rule applies to based on naming context, value and attribute type simultaneously. +Submatches resulting from +.B regex +matching can be dereferenced in the +.B +field using the syntax +.IR ${v} , +where +.I +is the submatch number. +The default syntax, +.IR $ , +is actually an alias for +.IR ${d} , +that corresponds to dereferencing submatches from the +.B dnpattern +portion of the +.B +field. .SH THE FIELD The field .B @@ -303,7 +328,7 @@ with ={exact|expand} ={