xref: /minix3/crypto/external/bsd/heimdal/dist/lib/kadm5/iprop-log.8 (revision 0a6a1f1d05b60e214de2f05a7310ddd1f0e590e7)
1*0a6a1f1dSLionel Sambuc.\"	$NetBSD: iprop-log.8,v 1.5 2014/04/24 13:45:34 pettai Exp $
2ebfedea0SLionel Sambuc.\"
3ebfedea0SLionel Sambuc.\" Id
4ebfedea0SLionel Sambuc.\"
5ebfedea0SLionel Sambuc.\" Copyright (c) 2005 - 2007 Kungliga Tekniska Högskolan
6ebfedea0SLionel Sambuc.\" (Royal Institute of Technology, Stockholm, Sweden).
7ebfedea0SLionel Sambuc.\" All rights reserved.
8ebfedea0SLionel Sambuc.\"
9ebfedea0SLionel Sambuc.\" Redistribution and use in source and binary forms, with or without
10ebfedea0SLionel Sambuc.\" modification, are permitted provided that the following conditions
11ebfedea0SLionel Sambuc.\" are met:
12ebfedea0SLionel Sambuc.\"
13ebfedea0SLionel Sambuc.\" 1. Redistributions of source code must retain the above copyright
14ebfedea0SLionel Sambuc.\"    notice, this list of conditions and the following disclaimer.
15ebfedea0SLionel Sambuc.\"
16ebfedea0SLionel Sambuc.\" 2. Redistributions in binary form must reproduce the above copyright
17ebfedea0SLionel Sambuc.\"    notice, this list of conditions and the following disclaimer in the
18ebfedea0SLionel Sambuc.\"    documentation and/or other materials provided with the distribution.
19ebfedea0SLionel Sambuc.\"
20ebfedea0SLionel Sambuc.\" 3. Neither the name of the Institute nor the names of its contributors
21ebfedea0SLionel Sambuc.\"    may be used to endorse or promote products derived from this software
22ebfedea0SLionel Sambuc.\"    without specific prior written permission.
23ebfedea0SLionel Sambuc.\"
24ebfedea0SLionel Sambuc.\" THIS SOFTWARE IS PROVIDED BY THE INSTITUTE AND CONTRIBUTORS ``AS IS'' AND
25ebfedea0SLionel Sambuc.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
26ebfedea0SLionel Sambuc.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
27ebfedea0SLionel Sambuc.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE
28ebfedea0SLionel Sambuc.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
29ebfedea0SLionel Sambuc.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
30ebfedea0SLionel Sambuc.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
31ebfedea0SLionel Sambuc.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
32ebfedea0SLionel Sambuc.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
33ebfedea0SLionel Sambuc.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34ebfedea0SLionel Sambuc.\" SUCH DAMAGE.
35ebfedea0SLionel Sambuc.\"
36ebfedea0SLionel Sambuc.\"	Id
37ebfedea0SLionel Sambuc.\"
38ebfedea0SLionel Sambuc.Dd February 18, 2007
39ebfedea0SLionel Sambuc.Dt IPROP-LOG 8
40ebfedea0SLionel Sambuc.Os
41ebfedea0SLionel Sambuc.Sh NAME
42ebfedea0SLionel Sambuc.Nm iprop-log
43*0a6a1f1dSLionel Sambuc.Nd maintain the iprop log file
44ebfedea0SLionel Sambuc.Sh SYNOPSIS
45ebfedea0SLionel Sambuc.Nm
46*0a6a1f1dSLionel Sambuc.Op Fl Fl version
47*0a6a1f1dSLionel Sambuc.Op Fl h | Fl Fl help
48ebfedea0SLionel Sambuc.Ar command
49ebfedea0SLionel Sambuc.Pp
50ebfedea0SLionel Sambuc.Nm iprop-log truncate
51ebfedea0SLionel Sambuc.Oo Fl c Ar file \*(Ba Xo
52*0a6a1f1dSLionel Sambuc.Fl Fl config-file= Ns Ar file
53ebfedea0SLionel Sambuc.Xc
54ebfedea0SLionel Sambuc.Oc
55ebfedea0SLionel Sambuc.Oo Fl r Ar string \*(Ba Xo
56*0a6a1f1dSLionel Sambuc.Fl Fl realm= Ns Ar string
57ebfedea0SLionel Sambuc.Xc
58ebfedea0SLionel Sambuc.Oc
59*0a6a1f1dSLionel Sambuc.Op Fl h | Fl Fl help
60ebfedea0SLionel Sambuc.Pp
61ebfedea0SLionel Sambuc.Nm iprop-log dump
62ebfedea0SLionel Sambuc.Oo Fl c Ar file \*(Ba Xo
63*0a6a1f1dSLionel Sambuc.Fl Fl config-file= Ns Ar file
64ebfedea0SLionel Sambuc.Xc
65ebfedea0SLionel Sambuc.Oc
66ebfedea0SLionel Sambuc.Oo Fl r Ar string \*(Ba Xo
67*0a6a1f1dSLionel Sambuc.Fl Fl realm= Ns Ar string
68ebfedea0SLionel Sambuc.Xc
69ebfedea0SLionel Sambuc.Oc
70*0a6a1f1dSLionel Sambuc.Op Fl h | Fl Fl help
71ebfedea0SLionel Sambuc.Pp
72ebfedea0SLionel Sambuc.Nm iprop-log replay
73*0a6a1f1dSLionel Sambuc.Op Fl Fl start-version= Ns Ar version-number
74*0a6a1f1dSLionel Sambuc.Op Fl Fl end-version= Ns Ar version-number
75ebfedea0SLionel Sambuc.Oo Fl c Ar file \*(Ba Xo
76*0a6a1f1dSLionel Sambuc.Fl Fl config-file= Ns Ar file
77ebfedea0SLionel Sambuc.Xc
78ebfedea0SLionel Sambuc.Oc
79ebfedea0SLionel Sambuc.Oo Fl r Ar string \*(Ba Xo
80*0a6a1f1dSLionel Sambuc.Fl Fl realm= Ns Ar string
81ebfedea0SLionel Sambuc.Xc
82ebfedea0SLionel Sambuc.Oc
83*0a6a1f1dSLionel Sambuc.Op Fl h | Fl Fl help
84ebfedea0SLionel Sambuc.Sh DESCRIPTION
85ebfedea0SLionel SambucSupported options:
86ebfedea0SLionel Sambuc.Bl -tag -width Ds
87*0a6a1f1dSLionel Sambuc.It Fl Fl version
88*0a6a1f1dSLionel Sambuc.It Fl h , Fl Fl help
89ebfedea0SLionel Sambuc.El
90ebfedea0SLionel Sambuc.Pp
91ebfedea0SLionel Sambuccommand can be one of the following:
92ebfedea0SLionel Sambuc.Bl -tag -width truncate
93ebfedea0SLionel Sambuc.It truncate
94ebfedea0SLionel Sambuc.Bl -tag -width Ds
95*0a6a1f1dSLionel Sambuc.It Fl c Ar file , Fl Fl config-file= Ns Ar file
96ebfedea0SLionel Sambucconfiguration file
97*0a6a1f1dSLionel Sambuc.It Fl r Ar string , Fl Fl realm= Ns Ar string
98ebfedea0SLionel Sambucrealm
99ebfedea0SLionel Sambuc.El
100ebfedea0SLionel Sambuc.Pp
101ebfedea0SLionel SambucTruncates the log. Sets the new logs version number for the to the
102ebfedea0SLionel Sambuclast entry of the old log.  If the log is truncted by emptying the
103ebfedea0SLionel Sambucfile, the log will start over at the first version (0).
104ebfedea0SLionel Sambuc.It dump
105ebfedea0SLionel Sambuc.Bl -tag -width Ds
106*0a6a1f1dSLionel Sambuc.It Fl c Ar file , Fl Fl config-file= Ns Ar file
107ebfedea0SLionel Sambucconfiguration file
108*0a6a1f1dSLionel Sambuc.It Xo
109*0a6a1f1dSLionel Sambuc.Fl r Ar string ,
110*0a6a1f1dSLionel Sambuc.Fl Fl realm= Ns Ar string
111*0a6a1f1dSLionel Sambuc.Xc
112ebfedea0SLionel Sambucrealm
113ebfedea0SLionel Sambuc.El
114ebfedea0SLionel Sambuc.Pp
115ebfedea0SLionel SambucPrint out all entries in the log to standard output.
116ebfedea0SLionel Sambuc.It replay
117ebfedea0SLionel Sambuc.Bl -tag -width Ds
118*0a6a1f1dSLionel Sambuc.It Fl Fl start-version= Ns Ar version-number
119ebfedea0SLionel Sambucstart replay with this version
120*0a6a1f1dSLionel Sambuc.It Xo
121*0a6a1f1dSLionel Sambuc.Fl Fl end-version= Ns Ar version-number
122*0a6a1f1dSLionel Sambuc.Xc
123ebfedea0SLionel Sambucend replay with this version
124*0a6a1f1dSLionel Sambuc.It Fl c Ar file , Fl Fl config-file= Ns Ar file
125ebfedea0SLionel Sambucconfiguration file
126*0a6a1f1dSLionel Sambuc.It Fl r Ar string , Fl Fl realm= Ns Ar string
127ebfedea0SLionel Sambucrealm
128ebfedea0SLionel Sambuc.El
129ebfedea0SLionel Sambuc.Pp
130ebfedea0SLionel SambucReplay the changes from specified entries (or all if none is
131ebfedea0SLionel Sambucspecified) in the transaction log to the database.
132ebfedea0SLionel Sambuc.It last-version
133ebfedea0SLionel Sambuc.Bl -tag -width Ds
134*0a6a1f1dSLionel Sambuc.It Fl c Ar file , Fl Fl config-file= Ns Ar file
135ebfedea0SLionel Sambucconfiguration file
136*0a6a1f1dSLionel Sambuc.It Fl r Ar string , Fl Fl realm= Ns Ar string
137ebfedea0SLionel Sambucrealm
138ebfedea0SLionel Sambuc.El
139ebfedea0SLionel Sambuc.Pp
140ebfedea0SLionel Sambucprints the version of the last log entry.
141ebfedea0SLionel Sambuc.El
142ebfedea0SLionel Sambuc.Sh SEE ALSO
143ebfedea0SLionel Sambuc.Xr iprop 8
144