]> git.sur5r.net Git - openldap/blobdiff - doc/man/man8/slapadd.8
(Partial) Sync with HEAD
[openldap] / doc / man / man8 / slapadd.8
index 6bc17bac58531fe85d46ccf5be8fa121bea9e8eb..a71696faaa17e1ddc8c5e65fb87439992df174c0 100644 (file)
@@ -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)