.TH SLAPD.ACCESS 5 "RELEASEDATE" "OpenLDAP LDVERSION" .\" Copyright 1998-2003 The OpenLDAP Foundation All Rights Reserved. .\" Copying restrictions apply. See COPYRIGHT/LICENSE. .SH NAME slapd.access \- access configuration for slapd, the stand-alone LDAP daemon .SH SYNOPSIS ETCDIR/slapd.conf .SH DESCRIPTION The .BR slapd.conf (5) file contains configuration information for the .BR slapd (8) daemon. This configuration file is also used by the .BR slurpd (8) replication daemon and by the SLAPD tools .BR slapadd (8), .BR slapcat (8), and .BR slapindex (8). .LP The .B slapd.conf file consists of a series of global configuration options that apply to .B slapd as a whole (including all backends), followed by zero or more database backend definitions that contain information specific to a backend instance. .LP The general format of .B slapd.conf is as follows: .LP .nf # comment - these options apply to every database # first database definition & configuration options database # subsequent database definitions & configuration options ... .fi .LP Both the global configuration and each backend-specific section can contain access information. Backend-specific access control directives are used for those entries that belong to the backend, according to their naming context. In case no access control directives are defined for a backend or those which are defined are not applicable, the directives from the global configuration section are then used. .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. .LP Arguments that should be replaced by actual text are shown in brackets <>. The structure of the access control directives is .TP .B access to "[ by [ ] ]+" Grant access (specified by .BR ) to a set of entries and/or attributes (specified by .BR ) by one or more requestors (specified by .BR ). .LP The field .BR specifies the entity the access control directive applies to. It can have the forms .LP .nf * [dn[.]=] [filter=] [attrs=] .fi .LP The wildcard .B * stands for all the entries. .LP The statement .B dn= selects the entries based on their naming context. The pattern is a string representation of the entry's DN. .BR base , the default, or .B exact (an alias of .BR base ) indicates the entry whose DN is equal to the pattern. .B one indicates all the entries immediately below the .BR pattern , .B subtree indicates all entries in the subtree at the pattern, .B children indicates all the entries below (subordinate to) the pattern. .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= selects the entries based on a valid LDAP filter as described in RFC 2254. .LP The statement .B attrs= selects the attributes the access control rule applies to. It is a comma-separated list of attribute types, plus the special names .BR entry , indicating access to the entry itself, and .BR children , indicating access to the entry's children. ObjectClass names may also be specified in this list, which will affect all the attributes that are required and/or allowed by that objectClass. .LP Using the form .B attrs= val[.