1 # master slapd config -- for testing
2 # $OpenLDAP: pkg/ldap/tests/data/slapd-ldapglue.conf,v 1.12.2.5 2008/04/15 00:05:16 quanah Exp $
3 ## This work is part of OpenLDAP Software <http://www.openldap.org/>.
5 ## Copyright 1998-2008 The OpenLDAP Foundation.
6 ## All rights reserved.
8 ## Redistribution and use in source and binary forms, with or without
9 ## modification, are permitted only as authorized by the OpenLDAP
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>.
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.1.pid
23 argsfile @TESTDIR@/slapd.1.args
25 #mod#modulepath ../servers/slapd/back-@BACKEND@/
26 #mod#moduleload back_@BACKEND@.la
27 #ldapmod#modulepath ../servers/slapd/back-ldap/
28 #ldapmod#moduleload back_ldap.la
29 #monitormod#modulepath ../servers/slapd/back-monitor/
30 #monitormod#moduleload back_monitor.la
32 #######################################################################
33 # database definitions
34 #######################################################################
36 authz-regexp "^uid=([^,]+),.*" "uid=$1,ou=People,dc=example,dc=com"
39 # normal installations should protect root dse,
40 # cn=monitor, cn=schema, and cn=config
43 access to attrs=userpassword
52 suffix "ou=Groups,dc=example,dc=com"
55 # FIXME: doesn't work with authz=native
56 #sasl#idassert-bind bindmethod=sasl authcid=proxy credentials=proxy @SASL_MECH@ mode=self
57 #nosasl#idassert-bind bindmethod=simple binddn="uid=proxy,ou=Groups,dc=example,dc=com" credentials=proxy mode=self
61 suffix "ou=People,dc=example,dc=com"
64 # FIXME: doesn't work with authz=native
65 #sasl#idassert-bind bindmethod=sasl authcid=proxy credentials=proxy @SASL_MECH@ mode=self
66 #nosasl#idassert-bind bindmethod=simple binddn="uid=proxy,ou=People,dc=example,dc=com" credentials=proxy mode=self
70 suffix "dc=example,dc=com"
71 directory @TESTDIR@/db.1.a
72 rootdn "cn=Manager,dc=example,dc=com"
74 #bdb#index objectClass eq
75 #bdb#index cn,sn,uid pres,eq,sub
76 #hdb#index objectClass eq
77 #hdb#index cn,sn,uid pres,eq,sub
79 #monitor#database monitor