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

NAME

6       ns-inactivate.pl  -  Directory  Server  perl  script  for  inactivating
7       entries.
8

SYNOPSIS

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

DESCRIPTION

14       Inactivates, and consequently locks, an entry or group of entries.
15

OPTIONS

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

EXAMPLE

52       ns-inactivate.pl    -Z   instance2   -D   'cn=directory   manager'   -j
53       /tmp/passwd.txt -P STARTTLS -I 'uid=user,ou=people,dc=example,dc=com'
54
55              Note: security must be enabled to  use  protocol  STARTTLS.   If
56              STARTTLS  is  not  available  it  will  default  to next strong‐
57              est/available protocol automatically.
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-inactivate.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                                 Mar 31, 2017              NS-INACTIVATE.PL(8)
Impressum