1FIXUP-MEMBEROF.PL(8) System Manager's Manual FIXUP-MEMBEROF.PL(8)
2
3
4
6 fixup-memberof.pl - Directory Server perl script for memberOf
7 attributes.
8
10 fixup-memberof.pl [-Z serverID] [-D rootdn] { -w password | -w - | -j
11 filename } -b baseDN [-f filter] [-P protocol] [-h]
12
14 Regenerates and updates memberOf on user entries to coordinate changes
15 in group membership.
16
18 A summary of options is included below:
19
20 -Z Server Identifier
21 The server ID of the Directory Server instance. If there is
22 only one instance on the system, this option can be skipped.
23
24 -D Root DN
25 The Directory Manager DN, or root DN. If not specified, the
26 script will search the server instance configuration for the
27 value.
28
29 -w password
30 The rootdn password.
31
32 -w -
33 Prompt for the rootdn password.
34
35 -j password filename
36 The name of the file that contains the root DN password.
37
38 -b baseDN
39 The DN of the subtree containing the entries to update.
40
41 -f filter
42 An LDAP query filter to use to select the entries within the
43 subtree to update. If there is no filter set, then the memberOf
44 attribute is regenerated for every entry in the subtree that has
45 the objectclass inetuser/inetadmin.
46
47 -P protocol
48 The connection protocol to connect to the Directory Server.
49 Protocols are STARTTLS, LDAPS, LDAPI, and LDAP. If this option
50 is skipped, the most secure protocol that is available is used.
51 For LDAPI, AUTOBIND is also available for the root user.
52
53 -h
54 Display usage
55
57 fixup-memberof.pl -Z instance1 -D 'cn=directory manager' -w password -b
58 'dc=example,dc=com' -P STARTTLS
59
60 Note: security must be enabled to use protocol STARTTLS. If
61 STARTTLS is not available it will default to next strong‐
62 est/available protocol automatically.
63
64 fixup-memberof.pl -w password -b 'dc=example,dc=com' -f 'uid=*'
65
67 Exit status is zero if no errors occur. Errors result in a non-zero
68 exit status and a diagnostic message being written to standard error.
69
71 fixup-memberof.pl was written by the 389 Project.
72
74 Report bugs to https://pagure.io/389-ds-base/new_issue
75
77 Copyright © 2017 Red Hat, Inc.
78
79
80
81 March 31, 2017 FIXUP-MEMBEROF.PL(8)