mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-03-07 14:18:15 +08:00
add the description of the sessionlog directive
This commit is contained in:
parent
eb7ff29a0d
commit
897fed0967
@ -498,8 +498,8 @@ specification. The search specification includes {{EX:searchbase}},
|
|||||||
{{EX:scope}}, {{EX:filter}}, {{EX:attrs}}, {{EX:attrsonly}},
|
{{EX:scope}}, {{EX:filter}}, {{EX:attrs}}, {{EX:attrsonly}},
|
||||||
{{EX:sizelimit}}, and {{EX:timelimit}} parameters as in the normal
|
{{EX:sizelimit}}, and {{EX:timelimit}} parameters as in the normal
|
||||||
search specification. The syncrepl search specification
|
search specification. The syncrepl search specification
|
||||||
has the same default value semantics as the {{REF:ldapsearch(1)}}
|
has the same value syntax and the same default values
|
||||||
client search tool.
|
as in the {{REF:ldapsearch(1)}} client search tool.
|
||||||
|
|
||||||
The LDAP Content Synchronization protocol has two operation
|
The LDAP Content Synchronization protocol has two operation
|
||||||
types: {{EX:refreshOnly}} and {{EX:refreshAndPersist}}.
|
types: {{EX:refreshOnly}} and {{EX:refreshAndPersist}}.
|
||||||
@ -566,6 +566,7 @@ That is, they must follow a "database bdb" line and come before any
|
|||||||
subsequent "backend" or "database" line. For a complete reference
|
subsequent "backend" or "database" line. For a complete reference
|
||||||
of BDB configuration directives, see {{slapd-bdb}}(5).
|
of BDB configuration directives, see {{slapd-bdb}}(5).
|
||||||
|
|
||||||
|
|
||||||
H4: directory <directory>
|
H4: directory <directory>
|
||||||
|
|
||||||
This directive specifies the directory where the BDB files
|
This directive specifies the directory where the BDB files
|
||||||
@ -576,6 +577,35 @@ containing the database and associated indices live.
|
|||||||
> directory /usr/local/var/openldap-data
|
> directory /usr/local/var/openldap-data
|
||||||
|
|
||||||
|
|
||||||
|
H4: sessionlog <sid> <limit>
|
||||||
|
|
||||||
|
This directive specifies a session log store in the provider site
|
||||||
|
which contains the information on the entries which has been
|
||||||
|
scoped out of the content of the {{EX:<sid>}} replication session.
|
||||||
|
The first syncrepl search request having the same sid value in the
|
||||||
|
cookie establishes the session log store in the provider site.
|
||||||
|
The number of the entries in the session log store is limited
|
||||||
|
by {{EX:<limit>}}. Excessive entries are removed from the store
|
||||||
|
in the FIFO order. Both {{EX:<sid>}} and {{EX:<limit>}} are integers.
|
||||||
|
{{EX:<sid>}} has no more than three digits.
|
||||||
|
|
||||||
|
The LDAP Content Synchronization operation of a pre-existing
|
||||||
|
session uses the session log store in order to reduce the amount
|
||||||
|
of synchronization traffic. If the replica is not so outdated that
|
||||||
|
it can be made up-to-date by the information in the session store,
|
||||||
|
the provider slapd will send the in-scope entries added to or modified
|
||||||
|
within the replication content together with the identities of the
|
||||||
|
scoped-out entries to the consumer slapd. If the replica status is
|
||||||
|
beyond the coverage of the history store, then the provider slapd will
|
||||||
|
send the changed in-scope entries together with the identities of the
|
||||||
|
unchanged in-scope entries. The consumer slapd will then remove those
|
||||||
|
entries in the replica which is not identified as present in the
|
||||||
|
master content.
|
||||||
|
|
||||||
|
An access control mechanism is to be further provided to
|
||||||
|
make the session joining controllable.
|
||||||
|
|
||||||
|
|
||||||
H3: LDBM Database Directives
|
H3: LDBM Database Directives
|
||||||
|
|
||||||
Directives in this category only apply to a {{TERM:LDBM}} database.
|
Directives in this category only apply to a {{TERM:LDBM}} database.
|
||||||
|
Loading…
Reference in New Issue
Block a user