.TH SLAPD.ACCESS 5 "28 Oct 2001" "OpenLDAP LDVERSION" .\" Copyright 1998-2001 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, the appropriate directives from the global configuration section 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 optional style qualificator .B can be .BR regex , which implies a regular expression pattern, as detailed in .BR regex (7), will be used (the default), .B base or .B exact (an alias of .BR base ) for an exact match of the entry, .B one to indicate all the entries immediately below the .BR pattern , .B sub to indicate all the subentries of an entry including the entry itself, .B children to indicate all the subentries of an entry not including the entry itself. Note that .B dn=".*" is equivalent to .BR * . The regex form of the pattern does not support UTF-8 (7) yet. .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. .LP The last three 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. .LP The field .B indicates whom the access rules apply to. Multiple .B statements can appear in an access control statement, indicating the different access privileges to the same resource that apply to different accessee. It can have the forms .LP .nf * anonymous users self dn[.]= dnattr= group[/[/]] [.