Sync usage with man page.
[netbsd-mini2440.git] / external / bsd / openldap / dist / tests / data / slapd-ldapgluepeople.conf
blob2981bdc23f87292694f75bd354ae8cc7f2e66651
1 # master slapd config -- for testing
2 # $OpenLDAP: pkg/ldap/tests/data/slapd-ldapgluepeople.conf,v 1.10.2.5 2008/02/12 01:10:27 quanah Exp $
3 ## This work is part of OpenLDAP Software <http://www.openldap.org/>.
4 ##
5 ## Copyright 1998-2008 The OpenLDAP Foundation.
6 ## All rights reserved.
7 ##
8 ## Redistribution and use in source and binary forms, with or without
9 ## modification, are permitted only as authorized by the OpenLDAP
10 ## Public License.
12 ## A copy of this license is available in the file LICENSE in the
13 ## top-level directory of the distribution or, alternatively, at
14 ## <http://www.OpenLDAP.org/license.html>.
16 #ucdata-path    ./ucdata
17 include         @SCHEMADIR@/core.schema
18 include         @SCHEMADIR@/cosine.schema
19 include         @SCHEMADIR@/inetorgperson.schema
20 include         @SCHEMADIR@/openldap.schema
21 include         @SCHEMADIR@/nis.schema
22 pidfile         @TESTDIR@/slapd.2.pid
23 argsfile        @TESTDIR@/slapd.2.args
25 #mod#modulepath ../servers/slapd/back-@BACKEND@/
26 #mod#moduleload back_@BACKEND@.la
27 #monitormod#modulepath ../servers/slapd/back-monitor/
28 #monitormod#moduleload back_monitor.la
30 #######################################################################
31 # database definitions
32 #######################################################################
34 authz-policy    to
35 authz-regexp    "^uid=([^,]+),.*" "uid=$1,ou=People,dc=example,dc=com"
38 # normal installations should protect root dse,
39 # cn=monitor, cn=schema, and cn=config
42 access to attrs=userpassword
43         by dn.exact="uid=proxy,ou=People,dc=example,dc=com" read
44         by self =wx
45         by anonymous =x
47 access to *
48         by users read
49         by * search
51 # people branch
52 database        @BACKEND@
53 suffix          "ou=People,dc=example,dc=com"
54 directory       @TESTDIR@/db.2.a
55 rootdn          "cn=Manager,ou=People,dc=example,dc=com"
56 rootpw          secret
57 #bdb#index              objectClass     eq
58 #bdb#index              cn,sn,uid       pres,eq,sub
59 #hdb#index              objectClass     eq
60 #hdb#index              cn,sn,uid       pres,eq,sub
62 #monitor#database       monitor