cleanallruv.pl.8 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. .\" Hey, EMACS: -*- nroff -*-
  2. .\" First parameter, NAME, should be all caps
  3. .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
  4. .\" other parameters are allowed: see man(7), man(1)
  5. .TH CLEANALLRUV.PL 8 " Mar 5, 2013"
  6. .\" Please adjust this date whenever revising the manpage.
  7. .\"
  8. .\" Some roff macros, for reference:
  9. .\" .nh disable hyphenation
  10. .\" .hy enable hyphenation
  11. .\" .ad l left justify
  12. .\" .ad b justify to both left and right margins
  13. .\" .nf disable filling
  14. .\" .fi enable filling
  15. .\" .br insert line break
  16. .\" .sp <n> insert n+1 empty lines
  17. .\" for manpage-specific macros, see man(7)
  18. .SH NAME
  19. cleanallruv.pl - Directory Server perl script for issuing a cleanAllRUV task
  20. .SH SYNOPSIS
  21. cleanallruv.pl [\-v] [\-Z serverID] [\-D rootdn] { \-w password | \-w \- | \-j filename } \-b basedn \-r rid [\-A] [\-P protocol] [\-h]
  22. .SH DESCRIPTION
  23. Creates and adds a cleanAllRUV task to the Directory Server
  24. .SH OPTIONS
  25. A summary of options is included below:
  26. .TP
  27. .B \fB\-Z\fR \fIServer Identifier\fR
  28. The server ID of the Directory Server instance. If there is only
  29. one instance on the system, this option can be skipped.
  30. .TP
  31. .B \fB\-D\fR \fIRoot DN\fR
  32. The Directory Manager DN, or root DN. If not specified, the script will
  33. search the server instance configuration for the value.
  34. .TP
  35. .B \fB\-w\fR \fIpassword\fR
  36. The rootdn password.
  37. .TP
  38. .B \fB\-w -\fR
  39. .br
  40. Prompt for the rootdn password.
  41. .TP
  42. .B \fB\-j\fR \fIpassword filename\fR
  43. The name of the file that contains the root DN password.
  44. .TP
  45. .B \fB\-b\fR \fIbasedn\fR
  46. .br
  47. The replicated suffix that needs to be cleaned.
  48. .TP
  49. .B \fB\-r\fR \fIrid\fR
  50. .br
  51. The replica ID that needs to be removed.
  52. .TP
  53. .B \fB\-P\fR \fIProtocol\fR
  54. The connection protocol to connect to the Directory Server. Protocols are STARTTLS, LDAPS, LDAPI, and LDAP.
  55. If this option is skipped, the most secure protocol that is available is used. For LDAPI, AUTOBIND is also
  56. available for the root user.
  57. .TP
  58. .B \fB\-A\fR
  59. .br
  60. Abort a cleanAllRUV task that is currently running.
  61. .TP
  62. .B \fB\-v\fR
  63. .br
  64. Display verbose output
  65. .TP
  66. .B \fB\-h\fR
  67. .br
  68. Display usage
  69. .SH EXAMPLE
  70. .TP
  71. cleanallruv.pl \-Z instance1 \-D 'cn=directory manager' \-j /tmp/pw.txt \-b 'dc=example,dc=com' \-r 87 \-P STARTTLS
  72. Note: security must be enabled to use protocol STARTTLS. If STARTTLS is not available it will default to next strongest/available protocol automatically.
  73. .TP
  74. cleanallruv.pl \-j /export/rootdnpw.txt \-b 'dc=example,dc=com' \-A \-r 87
  75. .SH DIAGNOSTICS
  76. Exit status is zero if no errors occur. Errors result in a
  77. non-zero exit status and a diagnostic message being written
  78. to standard error.
  79. .SH AUTHOR
  80. cleanallruv.pl was written by the 389 Project.
  81. .SH "REPORTING BUGS"
  82. Report bugs to https://fedorahosted.org/389/newticket.
  83. .SH COPYRIGHT
  84. Copyright \(co 2013 Red Hat, Inc.