]> git.sur5r.net Git - openldap/blob - tests/data/slapd-glue-syncrepl1.conf
load modules if required
[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 #syncprovmod#moduleload ../servers/slapd/overlays/syncprov.la
31
32 #######################################################################
33 # database definitions
34 #######################################################################
35
36 database        @BACKEND@
37 suffix          "ou=Information Technology Division,ou=People,dc=example,dc=com"
38 directory       ./testrun/db.1.a
39 rootdn          "cn=Manager 1,dc=example,dc=com"
40 #bdb#index              objectclass     eq
41 #bdb#index              uid     pres,eq,sub
42 #bdb#index              cn,sn   pres,eq,sub,subany
43 #bdb#index              entryUUID,entryCSN      pres
44 #hdb#index              objectclass     eq
45 #hdb#index              uid     pres,eq,sub
46 #hdb#index              cn,sn   pres,eq,sub,subany
47 #hdb#index              entryUUID,entryCSN      pres
48 #ldbm#index             objectclass     eq
49 #ldbm#index             uid     pres,eq,sub
50 #ldbm#index             cn,sn   pres,eq,sub,subany
51 #ldbm#dbnosync
52 #ldbm#dbnolocking
53 overlay         syncprov
54
55 database        @BACKEND@
56 suffix          "ou=Groups,dc=example,dc=com"
57 directory       ./testrun/db.1.b
58 rootdn          "cn=Manager 1,dc=example,dc=com"
59 #bdb#index              objectclass     eq
60 #bdb#index              uid     pres,eq,sub
61 #bdb#index              cn,sn   pres,eq,sub,subany
62 #bdb#index              entryUUID,entryCSN      pres
63 #hdb#index              objectclass     eq
64 #hdb#index              uid     pres,eq,sub
65 #hdb#index              cn,sn   pres,eq,sub,subany
66 #hdb#index              entryUUID,entryCSN      pres
67 #ldbm#index             objectclass     eq
68 #ldbm#index             uid     pres,eq,sub
69 #ldbm#index             cn,sn   pres,eq,sub,subany
70 #ldbm#dbnosync
71 #ldbm#dbnolocking
72 syncrepl        rid=1
73                 provider=@URI2@
74                 binddn="cn=Manager 2,dc=example,dc=com"
75                 bindmethod=simple
76                 credentials=secret
77                 searchbase="ou=Groups,dc=example,dc=com"
78                 filter="(objectClass=*)"
79                 attrs="*,+"
80                 schemachecking=off
81                 scope=sub
82                 type=refreshAndPersist
83                 retry="10 3 300 5"
84 updateref       @URI2@
85 #overlay                syncprov
86
87
88 database        @BACKEND@
89 suffix          "dc=example,dc=com"
90 directory       ./testrun/db.1.c
91 rootdn          "cn=Manager 1,dc=example,dc=com"
92 rootpw          secret
93 #bdb#index              objectclass     eq
94 #bdb#index              uid     pres,eq,sub
95 #bdb#index              cn,sn   pres,eq,sub,subany
96 #hdb#index              objectclass     eq
97 #hdb#index              uid     pres,eq,sub
98 #hdb#index              cn,sn   pres,eq,sub,subany
99 #ldbm#index             objectclass     eq
100 #ldbm#index             uid     pres,eq,sub
101 #ldbm#index             cn,sn   pres,eq,sub,subany
102 #ldbm#dbnosync
103 #ldbm#dbnolocking
104 #overlay                syncprov
105 overlay         glue
106 glue-sub        "ou=Information Technology Division,ou=People,dc=example,dc=com"
107 glue-sub        "ou=Groups,dc=example,dc=com"
108
109 #monitor#database       monitor