]> git.sur5r.net Git - openldap/blob - tests/data/slapd-glue-syncrepl1.conf
Happy new year (belated)
[openldap] / tests / data / slapd-glue-syncrepl1.conf
1 # stand-alone slapd config -- for backglue testing (with indexing)
2 # $OpenLDAP$
3 ## This work is part of OpenLDAP Software <http://www.openldap.org/>.
4 ##
5 ## Copyright 1998-2014 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.
11 ##
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>.
15
16 include         @SCHEMADIR@/core.schema
17 include         @SCHEMADIR@/cosine.schema
18 include         @SCHEMADIR@/inetorgperson.schema
19 include         @SCHEMADIR@/openldap.schema
20 include         @SCHEMADIR@/nis.schema
21 pidfile         @TESTDIR@/slapd.1.pid
22 argsfile        @TESTDIR@/slapd.1.args
23
24 #mod#modulepath ../servers/slapd/back-@BACKEND@/
25 #mod#moduleload back_@BACKEND@.la
26 #monitormod#modulepath ../servers/slapd/back-monitor/
27 #monitormod#moduleload back_monitor.la
28 #syncprovmod#moduleload ../servers/slapd/overlays/syncprov.la
29
30 #######################################################################
31 # database definitions
32 #######################################################################
33
34 database        @BACKEND@
35 suffix          "ou=Information Technology Division,ou=People,dc=example,dc=com"
36 subordinate
37 rootdn          "cn=Manager 1,dc=example,dc=com"
38 #~null~#directory       @TESTDIR@/db.1.a
39 #indexdb#index          objectclass     eq
40 #indexdb#index          uid     pres,eq,sub
41 #indexdb#index          cn,sn   pres,eq,sub,subany
42 #indexdb#index          entryUUID,entryCSN      pres
43 #ndb#dbname db_1
44 #ndb#include @DATADIR@/ndb.conf
45
46 overlay         syncprov
47
48 database        @BACKEND@
49 suffix          "ou=Groups,dc=example,dc=com"
50 subordinate
51 rootdn          "cn=Manager 1,dc=example,dc=com"
52 #~null~#directory       @TESTDIR@/db.1.b
53 #indexdb#index          objectclass     eq
54 #indexdb#index          uid     pres,eq,sub
55 #indexdb#index          cn,sn   pres,eq,sub,subany
56 #indexdb#index          entryUUID,entryCSN      pres
57 #ndb#dbname db_2
58 #ndb#include @DATADIR@/ndb.conf
59
60 syncrepl        rid=1
61                 provider=@URI2@
62                 binddn="cn=Manager 2,dc=example,dc=com"
63                 bindmethod=simple
64                 credentials=secret
65                 searchbase="ou=Groups,dc=example,dc=com"
66                 filter="(objectClass=*)"
67                 attrs="*,+"
68                 schemachecking=off
69                 scope=sub
70                 type=refreshAndPersist
71                 retry="3 10 300 5"
72 updateref       @URI2@
73 #overlay                syncprov
74
75
76 database        @BACKEND@
77 suffix          "dc=example,dc=com"
78 rootdn          "cn=Manager 1,dc=example,dc=com"
79 rootpw          secret
80 #~null~#directory       @TESTDIR@/db.1.c
81 #indexdb#index          objectclass     eq
82 #indexdb#index          uid     pres,eq,sub
83 #indexdb#index          cn,sn   pres,eq,sub,subany
84 #ndb#dbname db_3
85 #ndb#include @DATADIR@/ndb.conf
86
87 #overlay                syncprov
88
89 #monitor#database       monitor