Fix TGS client to request renewable/forwardable/proxiable if possible
[heimdal.git] / kuser / kgetcred.1
blob13fdd69ebf40c78c54a60cc24fa664c9f8316f33
1 .\" Copyright (c) 1999, 2001 - 2002 Kungliga Tekniska Högskolan
2 .\" (Royal Institute of Technology, Stockholm, Sweden).
3 .\" All rights reserved.
4 .\"
5 .\" Redistribution and use in source and binary forms, with or without
6 .\" modification, are permitted provided that the following conditions
7 .\" are met:
8 .\"
9 .\" 1. Redistributions of source code must retain the above copyright
10 .\"    notice, this list of conditions and the following disclaimer.
11 .\"
12 .\" 2. Redistributions in binary form must reproduce the above copyright
13 .\"    notice, this list of conditions and the following disclaimer in the
14 .\"    documentation and/or other materials provided with the distribution.
15 .\"
16 .\" 3. Neither the name of the Institute nor the names of its contributors
17 .\"    may be used to endorse or promote products derived from this software
18 .\"    without specific prior written permission.
19 .\"
20 .\" THIS SOFTWARE IS PROVIDED BY THE INSTITUTE AND CONTRIBUTORS ``AS IS'' AND
21 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23 .\" ARE DISCLAIMED.  IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE
24 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30 .\" SUCH DAMAGE.
31 .\"
32 .\" $Id$
33 .\"
34 .Dd March 12, 2004
35 .Dt KGETCRED 1
36 .Os HEIMDAL
37 .Sh NAME
38 .Nm kgetcred
39 .Nd "get a ticket for a particular service"
40 .Sh SYNOPSIS
41 .Nm
42 .Op Fl Fl canonicalize
43 .Oo Fl c cache \*(Ba Xo
44 .Fl Fl cache= Ns Ar cache
45 .Xc
46 .Oc
47 .Oo Fl e Ar enctype \*(Ba Xo
48 .Fl Fl enctype= Ns Ar enctype
49 .Xc
50 .Oc
51 .Op Fl name-type= Ns Ar name-type
52 .Op Fl Fl no-transit-check
53 .Op Fl Fl version
54 .Op Fl Fl help
55 .Ar service
56 .Nm
57 .Op options
58 .Fl name-type= Ns Ar SRV_HST
59 .Ar service
60 .Ar hostname
61 .Sh DESCRIPTION
62 .Nm
63 obtains a ticket for a service.
64 Usually tickets for services are obtained automatically when needed
65 but sometimes for some odd reason you want to obtain a particular
66 ticket or of a special type.
67 .Pp
68 The second form applies hostname canonicalization using local name
69 canonicalization rules just as applications normally would, possibly
70 enabling canonicalization via referrals.
71 .Pp
72 Supported options:
73 .Bl -tag -width Ds
74 .It Fl Fl canonicalize
75 requests that the KDC canonicalize the principal.
76 .It Fl Fl name-type= Ns Ar name-type
77 the name-type to use when parsing the principal name.
78 .It Fl c Ar cache , Fl Fl cache= Ns Ar cache
79 the credential cache to use.
80 .It Fl Fl delegation-credential-cache= Ns Ar cache
81 the credential cache to use for delegation.
82 .It Fl e Ar enctype , Fl Fl enctype= Ns Ar enctype
83 encryption type to use.
84 .It Fl Fl no-transit-check
85 requests that the KDC doesn't do transit checking.
86 .It Fl Fl forwardable
87 .It Fl Fl version
88 .It Fl Fl help
89 .El
90 .Sh SEE ALSO
91 .Xr kinit 1 ,
92 .Xr klist 1