1 .\" Copyright (c) 1999, 2001 - 2002 Kungliga Tekniska Högskolan
2 .\" (Royal Institute of Technology, Stockholm, Sweden).
3 .\" All rights reserved.
5 .\" Redistribution and use in source and binary forms, with or without
6 .\" modification, are permitted provided that the following conditions
9 .\" 1. Redistributions of source code must retain the above copyright
10 .\" notice, this list of conditions and the following disclaimer.
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.
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.
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
39 .Nd "get a ticket for a particular service"
42 .Op Fl Fl canonicalize
44 .Oo Fl c cache \*(Ba Xo
45 .Fl Fl cache= Ns Ar cache
48 .Oo Fl e Ar enctype \*(Ba Xo
49 .Fl Fl enctype= Ns Ar enctype
57 .Op Fl Fl name-type= Ns Ar name-type
58 .Op Fl Fl no-transit-check
73 .Ar [extra-components]
76 obtains a ticket for the given service principal.
77 Usually tickets for services are obtained automatically when needed
78 but sometimes for some odd reason you want to obtain a particular
79 ticket or of a special type.
83 is given then the given service principal name will be canonicalized
86 The third form constructs a host-based principal from the given service
87 name and hostname. The service name "host" is used if the given
89 name in the third usage is the empty string.
91 For host-based names, the local host's hostname is used if the given
93 is the empty string or if the
95 has a single component.
97 Any additional components will be included, even for host-based service
98 principal names, but there are no defaults nor local canonicalization
99 rules for additional components.
101 Local name canonicalization rules are applied unless the
103 option is given. Currently local name canonicalization rules are
104 supported only for host-based principal names' hostname component.
106 The principal's realm name may be canonicalized by following Kerberos
107 referrals from the client principal's home realm if the
109 option is given or if the local name canonicalization rules are
110 configured to use referrals.
114 .It Fl Fl canonicalize
115 requests that the KDC canonicalize the principal. Currently this only
116 canonicalizes the realm by chasing referrals from the user's start
117 realm, but in the future this may also enable the KDC to canonicalize
118 the complete principal name.
120 turns off local canonicalization of the principal name.
121 .It Fl Fl name-type= Ns Ar name-type
122 the name-type to use when parsing the principal name.
125 .Fl Fl name-type=srv_hst .
126 .It Fl c Ar cache , Fl Fl cache= Ns Ar cache
127 the credential cache to use.
128 .It Fl Fl delegation-credential-cache= Ns Ar cache
129 the credential cache to use for delegation.
130 .It Fl e Ar enctype , Fl Fl enctype= Ns Ar enctype
131 encryption type to use.
132 .It Fl Fl no-transit-check
133 requests that the KDC doesn't do transit checking.
135 do not store tickets in the ccache.
136 .It Fl Fl cached-only
137 do not talk the TGS, search only the ccache.
138 .It Fl Fl forwardable
140 enables debug output to stderr.
147 option is used, then no further canonicalization should be done locally
148 by the client (for example, DNS), but if
150 is used, then the client will ask that the KDC canonicalize the name.
156 a host-based name-type, and
158 is not used, then the hostname will be canonicalized according to the
159 name canonicalization rules in
162 GSS-API initiator applications with host-based services will get the
163 same behavior as using the