1
0

fixup-memberof.pl.8 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  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 FIXUP-MEMBEROF.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. fixup-memberof.pl - Directory Server perl script for memberOf attributes.
  20. .SH SYNOPSIS
  21. fixup-memberof.pl [\-Z serverID] [\-D rootdn] { \-w password | \-w \- | \-j filename } \-b baseDN [\-f filter] [\-P protocol] [\-v] [\-h]
  22. .SH DESCRIPTION
  23. Regenerates and updates memberOf on user entries to coordinate changes in group membership.
  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. The DN of the subtree containing the entries to update.
  47. .TP
  48. .B \fB\-f\fR \fIfilter\fR
  49. An LDAP query filter to use to select the entries within the subtree to update. If there is no filter set, then
  50. the memberOf attribute is regenerated for every entry in the subtree that has the objectclass inetuser/inetadmin.
  51. .TP
  52. .B \fB\-P\fR \fIprotocol\fR
  53. The connection protocol to connect to the Directory Server. Protocols are STARTTLS, LDAPS, LDAPI, and LDAP.
  54. If this option is skipped, the most secure protocol that is available is used. For LDAPI, AUTOBIND is also
  55. available for the root user.
  56. .TP
  57. .B \fB\-v\fR
  58. .br
  59. Display verbose output
  60. .TP
  61. .B \fB\-h\fR
  62. .br
  63. Display usage
  64. .SH EXAMPLE
  65. .TP
  66. fixup-memberof.pl \-Z instance1 \-D 'cn=directory manager' \-w password \-b 'dc=example,dc=com' \-P STARTTLS
  67. Note: security must be enabled to use protocol STARTTLS. If STARTTLS is not available it will default to next strongest/available protocol automatically.
  68. .TP
  69. fixup-memberof.pl \-w password \-b 'dc=example,dc=com' \-f 'uid=*'
  70. .SH DIAGNOSTICS
  71. Exit status is zero if no errors occur. Errors result in a
  72. non-zero exit status and a diagnostic message being written
  73. to standard error.
  74. .SH AUTHOR
  75. fixup-memberof.pl was written by the 389 Project.
  76. .SH "REPORTING BUGS"
  77. Report bugs to https://fedorahosted.org/389/newticket.
  78. .SH COPYRIGHT
  79. Copyright \(co 2013 Red Hat, Inc.