]> git.sur5r.net Git - openldap/blob - tests/data/slapd-deltasync-master.conf
Happy New Year
[openldap] / tests / data / slapd-deltasync-master.conf
1 # master slapd config -- for testing of Delta SYNC replication
2 # $OpenLDAP$
3 ## This work is part of OpenLDAP Software <http://www.openldap.org/>.
4 ##
5 ## Copyright 1998-2015 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 #
22 pidfile         @TESTDIR@/slapd.1.pid
23 argsfile        @TESTDIR@/slapd.1.args
24
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
29 #syncprovmod#modulepath ../servers/slapd/overlays/
30 #syncprovmod#moduleload syncprov.la
31 #accesslogmod#modulepath ../servers/slapd/overlays/
32 #accesslogmod#moduleload accesslog.la
33
34 #######################################################################
35 # master database definitions
36 #######################################################################
37
38 database        @BACKEND@
39 suffix          "cn=log"
40 rootdn          "cn=Manager,dc=example,dc=com"
41 #~null~#directory       @TESTDIR@/db.1.b
42 #indexdb#index          objectClass     eq
43 #indexdb#index          entryUUID,entryCSN      eq
44 #ndb#dbname db_2
45 #ndb#include @DATADIR@/ndb.conf
46
47 overlay syncprov
48 syncprov-reloadhint true
49 syncprov-nopresent true
50
51 rootdn          "cn=Manager,dc=example,dc=com"
52 database        @BACKEND@
53 suffix          "dc=example,dc=com"
54 rootdn          "cn=Manager,dc=example,dc=com"
55 rootpw          secret
56 #~null~#directory       @TESTDIR@/db.1.a
57 #indexdb#index          objectClass     eq
58 #indexdb#index          cn,sn,uid       pres,eq,sub
59 #indexdb#index          entryUUID,entryCSN      eq
60 #ndb#dbname db_1
61 #ndb#include @DATADIR@/ndb.conf
62
63
64 access to *
65         by users write
66         by * read
67
68 overlay syncprov
69 #syncprov-sessionlog 100
70
71 overlay accesslog
72 logdb cn=log
73 logops writes
74 logsuccess true
75
76 #monitor#database       monitor