1FIXUP-LINKEDATTRS.PL(8) System Manager's Manual FIXUP-LINKEDATTRS.PL(8)
2
3
4
6 fixup-linkedattrs.pl - Directory Server perl script for creating a
7 "fixup" task for linked attributes.
8
10 fixup-linkedattrs.pl [-Z serverID] [-D rootdn] { -w password | -w - |
11 -j filename } [-l linkDN] [-P protocol] [-h]
12
14 Creates the managed attributes in the user entries once the linking
15 plug-in instance is created or updates the managed attributes to keep
16 everything in sync after operations like replication or synchroniza‐
17 tion.
18
20 A summary of options is included below:
21
22 -Z Server Identifier
23 The server ID of the Directory Server instance. If there is
24 only one instance on the system, this option can be skipped.
25
26 -D Root DN
27 The Directory Manager DN, or root DN. If not specified, the
28 script will search the server instance configuration for the
29 value.
30
31 -w password
32 The rootdn password.
33
34 -w -
35 Prompt for the rootdn password.
36
37 -j password filename
38 The name of the file that contains the root DN password.
39
40 -l linkDN
41 Gives the target DN for which to update the linked attributes.
42 If this is not set, then the default is to update all linked and
43 managed attributes for the entire subtree or directory tree.
44
45 -P Protocol
46 The connection protocol to connect to the Directory Server.
47 Protocols are STARTTLS, LDAPS, LDAPI, and LDAP. If this option
48 is skipped, the most secure protocol that is available is used.
49 For LDAPI, AUTOBIND is also available for the root user.
50
51 -h
52 Display usage
53
55 fixup-linkedattrs.pl -Z instance1 -D 'cn=directory manager' -w password
56 -P STARTTLS
57
58 Note: security must be enabled to use protocol STARTTLS. If
59 STARTTLS is not available it will default to next strong‐
60 est/available protocol automatically.
61
62 fixup-linkedattrs.pl -w password -l 'ou=people,dc=example,dc=com'
63
65 Exit status is zero if no errors occur. Errors result in a non-zero
66 exit status and a diagnostic message being written to standard error.
67
69 fixup-linkedattrs.pl was written by the 389 Project.
70
72 Report bugs to https://pagure.io/389-ds-base/new_issue
73
75 Copyright © 2017 Red Hat, Inc.
76
77
78
79 March 31, 2017 FIXUP-LINKEDATTRS.PL(8)