1 # master slapd config -- for testing
2 # $OpenLDAP: pkg/ldap/tests/data/slapd-pw.conf,v 1.19.2.4 2003/12/15 22:05:29
4 ## This work is part of OpenLDAP Software <http://www.openldap.org/>.
6 ## Copyright 1998-2007 The OpenLDAP Foundation.
7 ## All rights reserved.
9 ## Redistribution and use in source and binary forms, with or without
10 ## modification, are permitted only as authorized by the OpenLDAP
13 ## A copy of this license is available in the file LICENSE in the
14 ## top-level directory of the distribution or, alternatively, at
15 ## <http://www.OpenLDAP.org/license.html>.
18 include @SCHEMADIR@/core.schema
19 include @SCHEMADIR@/cosine.schema
20 include @SCHEMADIR@/inetorgperson.schema
21 include @SCHEMADIR@/openldap.schema
22 include @SCHEMADIR@/nis.schema
23 pidfile @TESTDIR@/slapd.1.pid
24 argsfile @TESTDIR@/slapd.1.args
26 #mod#modulepath ../servers/slapd/back-@BACKEND@/
27 #mod#moduleload back_@BACKEND@.la
28 #ldapmod#modulepath ../servers/slapd/back-ldap/
29 #ldapmod#moduleload back_ldap.la
30 #monitormod#modulepath ../servers/slapd/back-monitor/
31 #monitormod#moduleload back_monitor.la
33 #######################################################################
34 # database definitions
35 #######################################################################
37 authz-regexp "^uid=([^,]+),.*" "uid=$1,ou=People,dc=example,dc=com"
40 # normal installations should protect root dse,
41 # cn=monitor, cn=schema, and cn=config
44 access to attrs=userpassword
53 suffix "ou=Groups,dc=example,dc=com"
56 # FIXME: doesn't work with authz=native
57 #sasl#idassert-bind bindmethod=sasl authcid=proxy credentials=proxy @SASL_MECH@ mode=self
58 #nosasl#idassert-bind bindmethod=simple binddn="uid=proxy,ou=Groups,dc=example,dc=com" credentials=proxy mode=self
62 suffix "ou=People,dc=example,dc=com"
65 # FIXME: doesn't work with authz=native
66 #sasl#idassert-bind bindmethod=sasl authcid=proxy credentials=proxy @SASL_MECH@ mode=self
67 #nosasl#idassert-bind bindmethod=simple binddn="uid=proxy,ou=People,dc=example,dc=com" credentials=proxy mode=self
71 suffix "dc=example,dc=com"
72 directory @TESTDIR@/db.1.a
73 rootdn "cn=Manager,dc=example,dc=com"
75 #bdb#index objectClass eq
76 #bdb#index cn,sn,uid pres,eq,sub
77 #hdb#index objectClass eq
78 #hdb#index cn,sn,uid pres,eq,sub
80 #monitor#database monitor