1SCHEMA-RELOAD.PL(8)         System Manager's Manual        SCHEMA-RELOAD.PL(8)
2
3
4

NAME

6       schema-reload.pl  -  Directory  Server  perl  script  for  updating the
7       schema.
8

SYNOPSIS

10       schema-reload.pl [-Z serverID] [-D rootdn] { -w password | -w  -  |  -j
11       filename } [-P protocol] [-d schemadir] [-h]
12

DESCRIPTION

14       Manually  reloads  the  schema  files  used  by  the  Directory  Server
15       instance, either in the default location, or  in  user-specified  loca‐
16       tions.
17

OPTIONS

19       A summary of options is included below:
20
21       -Z Server Identifier
22              The  server  ID  of  the Directory Server instance.  If there is
23              only one instance on the system, this option can be skipped.
24
25       -D Root DN
26              The Directory Manager DN, or root DN.   If  not  specified,  the
27              script  will  search  the  server instance configuration for the
28              value.
29
30       -w password
31              The rootdn password.
32
33       -w -
34              Prompt for the rootdn password.
35
36       -j password filename
37              The name of the file that contains the root DN password.
38
39       -d schemadir
40              Gives the full path to the directory where the  schema  file  is
41              located.  If  this is not specified, the script uses the default
42              schema directory, /etc/dirsrv/schema.
43
44       -P protocol
45              The connection protocol to  connect  to  the  Directory  Server.
46              Protocols  are STARTTLS, LDAPS, LDAPI, and LDAP.  If this option
47              is skipped, the most secure protocol that is available is  used.
48              For LDAPI, AUTOBIND is also available for the root user.
49
50       -h
51              Display usage
52

EXAMPLE

54       schema-reload.pl  -Z instance3 -D 'cn=directory manager' -w password -P
55       STARTTLS -d /LDAP/schema/
56
57              Note: security must be enabled to  use  protocol  STARTTLS.   If
58              STARTTLS  is  not  available  it  will  default  to next strong‐
59              est/available protocol automatically.
60

DIAGNOSTICS

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

AUTHOR

66       schema-reload.pl was written by the 389 Project.
67

REPORTING BUGS

69       Report bugs to https://pagure.io/389-ds-base/new_issue
70
72       Copyright © 2017 Red Hat, Inc.
73
74
75
76                                March 31, 2017             SCHEMA-RELOAD.PL(8)
Impressum