3 .\" Copyright (c) 2005 Kungliga Tekniska Högskolan
4 .\" (Royal Institute of Technology, Stockholm, Sweden).
5 .\" All rights reserved.
7 .\" Redistribution and use in source and binary forms, with or without
8 .\" modification, are permitted provided that the following conditions
11 .\" 1. Redistributions of source code must retain the above copyright
12 .\" notice, this list of conditions and the following disclaimer.
14 .\" 2. Redistributions in binary form must reproduce the above copyright
15 .\" notice, this list of conditions and the following disclaimer in the
16 .\" documentation and/or other materials provided with the distribution.
18 .\" 3. Neither the name of the Institute nor the names of its contributors
19 .\" may be used to endorse or promote products derived from this software
20 .\" without specific prior written permission.
22 .\" THIS SOFTWARE IS PROVIDED BY THE INSTITUTE AND CONTRIBUTORS ``AS IS'' AND
23 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
24 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
25 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE
26 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
27 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
28 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
29 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
30 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
31 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
42 propagate changes to a Heimdal Kerberos master KDC to slave KDCs
45 .Oo Fl c Ar string \*(Ba Xo
46 .Fl -config-file= Ns Ar string
49 .Oo Fl r Ar string \*(Ba Xo
50 .Fl -realm= Ns Ar string
53 .Oo Fl k Ar kspec \*(Ba Xo
54 .Fl -keytab= Ns Ar kspec
57 .Oo Fl d Ar file \*(Ba Xo
58 .Fl -database= Ns Ar file
61 .Op Fl -slave-stats-file= Ns Ar file
62 .Op Fl -time-missing= Ns Ar time
63 .Op Fl -time-gone= Ns Ar time
68 .Oo Fl c Ar string \*(Ba Xo
69 .Fl -config-file= Ns Ar string
72 .Oo Fl r Ar string \*(Ba Xo
73 .Fl -realm= Ns Ar string
76 .Oo Fl k Ar kspec \*(Ba Xo
77 .Fl -keytab= Ns Ar kspec
80 .Op Fl -time-lost= Ns Ar time
88 is used to propagate changes to a Heimdal Kerberos database from the
89 master Kerberos server on which it runs to slave Kerberos servers
93 The slaves are specified by the contents of the
95 file in the KDC's database directory, e.g.\&
96 .Pa /var/heimdal/slaves .
97 This has principals one per-line of the form
98 .Dl iprop/ Ns Ar slave Ns @ Ns Ar REALM
101 is the hostname of the slave server in the given
104 .Dl iprop/kerberos-1.example.com@EXAMPLE.COM
105 On a slave, the argument
107 specifies the hostname of the master server from which to receive updates.
111 which sends the whole database to the slaves regularly,
113 normally sends only the changes as they happen on the master. The
114 master keeps track of all the changes by assigning a version number to
115 every change to the database. The slaves know which was the latest
116 version they saw, and in this way it can be determined if they are in
117 sync or not. A log of all the changes is kept on the master. When a
118 slave is at an older version than the oldest one in the log, the whole
119 database has to be sent.
121 The changes are propagated over a secure channel (on port 2121 by
122 default). This should normally be defined as
126 or another source of the services database. The master and slaves
127 must each have access to a keytab with keys for the
129 service principal on the local host.
131 There is a keep-alive feature logged in the master's
134 .Pa /var/heimdal/slave-stats ) .
136 Supported options for
141 .Fl -config-file= Ns Ar string
145 .Fl -realm= Ns Ar string
149 .Fl -keytab= Ns Ar kspec
151 keytab to get authentication from
154 .Fl -database= Ns Ar file
156 Database (default per KDC)
158 .Fl -slave-stats-file= Ns Ar file
160 file for slave status information
162 .Fl -time-missing= Ns Ar time
164 time before slave is polled for presence (default 2 min)
166 .Fl -time-gone= Ns Ar time
168 time of inactivity after which a slave is considered gone (default 5 min)
181 Supported options for
186 .Fl -config-file= Ns Ar string
190 .Fl -realm= Ns Ar string
194 .Fl -keytab= Ns Ar kspec
196 keytab to get authentication from
198 .Fl -time-lost= Ns Ar time
200 time before server is considered lost (default 5 min)
212 Time arguments for the relevant options above may be specified in forms
213 like 5 min, 300 s, or simply a number of seconds.
217 in the database directory.