Deleted Added
full compact
ktutil-commands.in (178826) ktutil-commands.in (233294)
1/*
1/*
2 * Copyright (c) 2004 Kungliga Tekniska H�gskolan
2 * Copyright (c) 2004 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

--- 14 unchanged lines hidden (view full) ---

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 */
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

--- 14 unchanged lines hidden (view full) ---

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/* $Id: ktutil-commands.in 14793 2005-04-14 16:45:14Z lha $ */
33/* $Id$ */
34
35command = {
36 name = "add"
37 option = {
38 long = "principal"
39 short = "p"
40 type = "string"
41 help = "principal to add"

--- 180 unchanged lines hidden (view full) ---

222}
223command = {
224 name = "rename"
225 function = "kt_rename"
226 argument = "from to"
227 min_args = "2"
228 max_args = "2"
229 help = "Renames an entry in the keytab."
34
35command = {
36 name = "add"
37 option = {
38 long = "principal"
39 short = "p"
40 type = "string"
41 help = "principal to add"

--- 180 unchanged lines hidden (view full) ---

222}
223command = {
224 name = "rename"
225 function = "kt_rename"
226 argument = "from to"
227 min_args = "2"
228 max_args = "2"
229 help = "Renames an entry in the keytab."
230}
231command = {
232 name = "srvconvert"
233 name = "srv2keytab"
234 option = {
230 option = {
235 long = "srvtab"
236 short = "s"
237 type = "string"
238 argument = "file"
239 help = "name of Kerberos 4 srvtab"
240 default = "/etc/srvtab"
231 long = "delete"
232 type = "-flag"
233 help = "don't delete orignal entry"
241 }
234 }
242 max_args = "0"
243 function = "srvconv"
244 help = "Convert a Kerberos 4 srvtab to a keytab."
245}
246command = {
235}
236command = {
247 name = "srvcreate"
248 name = "key2srvtab"
249 option = {
250 long = "srvtab"
251 short = "s"
252 type = "string"
253 argument = "file"
254 help = "name of Kerberos 4 srvtab"
255 default = "/etc/srvtab"
256 }
237 name = "destroy"
238 function = "kt_destroy"
257 max_args = "0"
239 max_args = "0"
258 function = "srvcreate"
259 help = "Convert a keytab to a Kerberos 4 srvtab."
240 help = "Destroy (remove) the keytab."
260}
261command = {
262 name = "help"
263 argument = "command"
264 max_args = "1"
265 function = "help"
266}
241}
242command = {
243 name = "help"
244 argument = "command"
245 max_args = "1"
246 function = "help"
247}