Import Upstream version 1.8.5
[hcoop/debian/openafs.git] / doc / man-pages / pod8 / kadb_check.pod
CommitLineData
805e021f
CE
1=head1 NAME
2
3kadb_check - Checks the integrity of the Authentication Database
4
5=head1 SYNOPSIS
6
7=for html
8<div class="synopsis">
9
10B<kadb_check> S<<< B<-database> <I<kadb file>> >>> [B<-uheader>] [B<-kheader>]
11 [B<-entries>] [B<-verbose>] S<<< [B<-rebuild> <I<out file>>] >>> [B<-help>]
12
13B<kadb_check> S<<< B<-d> <I<kadb file>> >>> [B<-u>] [B<-k>] [B<-e>] [B<-v>]
14 S<<< [B<-r> <I<out file>>] >>> [B<-h>]
15
16=for html
17</div>
18
19=head1 DESCRIPTION
20
21The B<kadb_check> command checks the integrity of the Authentication
22Database, reporting any errors or corruption it finds. If there are
23problems, do not issue any B<kas> commands until the database is repaired.
24
25=head1 CAUTIONS
26
27The B<kadb_check> command is only used with the database used by the
28obsolete Authentication Server, which should no longer be used. It is
29provided for sites that have not yet migrated to a Kerberos version 5
30KDC. The Authentication Server and supporting commands, including B<kdb>,
31will be removed in a future version of OpenAFS.
32
33The results can be unpredictable if the Authentication Server makes
34changes to the Authentication Database while this command is running. Use
35the B<bos shutdown> command to shutdown the local B<kaserver> process
36before running this command, or before creating a second copy of the
37F<kaserver.DB0> file (with a different name) on which to run the command.
38
39=head1 OPTIONS
40
41=over 4
42
43=item B<-database> <I<kadb file>>
44
45Names the Authentication Database (copy of the F<kaserver.DB0> file) to
46check. If the current working directory is not the location of the file,
47provide a pathname, either full or relative to the current working
48directory.
49
50=item B<-uheader>
51
52Displays information which Ubik maintains in the database's header.
53
54=item B<-kheader>
55
56Displays information which the Authentication Server maintains in the
57database's header.
58
59=item B<-entries>
60
61Outputs every entry in the database, providing information similar to that
62returned by the B<kas examine> command.
63
64=item B<-verbose>
65
66Reports additional information about the database, including the number of
67free (allocated but unused) entries in the database.
68
69=item B<-rebuild> <I<out file>>
70
71Names the file in which to record a list of B<kas> commands which, if
72issued in the command shell, recreate the current state of the database
73being verified. Partial pathnames are interpreted relative to the current
74working directory.
75
76=item B<-help>
77
78Prints the online help for this command. All other valid options are
79ignored.
80
81=back
82
83=head1 OUTPUT
84
85If there are errors in the database, the output always reports them on the
86standard error stream. If any options other than B<-database> or B<-help>
87are provided, the output written to the standard output stream includes
88additional information as described for each option in L</OPTIONS>. The
89output is intended for debugging purposes and is meaningful to someone
90familiar with the internal structure of the Authentication Database.
91
92=head1 PRIVILEGE REQUIRED
93
94The issuer must be logged in as the local superuser C<root>.
95
96=head1 SEE ALSO
97
98L<kaserver.DB0(5)>,
99L<bos_shutdown(8)>,
100L<kas_examine(8)>,
101L<kaserver(8)>
102
103=head1 COPYRIGHT
104
105IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
106
107This documentation is covered by the IBM Public License Version 1.0. It was
108converted from HTML to POD by software written by Chas Williams and Russ
109Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.