xref: /freebsd/crypto/krb5/src/windows/leash/htmlhelp/html/KVNO.htm (revision 7f2fe78b9dd5f51c821d771b63d2e096f6fd49e9)
1<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2<HTML>
3<HEAD>
4<meta name="GENERATOR" content="Microsoft&reg; HTML Help Workshop 4.1">
5<link rel="stylesheet" type="text/css" href="Leash.css" />
6<Title>KVNO</Title>
7</HEAD>
8<BODY>
9<H1>KVNO Command</H1>
10
11<table>
12<tr><th id="th2"> The following information reproduces the information from UNIX man page for the KVNO command.</th>
13</tr>
14</table>
15<H2>SYNOPSIS</H2>
16<table>
17<tr>
18<th id="th2">kvno </th>
19<td>
20<span class="command">[<strong>-c</strong> <em>ccache</em>]</span>
21<span class="command">[<strong>-e</strong> <em>etype</em>]</span>
22<span class="command">[<strong>-q</strong>]</span>
23<span class="command">[<strong>-h</strong>]</span>
24<span class="command">[<strong>-P</strong>]</span>
25<span class="command">[<strong>-S</strong> <em>sname</em>]</span>
26<span class="command">[<strong>-U</strong> <em>for_user</em>]</span>
27<span class="command"><em>service1 service2</em> ..</span>
28</td>
29</tr>
30</table>
31
32<H2>DESCRIPTION</H2>
33<p>
34       <span class="command">  <em>kvno </em></span>  acquires a service ticket for the specified Kerberos principals and prints out the key version numbers of each.</p>
35
36
37<H2>OPTIONS</H2>
38
39
40<table>
41<tr>
42<th id="th2"><span class="command"><strong>-c</strong> <em>ccache</em></span></th>
43<td> Specifies the name of a credentials cache to use (if not the default).
44</td>
45</tr>
46<tr>
47<th id="th2"><span class="command"><strong>-e</strong> <em>etype</em></span></th>
48<td> Specifies the enctype which will be requested for the session key of all the services named on the command line. This is useful in certain backward compatibility situations.
49</td>
50</tr>
51<tr>
52<th id="th2"><span class="command"><strong>-q</strong></span></th>
53<td> Suppress printing output when successful. If a service ticket cannot be obtained, an error message will still be printed and kvno will exit with nonzero status.
54</td>
55</tr>
56<tr>
57<th id="th2"><span class="command"><strong>-h</strong></span></th>
58<td> Prints a usage statement and exits.
59</td>
60</tr>
61<tr>
62<th id="th2"><span class="command"><strong>-P</strong></span></th>
63<td> Specifies that the <em>service1 service2</em> ... arguments are to be treated as services for which credentials should be acquired using constrained delegation. This option is only valid when used in conjunction with protocol transition.
64</td>
65</tr>
66<tr>
67<th id="th2"><span class="command"><strong>-S</strong> <em>sname</em></span></th>
68<td> Specifies that the <em>service1 service2</em> ... arguments are interpreted as hostnames, and the service principals are to be constructed from those hostnames and the service name <em>sname</em>. The service hostnames will be canonicalized according to the usual rules for constructing service principals.
69</td>
70</tr>
71<tr>
72<th id="th2"><span class="command"><strong>-U</strong> <em>for_user</em></span></th>
73<td> Specifies that protocol transition (S4U2Self) is to be used to acquire a ticket on behalf of <em>for_user.</em>  If constrained delegation is not requested, the service name must match the credentials cache client principal.
74</td>
75</tr>
76
77      </table>
78
79
80<H2>ENVIRONMENT</H2>
81<p>     <B>Kvno</B> uses the following environment variables:</p>
82<table>
83<tr>
84<th id="th2"> KRB5CCNAME</th>
85<td>      Location of the credentials (ticket) cache. </td>
86</tr>
87</table>
88
89<H2>FILES</H2>
90<table>
91<tr>
92  <th id="th2">     <span class="command">   /tmp/krb5cc_[uid] </span></th>
93<td>       default  location  of  Kerberos  5 credentials cache ([uid] is the decimal UID of the user). </td></tr>
94
95</table>
96
97<H2>SEE ALSO</H2>
98<ul id="helpul">
99<li><a href="HTML/KINIT.htm"><B>kinit</B></a> </li>
100<li><a href="HTML/KDESTROY.htm"><B>kdestroy</B></a></li>
101</ul>
102
103</BODY>
104</HTML>
105