2 Bacula® - The Network Backup Solution
4 Copyright (C) 2000-2007 Free Software Foundation Europe e.V.
6 The main author of Bacula is Kern Sibbald, with contributions from
7 many others, a complete list can be found in the file AUTHORS.
8 This program is Free Software; you can redistribute it and/or
9 modify it under the terms of version two of the GNU General Public
10 License as published by the Free Software Foundation and included
13 This program is distributed in the hope that it will be useful, but
14 WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 along with this program; if not, write to the Free Software
20 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
23 Bacula® is a registered trademark of John Walker.
24 The licensor of Bacula is the Free Software Foundation Europe
25 (FSFE), Fiduciary Program, Sumatrastrasse 25, 8006 Zürich,
26 Switzerland, email:ftf@fsfeurope.org.
29 * Bacula File Daemon specific configuration
31 * Kern Sibbald, Sep MM
37 * Resource codes -- they must be sequential for indexing
41 #define R_DIRECTOR 1001
48 * Some resource attributes
51 #define R_ADDRESS 1021
52 #define R_PASSWORD 1022
56 /* Definition of the contents of each Resource */
59 char *password; /* Director password */
60 char *address; /* Director address or zero */
61 bool monitor; /* Have only access to status and .status functions */
62 bool tls_authenticate; /* Authenticate with TSL */
63 bool tls_enable; /* Enable TLS */
64 bool tls_require; /* Require TLS */
65 bool tls_verify_peer; /* TLS Verify Client Certificate */
66 char *tls_ca_certfile; /* TLS CA Certificate File */
67 char *tls_ca_certdir; /* TLS CA Certificate Directory */
68 char *tls_certfile; /* TLS Server Certificate File */
69 char *tls_keyfile; /* TLS Server Key File */
70 char *tls_dhfile; /* TLS Diffie-Hellman Parameters */
71 alist *tls_allowed_cns; /* TLS Allowed Clients */
73 TLS_CONTEXT *tls_ctx; /* Shared TLS Context */
79 char *working_directory;
81 char *subsys_directory;
82 char *plugin_directory; /* Plugin directory */
83 char *scripts_directory;
84 MSGS *messages; /* daemon message handler */
85 int MaxConcurrentJobs;
86 utime_t SDConnectTimeout; /* timeout in seconds */
87 utime_t heartbeat_interval; /* Interval to send heartbeats */
88 uint32_t max_network_buffer_size; /* max network buf size */
89 bool pki_sign; /* Enable Data Integrity Verification via Digital Signatures */
90 bool pki_encrypt; /* Enable Data Encryption */
91 char *pki_keypair_file; /* PKI Key Pair File */
92 alist *pki_signing_key_files; /* PKI Signing Key Files */
93 alist *pki_master_key_files; /* PKI Master Key Files */
94 bool tls_authenticate; /* Authenticate with TLS */
95 bool tls_enable; /* Enable TLS */
96 bool tls_require; /* Require TLS */
97 char *tls_ca_certfile; /* TLS CA Certificate File */
98 char *tls_ca_certdir; /* TLS CA Certificate Directory */
99 char *tls_certfile; /* TLS Client Certificate File */
100 char *tls_keyfile; /* TLS Client Key File */
102 X509_KEYPAIR *pki_keypair; /* Shared PKI Public/Private Keypair */
103 alist *pki_signers; /* Shared PKI Trusted Signers */
104 alist *pki_recipients; /* Shared PKI Recipients */
105 TLS_CONTEXT *tls_ctx; /* Shared TLS Context */
110 /* Define the Union of all the above
111 * resource structure definitions.