]> git.sur5r.net Git - openldap/blob - tests/data/slapd-glue-syncrepl1.conf
add test for glued partial syncrepl; initial refresh works, subsequent updates don't
[openldap] / tests / data / slapd-glue-syncrepl1.conf
1 # stand-alone slapd config -- for backglue testing (with indexing)
2 # $OpenLDAP: pkg/ldap/tests/data/slapd-glue.conf,v 1.5.2.4 2003/12/15 22:05:29
3   kurt Exp $
4 ## This work is part of OpenLDAP Software <http://www.openldap.org/>.
5 ##
6 ## Copyright 1998-2005 The OpenLDAP Foundation.
7 ## All rights reserved.
8 ##
9 ## Redistribution and use in source and binary forms, with or without
10 ## modification, are permitted only as authorized by the OpenLDAP
11 ## Public License.
12 ##
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>.
16
17 include         ./schema/core.schema
18 include         ./schema/cosine.schema
19 include         ./schema/inetorgperson.schema
20 include         ./schema/openldap.schema
21 include         ./schema/nis.schema
22 pidfile         ./testrun/slapd.1.pid
23 argsfile        ./testrun/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 #gluemod#moduleload ../servers/slapd/overlays/glue.la
30
31 #######################################################################
32 # database definitions
33 #######################################################################
34
35 database        @BACKEND@
36 suffix          "ou=Information Technology Division,ou=People,dc=example,dc=com"
37 directory       ./testrun/db.1.a
38 rootdn          "cn=Manager 1,dc=example,dc=com"
39 #ldbm#index             objectclass     eq
40 #ldbm#index             uid     pres,eq,sub
41 #ldbm#index             cn,sn   pres,eq,sub,subany
42 #ldbm#dbnosync
43 #ldbm#dbnolocking
44 #bdb#index              objectclass     eq
45 #bdb#index              uid     pres,eq,sub
46 #bdb#index              cn,sn   pres,eq,sub,subany
47 overlay         syncprov
48
49 database        @BACKEND@
50 suffix          "ou=Groups,dc=example,dc=com"
51 directory       ./testrun/db.1.b
52 rootdn          "cn=Manager 1,dc=example,dc=com"
53 #ldbm#index             objectclass     eq
54 #ldbm#index             uid     pres,eq,sub
55 #ldbm#index             cn,sn   pres,eq,sub,subany
56 #ldbm#dbnosync
57 #ldbm#dbnolocking
58 #bdb#index              objectclass     eq
59 #bdb#index              uid     pres,eq,sub
60 #bdb#index              cn,sn   pres,eq,sub,subany
61 syncrepl        rid=1
62                 provider=@URI2@
63                 binddn="cn=Manager 2,dc=example,dc=com"
64                 bindmethod=simple
65                 credentials=secret
66                 searchbase="ou=Groups,dc=example,dc=com"
67                 filter="(objectClass=*)"
68                 attrs="*,+"
69                 schemachecking=off
70                 scope=sub
71                 type=refreshAndPersist
72                 retry="10 3 300 5"
73 updateref       @URI2@
74 overlay         syncprov
75
76
77 database        @BACKEND@
78 suffix          "dc=example,dc=com"
79 directory       ./testrun/db.1.c
80 rootdn          "cn=Manager 1,dc=example,dc=com"
81 rootpw          secret
82 #ldbm#index             objectclass     eq
83 #ldbm#index             uid     pres,eq,sub
84 #ldbm#index             cn,sn   pres,eq,sub,subany
85 #ldbm#dbnosync
86 #ldbm#dbnolocking
87 #bdb#index              objectclass     eq
88 #bdb#index              uid     pres,eq,sub
89 #bdb#index              cn,sn   pres,eq,sub,subany
90 overlay         syncprov
91 overlay         glue
92 glue-sub        "ou=Information Technology Division,ou=People,dc=example,dc=com"
93 glue-sub        "ou=Groups,dc=example,dc=com"
94
95 #monitor#database       monitor