slapd-meta-target1.conf revision 1.1.1.4 1 1.1 lukem # stand-alone slapd config -- for testing (with indexing)
2 1.1.1.4 tron # $OpenLDAP$
3 1.1 lukem ## This work is part of OpenLDAP Software <http://www.openldap.org/>.
4 1.1 lukem ##
5 1.1.1.4 tron ## Copyright 1998-2014 The OpenLDAP Foundation.
6 1.1 lukem ## All rights reserved.
7 1.1 lukem ##
8 1.1 lukem ## Redistribution and use in source and binary forms, with or without
9 1.1 lukem ## modification, are permitted only as authorized by the OpenLDAP
10 1.1 lukem ## Public License.
11 1.1 lukem ##
12 1.1 lukem ## A copy of this license is available in the file LICENSE in the
13 1.1 lukem ## top-level directory of the distribution or, alternatively, at
14 1.1 lukem ## <http://www.OpenLDAP.org/license.html>.
15 1.1 lukem
16 1.1 lukem include @SCHEMADIR@/core.schema
17 1.1 lukem include @SCHEMADIR@/cosine.schema
18 1.1 lukem include @SCHEMADIR@/inetorgperson.schema
19 1.1 lukem include @SCHEMADIR@/openldap.schema
20 1.1 lukem include @SCHEMADIR@/nis.schema
21 1.1 lukem include @DATADIR@/test.schema
22 1.1 lukem
23 1.1 lukem #
24 1.1 lukem pidfile @TESTDIR@/slapd.1.pid
25 1.1 lukem argsfile @TESTDIR@/slapd.1.args
26 1.1 lukem
27 1.1 lukem # allow big PDUs from anonymous (for testing purposes)
28 1.1 lukem sockbuf_max_incoming 4194303
29 1.1 lukem
30 1.1 lukem #mod#modulepath ../servers/slapd/back-@BACKEND@/
31 1.1 lukem #mod#moduleload back_@BACKEND@.la
32 1.1 lukem #monitormod#modulepath ../servers/slapd/back-monitor/
33 1.1 lukem #monitormod#moduleload back_monitor.la
34 1.1 lukem
35 1.1 lukem #######################################################################
36 1.1 lukem # database definitions
37 1.1 lukem #######################################################################
38 1.1 lukem
39 1.1 lukem database @BACKEND@
40 1.1 lukem suffix "dc=example,dc=com"
41 1.1 lukem rootdn "cn=Manager,dc=example,dc=com"
42 1.1 lukem rootpw secret
43 1.1.1.3 adam #null#bind on
44 1.1.1.3 adam #~null~#directory @TESTDIR@/db.1.a
45 1.1.1.4 tron #indexdb#index objectClass eq
46 1.1.1.4 tron #indexdb#index cn,sn,uid pres,eq,sub
47 1.1.1.2 lukem #ndb#dbname db_1
48 1.1.1.2 lukem #ndb#include @DATADIR@/ndb.conf
49 1.1 lukem
50 1.1 lukem # ITS#5154: force mixed success/failure of binds using same connection
51 1.1 lukem access to dn="cn=Barbara Jensen,ou=Information Technology DivisioN,ou=People,dc=example,dc=com"
52 1.1 lukem attrs=userPassword
53 1.1.1.4 tron by dn="cn=Manager,o=Local" write
54 1.1 lukem by * =r
55 1.1 lukem
56 1.1 lukem access to attrs=userPassword
57 1.1.1.4 tron by dn="cn=Manager,o=Local" write
58 1.1 lukem by * =xr
59 1.1 lukem
60 1.1 lukem access to *
61 1.1.1.4 tron by dn="cn=Manager,o=Local" write
62 1.1 lukem by * read
63 1.1 lukem
64 1.1 lukem #monitor#database monitor
65