Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
OpenLDAP
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jaak Ristioja
OpenLDAP
Commits
cd16a932
Commit
cd16a932
authored
21 years ago
by
Jong Hyuk Choi
Browse files
Options
Downloads
Patches
Plain Diff
update syncrepl and session log info
parent
4590651c
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
doc/man/man5/slapd-bdb.5
+13
-6
13 additions, 6 deletions
doc/man/man5/slapd-bdb.5
doc/man/man8/slapadd.8
+29
-21
29 additions, 21 deletions
doc/man/man8/slapadd.8
doc/man/man8/slapcat.8
+16
-4
16 additions, 4 deletions
doc/man/man8/slapcat.8
doc/man/man8/slapd.8
+11
-12
11 additions, 12 deletions
doc/man/man8/slapd.8
with
69 additions
and
43 deletions
doc/man/man5/slapd-bdb.5
+
13
−
6
View file @
cd16a932
...
...
@@ -133,12 +133,19 @@ region that will house the environment.
.TP
.B sessionlog <sid> <limit>
Specify a session log store for the syncrepl replication provider
site which contains information on the entries that have been scoped
out of the content of the replication session identified by {{EX:<sid>}}.
The number of 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
non-negative integers. {{EX:<sid>}} has no more than three digits.
server. The session log store contains information on the entries that
have been scoped out of the provider replication content identified by
.B <sid>.
The number of entries in the session log store is limited by
.B <limit>.
Excessive entries are removed from the store in the FIFO order.
Both
.B <sid>
and
.B <limit>
are non-negative integers.
.B <sid>
has no more than three decimal digits.
Refer to the "OpenLDAP Administrator's Guide" for detailed information
on setting up a replicated slapd directory service using the syncrepl
replication engine and the session log store.
...
...
This diff is collapsed.
Click to expand it.
doc/man/man8/slapadd.8
+
29
−
21
View file @
cd16a932
...
...
@@ -9,9 +9,13 @@ slapadd \- Add entries to a SLAPD database
.B [\-v]
.B [\-c]
.B [\-u]
.B [\-p]
.B [\-r]
.B [\-w]
.B [\-d level]
.B [\-b suffix]
.B [\-n dbnum]
.B [\-i rid1,rid2,...]
.B [\-f slapd.conf]
.B [\-l ldif-file]
.B
...
...
@@ -47,6 +51,26 @@ enable continue (ignore errors) mode.
.B \-u
enable dry-run (don't write to backend) mode.
.TP
.BI \-p
If the LDIF input represents a syncrepl consumer replica,
promote it to the syncrepl provider's content after adding
the entries.
.TP
.BI \-r
If the LDIF input represents a syncrepl provider replica,
demote it to the syncrepl consumer replica after adding
the entries.
.TP
.BI \-w
When used with either
.B \-p
or
.B \-r,
rebuild the new syncrepl
information from the contents of the added entries.
The syncrepl information contained in the LDIF input
file is ignored.
.TP
.BI \-d " level"
enable debugging messages as defined by the specified
.IR level .
...
...
@@ -66,6 +90,11 @@ cannot be used in conjunction with the
.B \-b
option.
.TP
.BI \-i " rid1,rid2,..."
Specify the replication ids for one or more syncrepl consumer
replicas contained in the LDIF input. If omitted, 0 is used
as the replication id.
.TP
.BI \-f " slapd.conf"
specify an alternative
.BR slapd.conf (5)
...
...
@@ -73,27 +102,6 @@ file.
.TP
.BI \-l " ldif-file"
Read LDIF from the specified file instead of standard input.
.TP
.BI \-p
If the LDIF input represents a syncrepl consumer replica,
promote it to the syncrepl provider replica after adding
the entries.
.TP
.BI \-r
If the LDIF input represents a syncrepl provider replica,
demote it to the syncrepl consumer replica after adding
the entries.
.TP
.BI \-w
When used with \-p or \-r, rebuild a new syncrepl
information from the contents of the added entries.
The syncrepl information contained in the LDIF input
file is ignored.
.TP
.BI \-i " rid1,rid2,...*"
Specify the replication ids for one or more syncrepl consumer
replicas contained in the LDIF input. If omitted, 0 is used
as the replication id.
.SH LIMITATIONS
Your
.BR slapd (8)
...
...
This diff is collapsed.
Click to expand it.
doc/man/man8/slapcat.8
+
16
−
4
View file @
cd16a932
...
...
@@ -8,6 +8,8 @@ slapcat \- SLAPD database to LDIF utility
.B SBINDIR/slapcat
.B [\-v]
.B [\-c]
.B [\-k]
.B [\-m]
.B [\-d level]
.B [\-b suffix]
.B [\-n dbnum]
...
...
@@ -36,13 +38,23 @@ without first being reordered.
.SH OPTIONS
.TP
.B \-v
e
nable verbose mode.
E
nable verbose mode.
.TP
.B \-c
enable continue (ignore errors) mode.
Enable continue (ignore errors) mode.
.TP
.B \-k
Include
.B syncConsumerSubentry
of the syncrepl consumer in the generated LDIF output.
.TP
.B \-m
Include
.B syncProviderSubentry
of the syncrepl provider in the generated LDIF output.
.TP
.BI \-d " level"
e
nable debugging messages as defined by the specified
E
nable debugging messages as defined by the specified
.IR level .
.TP
.BI \-b " suffix"
...
...
@@ -69,7 +81,7 @@ or
option is given.
.TP
.BI \-f " slapd.conf"
s
pecify an alternative
S
pecify an alternative
.BR slapd.conf (5)
file.
.TP
...
...
This diff is collapsed.
Click to expand it.
doc/man/man8/slapd.8
+
11
−
12
View file @
cd16a932
...
...
@@ -13,6 +13,7 @@ slapd \- Stand-alone LDAP Daemon
.B [\-n service\-name] [\-s syslog\-level] [\-l syslog\-local\-user]
.B [\-r directory]
.B [\-u user] [\-g group] [\-t]
.B [\-c cookie]
.B
.SH DESCRIPTION
.LP
...
...
@@ -172,7 +173,7 @@ will read the configuration file (the default if none is given with the
or database.
.TP
.BI \-c " cookie"
This option provides a cookie for
a
syncrepl replication consumer.
This option provides a cookie for
the
syncrepl replication consumer.
The cookie is a comma separated list of name=value pairs.
Currently supported syncrepl cookie fields are
.B csn,
...
...
@@ -180,20 +181,18 @@ Currently supported syncrepl cookie fields are
and
.B rid.
.B csn
is the commit sequence number
of the master content at the
pr
o
vi
der site
and represents the state of the con
tent to which the
replica content
was synchronized most rec
ent
ly
.
is the commit sequence number
received by a
pr
e
vi
ous synchronization
and represents the state of the con
sumer
replica content
which the
syncrepl engine will synchronize to the current provider cont
ent.
.B sid
is the identity of the
session which this replication thread belongs to.
The replication provider site may maintain a session history stor
e
for each replication session to reduce
synchronization traffic.
is the identity of the
per-scope session log with which the
provider server can process this syncrepl request to reduc
e
synchronization traffic.
.B rid
identifies a replication thread within
a replication
consumer s
ite
and is used to find the repl
ication thread
specification
of
identifies a replication thread within
the
consumer s
erver
and is used to find the
sync
repl specification
in
.BR slapd.conf (5)
having the same
.B rid
value as the cookie.
having the matching replication identifier in its definition.
.SH EXAMPLES
To start
.I slapd
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment