Sync usage with man page.
[netbsd-mini2440.git] / crypto / dist / heimdal / kuser / kdigest-commands.in
blob0758d3304cc0b3a335c6ae1db2ed292ad944a059
1 /*
2  * Copyright (c) 2006 Kungliga Tekniska Högskolan
3  * (Royal Institute of Technology, Stockholm, Sweden). 
4  * All rights reserved. 
5  *
6  * Redistribution and use in source and binary forms, with or without 
7  * modification, are permitted provided that the following conditions 
8  * are met: 
9  *
10  * 1. Redistributions of source code must retain the above copyright 
11  *    notice, this list of conditions and the following disclaimer. 
12  *
13  * 2. Redistributions in binary form must reproduce the above copyright 
14  *    notice, this list of conditions and the following disclaimer in the 
15  *    documentation and/or other materials provided with the distribution. 
16  *
17  * 3. Neither the name of the Institute nor the names of its contributors 
18  *    may be used to endorse or promote products derived from this software 
19  *    without specific prior written permission. 
20  *
21  * THIS SOFTWARE IS PROVIDED BY THE INSTITUTE AND CONTRIBUTORS ``AS IS'' AND 
22  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
23  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
24  * ARE DISCLAIMED.  IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE 
25  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 
26  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 
27  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 
28  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 
29  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 
30  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 
31  * SUCH DAMAGE. 
32  */
33 /* $Heimdal: kdigest-commands.in 22157 2007-12-04 20:03:29Z lha $
34    $NetBSD$ */
36 command = {
37         name = "digest-probe"
38         option = {
39                 long = "realm"
40                 type = "string"
41                 help = "Kerberos realm to communicate with"
42         }
43         help = "probe what mech is allowed/supported for this server"
45 command = {
46         name = "digest-server-init"
47         option = {
48                 long = "type"
49                 type = "string"
50                 help = "digest type"
51                 default = "sasl"
52         }
53         option = {
54                 long = "kerberos-realm"
55                 type = "string"
56                 argument = "realm"
57                 help = ""
58         }
59         option = {
60                 long = "digest"
61                 type = "string"
62                 argument = "digest-type"
63                 help = "digest type to use in the algorithm"
64         }
65         option = {
66                 long = "cb-type"
67                 type = "string"
68                 argument = "type"
69                 help = "type of channel bindings"
70         }
71         option = {
72                 long = "cb-value"
73                 type = "string"
74                 argument = "value"
75                 help = "value of channel bindings"
76         }
77         option = {
78                 long = "hostname"
79                 type = "string"
80                 argument = "hostname"
81                 help = "hostname of the server"
82         }
83         option = {
84                 long = "realm"
85                 type = "string"
86                 help = "Kerberos realm to communicate with"
87         }
88         help = "Sets up a digest context and return initial parameters"
90 command = {
91         name = "digest-server-request"
92         option = {
93                 long = "type"
94                 type = "string"
95                 help = "digest type"
96                 default = "sasl"
97         }
98         option = {
99                 long = "kerberos-realm"
100                 type = "string"
101                 argument = "realm"
102                 help = ""
103         }
104         option = {
105                 long = "username"
106                 type = "string"
107                 argument = "name"
108                 help = "digest type"
109         }
110         option = {
111                 long = "server-nonce"
112                 type = "string"
113                 argument = "nonce"
114                 help = ""
115         }
116         option = {
117                 long = "server-identifier"
118                 type = "string"
119                 argument = "nonce"
120                 help = ""
121         }
122         option = {
123                 long = "client-nonce"
124                 type = "string"
125                 argument = "nonce"
126                 help = ""
127         }
128         option = {
129                 long = "client-response"
130                 type = "string"
131                 argument = "response"
132                 help = ""
133         }
134         option = {
135                 long = "opaque"
136                 type = "string"
137                 argument = "string"
138                 help = ""
139         }
140         option = {
141                 long = "authentication-name"
142                 type = "string"
143                 argument = "name"
144                 help = ""
145         }
146         option = {
147                 long = "realm"
148                 type = "string"
149                 argument = "realm"
150                 help = ""
151         }
152         option = {
153                 long = "method"
154                 type = "string"
155                 argument = "method"
156                 help = ""
157         }
158         option = {
159                 long = "uri"
160                 type = "string"
161                 argument = "uri"
162                 help = ""
163         }
164         option = {
165                 long = "nounce-count"
166                 type = "string"
167                 argument = "count"
168                 help = ""
169         }
170         option = {
171                 long = "qop"
172                 type = "string"
173                 argument = "qop"
174                 help = ""
175         }
176         option = {
177                 long = "ccache"
178                 type = "string"
179                 argument = "ccache"
180                 help = "Where the the credential cache is created when the KDC returns tickets"
181         }
182         help = "Completes digest negotiation and return final parameters"
184 command = {
185         name = "digest-client-request"
186         option = {
187                 long = "type"
188                 type = "string"
189                 help = "digest type"
190                 default = "sasl"
191         }
192         option = {
193                 long = "username"
194                 type = "string"
195                 argument = "name"
196                 help = "digest type"
197         }
198         option = {
199                 long = "password"
200                 type = "string"
201                 argument = "password"
202         }
203         option = {
204                 long = "server-nonce"
205                 type = "string"
206                 argument = "nonce"
207                 help = ""
208         }
209         option = {
210                 long = "server-identifier"
211                 type = "string"
212                 argument = "nonce"
213                 help = ""
214         }
215         option = {
216                 long = "client-nonce"
217                 type = "string"
218                 argument = "nonce"
219                 help = ""
220         }
221         option = {
222                 long = "opaque"
223                 type = "string"
224                 argument = "string"
225                 help = ""
226         }
227         option = {
228                 long = "realm"
229                 type = "string"
230                 argument = "realm"
231                 help = ""
232         }
233         option = {
234                 long = "method"
235                 type = "string"
236                 argument = "method"
237                 help = ""
238         }
239         option = {
240                 long = "uri"
241                 type = "string"
242                 argument = "uri"
243                 help = ""
244         }
245         option = {
246                 long = "nounce-count"
247                 type = "string"
248                 argument = "count"
249                 help = ""
250         }
251         option = {
252                 long = "qop"
253                 type = "string"
254                 argument = "qop"
255                 help = ""
256         }
257         help = "Client part of a digest exchange"
259 command = {
260         name = "ntlm-server-init"
261         option = {
262                 long = "version"
263                 type = "integer"
264                 help = "ntlm version"
265                 default = "1"
266         }
267         option = {
268                 long = "kerberos-realm"
269                 type = "string"
270                 help = "Kerberos realm to communicate with"
271         }
272         help = "Sets up a digest context and return initial parameters"
274 command = {
275         name = "help"
276         name = "?"
277         argument = "[command]"
278         min_args = "0"
279         max_args = "1"
280         help = "Help! I need somebody."