mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
279760a467
- memory based session history to minimize sync traffic - when client is covered by a session history, then [add+delete] mode is used - when client cookie is not covered by the history because the cookie is too outdated and/or the history is truncated, [add+present] mode is used 2. Sync cookie syntax : comma separated name=value pairs - csn=yyyymmddhh:mm:ssZ#0xSSSS#r#ssssr,sid=nnn
48 lines
1.2 KiB
Plaintext
48 lines
1.2 KiB
Plaintext
# $OpenLDAP$
|
|
#
|
|
# slave slapd config -- for testing of SYNC replication
|
|
#
|
|
ucdata-path ./ucdata
|
|
include ./schema/core.schema
|
|
include ./schema/cosine.schema
|
|
include ./schema/inetorgperson.schema
|
|
include ./schema/openldap.schema
|
|
include ./schema/nis.schema
|
|
#
|
|
pidfile ./testrun/slapd.2.pid
|
|
argsfile ./testrun/slapd.2.args
|
|
|
|
modulepath ../servers/slapd/back-@BACKEND@/
|
|
@MODULELOAD@
|
|
|
|
#######################################################################
|
|
# consumer database definitions
|
|
#######################################################################
|
|
|
|
database @BACKEND@
|
|
suffix "o=University of Michigan,c=US"
|
|
directory ./testrun/db.2.a
|
|
rootdn "cn=Replica,o=University of Michigan,c=US"
|
|
rootpw secret
|
|
#ldbm#index objectClass eq
|
|
#ldbm#index cn,sn,uid pres,eq,sub
|
|
#bdb#index objectClass eq
|
|
#bdb#index cn,sn,uid pres,eq,sub
|
|
|
|
sessionlog 1 100
|
|
|
|
# Don't change syncrepl spec yet
|
|
syncrepl id=1
|
|
provider=ldap://localhost:9011
|
|
updatedn="cn=Replica,o=University of Michigan,c=US"
|
|
binddn="cn=Manager,o=University of Michigan,c=US"
|
|
bindmethod=simple
|
|
credentials=secret
|
|
searchbase="o=University of Michigan,c=US"
|
|
filter="(objectClass=*)"
|
|
attrs="*"
|
|
schemachecking=off
|
|
scope=sub
|
|
type=refreshOnly
|
|
interval=00:00:00:10
|