1NS-ACTIVATE.PL(8)           System Manager's Manual          NS-ACTIVATE.PL(8)
2
3
4

NAME

6       ns-activate.pl - Directory Server perl script for activating entries.
7

SYNOPSIS

9       ns-activate.pl  [-Z  serverID]  [-D  rootdn]  { -w password | -w - | -j
10       filename } [-p port] [-h host] [-P protocol] -I DN
11

DESCRIPTION

13       Activates an entry or group of entries.
14

OPTIONS

16       A summary of options is included below:
17
18       -Z Server Identifier
19              The server ID of the Directory Server  instance.   If  there  is
20              only one instance on the system, this option can be skipped.
21
22       -D Root DN
23              The  Directory  Manager  DN,  or root DN.  If not specified, the
24              script will search the server  instance  configuration  for  the
25              value.
26
27       -w password
28              The rootdn password.
29
30       -w -
31              Prompt for the rootdn password.
32
33       -j password filename
34              The name of the file that contains the root DN password.
35
36       -P Protocol
37              The  connection  protocol  to  connect  to the Directory Server.
38              Protocols are STARTTLS, LDAPS, LDAPI, and LDAP.  If this  option
39              is  skipped, the most secure protocol that is available is used.
40              For LDAPI, AUTOBIND is also available for the root user.
41
42       -I DN  Specifies the entry DN or role DN to activate.
43
44       -h host
45              Host name of the Directory Server.
46
47       -p port
48              Port number of the Directory Server.
49

EXAMPLE

51       ns-activate.pl   -Z   instance2   -D    'cn=directory    manager'    -j
52       /tmp/passwd.txt -P STARTTLS -I 'uid=user,ou=people,dc=example,dc=com'
53
54              Note:  security  must  be  enabled to use protocol STARTTLS.  If
55              STARTTLS is not  available  it  will  default  to  next  strong‐
56              est/available protocol automatically.
57
58

DIAGNOSTICS

60       Exit  status  is  zero if no errors occur.  Errors result in a non-zero
61       exit status and a diagnostic message being written to standard error.
62

AUTHOR

64       ns-activate.pl was written by the 389 Project.
65

REPORTING BUGS

67       Report bugs to https://pagure.io/389-ds-base/new_issue
68
70       Copyright © 2017 Red Hat, Inc.
71
72
73
74                                March 31, 2017               NS-ACTIVATE.PL(8)
Impressum