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