Debian Codegraph @

doc/html/appdev/refs/api/krb5_tkt_creds_step.html

raw
1 <!DOCTYPE html>
2
3 <html lang="en" data-content_root="../../../">
4 <head>
5 <meta charset="utf-8" />
6 <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />
7
8 <title>krb5_tkt_creds_step - Get the next KDC request in a TGS exchange. &#8212; MIT Kerberos Documentation</title>
9 <link rel="stylesheet" type="text/css" href="../../../_static/pygments.css?v=fa44fd50" />
10 <link rel="stylesheet" type="text/css" href="../../../_static/agogo.css?v=879f3c71" />
11 <link rel="stylesheet" type="text/css" href="../../../_static/kerb.css?v=6a0b3979" />
12 <script src="../../../_static/documentation_options.js?v=6dbce55c"></script>
13 <script src="../../../_static/doctools.js?v=888ff710"></script>
14 <script src="../../../_static/sphinx_highlight.js?v=dc90522c"></script>
15 <link rel="author" title="About these documents" href="../../../about.html" />
16 <link rel="index" title="Index" href="../../../genindex.html" />
17 <link rel="search" title="Search" href="../../../search.html" />
18 <link rel="copyright" title="Copyright" href="../../../copyright.html" />
19 <link rel="next" title="krb5_unmarshal_credentials - Deserialize a krb5_creds object." href="krb5_unmarshal_credentials.html" />
20 <link rel="prev" title="krb5_tkt_creds_init - Create a context to get credentials from a KDC’s Ticket Granting Service." href="krb5_tkt_creds_init.html" />
21 </head><body>
22 <div class="header-wrapper">
23 <div class="header">
24
25
26 <h1><a href="../../../index.html">MIT Kerberos Documentation</a></h1>
27
28 <div class="rel">
29
30 <a href="../../../index.html" title="Full Table of Contents"
31 accesskey="C">Contents</a> |
32 <a href="krb5_tkt_creds_init.html" title="krb5_tkt_creds_init - Create a context to get credentials from a KDC’s Ticket Granting Service."
33 accesskey="P">previous</a> |
34 <a href="krb5_unmarshal_credentials.html" title="krb5_unmarshal_credentials - Deserialize a krb5_creds object."
35 accesskey="N">next</a> |
36 <a href="../../../genindex.html" title="General Index"
37 accesskey="I">index</a> |
38 <a href="../../../search.html" title="Enter search criteria"
39 accesskey="S">Search</a> |
40 <a href="mailto:[email protected]?subject=Documentation__krb5_tkt_creds_step - Get the next KDC request in a TGS exchange.">feedback</a>
41 </div>
42 </div>
43 </div>
44
45 <div class="content-wrapper">
46 <div class="content">
47 <div class="document">
48
49 <div class="documentwrapper">
50 <div class="bodywrapper">
51 <div class="body" role="main">
52
53 <section id="krb5-tkt-creds-step-get-the-next-kdc-request-in-a-tgs-exchange">
54 <h1>krb5_tkt_creds_step - Get the next KDC request in a TGS exchange.<a class="headerlink" href="#krb5-tkt-creds-step-get-the-next-kdc-request-in-a-tgs-exchange" title="Link to this heading">¶</a></h1>
55 <dl class="c function">
56 <dt class="sig sig-object c" id="c.krb5_tkt_creds_step">
57 <a class="reference internal" href="../types/krb5_error_code.html#c.krb5_error_code" title="krb5_error_code"><span class="n"><span class="pre">krb5_error_code</span></span></a><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">krb5_tkt_creds_step</span></span></span><span class="sig-paren">(</span><a class="reference internal" href="../types/krb5_context.html#c.krb5_context" title="krb5_context"><span class="n"><span class="pre">krb5_context</span></span></a><span class="w"> </span><span class="n"><span class="pre">context</span></span>, <a class="reference internal" href="../types/krb5_tkt_creds_context.html#c.krb5_tkt_creds_context" title="krb5_tkt_creds_context"><span class="n"><span class="pre">krb5_tkt_creds_context</span></span></a><span class="w"> </span><span class="n"><span class="pre">ctx</span></span>, <a class="reference internal" href="../types/krb5_data.html#c.krb5_data" title="krb5_data"><span class="n"><span class="pre">krb5_data</span></span></a><span class="w"> </span><span class="p"><span class="pre">*</span></span><span class="n"><span class="pre">in</span></span>, <a class="reference internal" href="../types/krb5_data.html#c.krb5_data" title="krb5_data"><span class="n"><span class="pre">krb5_data</span></span></a><span class="w"> </span><span class="p"><span class="pre">*</span></span><span class="n"><span class="pre">out</span></span>, <a class="reference internal" href="../types/krb5_data.html#c.krb5_data" title="krb5_data"><span class="n"><span class="pre">krb5_data</span></span></a><span class="w"> </span><span class="p"><span class="pre">*</span></span><span class="n"><span class="pre">realm</span></span>, <span class="kt"><span class="pre">unsigned</span></span><span class="w"> </span><span class="kt"><span class="pre">int</span></span><span class="w"> </span><span class="p"><span class="pre">*</span></span><span class="n"><span class="pre">flags</span></span><span class="sig-paren">)</span><a class="headerlink" href="#c.krb5_tkt_creds_step" title="Link to this definition">¶</a><br /></dt>
58 <dd></dd></dl>
59
60 <dl class="field-list">
61 <dt class="field-odd">param<span class="colon">:</span></dt>
62 <dd class="field-odd"><p><strong>[in]</strong> <strong>context</strong> - Library context</p>
63 <p><strong>[in]</strong> <strong>ctx</strong> - TGS request context</p>
64 <p><strong>[in]</strong> <strong>in</strong> - KDC response (empty on the first call)</p>
65 <p><strong>[out]</strong> <strong>out</strong> - Next KDC request</p>
66 <p><strong>[out]</strong> <strong>realm</strong> - Realm for next KDC request</p>
67 <p><strong>[out]</strong> <strong>flags</strong> - Output flags</p>
68 </dd>
69 </dl>
70 <dl class="field-list simple">
71 <dt class="field-odd">retval<span class="colon">:</span></dt>
72 <dd class="field-odd"><ul class="simple">
73 <li><p>0 Success; otherwise - Kerberos error codes</p></li>
74 </ul>
75 </dd>
76 </dl>
77 <p>This function constructs the next KDC request for a TGS exchange, allowing the caller to control the transport of KDC requests and replies. On the first call, <em>in</em> should be set to an empty buffer; on subsequent calls, it should be set to the KDC’s reply to the previous request.</p>
78 <p>If more requests are needed, <em>flags</em> will be set to KRB5_TKT_CREDS_STEP_FLAG_CONTINUE and the next request will be placed in <em>out</em> . If no more requests are needed, <em>flags</em> will not contain KRB5_TKT_CREDS_STEP_FLAG_CONTINUE and <em>out</em> will be empty.</p>
79 <p>If this function returns <strong>KRB5KRB_ERR_RESPONSE_TOO_BIG</strong> , the caller should transmit the next request using TCP rather than UDP. If this function returns any other error, the TGS exchange has failed.</p>
80 <div class="admonition note">
81 <p class="admonition-title">Note</p>
82 <p>New in 1.9</p>
83 </div>
84 </section>
85
86
87 <div class="clearer"></div>
88 </div>
89 </div>
90 </div>
91 </div>
92 <div class="sidebar">
93
94 <h2>On this page</h2>
95 <ul>
96 <li><a class="reference internal" href="#">krb5_tkt_creds_step - Get the next KDC request in a TGS exchange.</a></li>
97 </ul>
98
99 <br/>
100 <h2>Table of contents</h2>
101 <ul class="current">
102 <li class="toctree-l1"><a class="reference internal" href="../../../user/index.html">For users</a></li>
103 <li class="toctree-l1"><a class="reference internal" href="../../../admin/index.html">For administrators</a></li>
104 <li class="toctree-l1 current"><a class="reference internal" href="../../index.html">For application developers</a><ul class="current">
105 <li class="toctree-l2"><a class="reference internal" href="../../gssapi.html">Developing with GSSAPI</a></li>
106 <li class="toctree-l2"><a class="reference internal" href="../../y2038.html">Year 2038 considerations for uses of krb5_timestamp</a></li>
107 <li class="toctree-l2"><a class="reference internal" href="../../h5l_mit_apidiff.html">Differences between Heimdal and MIT Kerberos API</a></li>
108 <li class="toctree-l2"><a class="reference internal" href="../../init_creds.html">Initial credentials</a></li>
109 <li class="toctree-l2"><a class="reference internal" href="../../princ_handle.html">Principal manipulation and parsing</a></li>
110 <li class="toctree-l2 current"><a class="reference internal" href="../index.html">Complete reference - API and datatypes</a><ul class="current">
111 <li class="toctree-l3 current"><a class="reference internal" href="index.html">krb5 API</a></li>
112 <li class="toctree-l3"><a class="reference internal" href="../types/index.html">krb5 types and structures</a></li>
113 <li class="toctree-l3"><a class="reference internal" href="../macros/index.html">krb5 simple macros</a></li>
114 </ul>
115 </li>
116 </ul>
117 </li>
118 <li class="toctree-l1"><a class="reference internal" href="../../../plugindev/index.html">For plugin module developers</a></li>
119 <li class="toctree-l1"><a class="reference internal" href="../../../build/index.html">Building Kerberos V5</a></li>
120 <li class="toctree-l1"><a class="reference internal" href="../../../basic/index.html">Kerberos V5 concepts</a></li>
121 <li class="toctree-l1"><a class="reference internal" href="../../../formats/index.html">Protocols and file formats</a></li>
122 <li class="toctree-l1"><a class="reference internal" href="../../../mitK5features.html">MIT Kerberos features</a></li>
123 <li class="toctree-l1"><a class="reference internal" href="../../../build_this.html">How to build this documentation from the source</a></li>
124 <li class="toctree-l1"><a class="reference internal" href="../../../about.html">Contributing to the MIT Kerberos Documentation</a></li>
125 <li class="toctree-l1"><a class="reference internal" href="../../../resources.html">Resources</a></li>
126 </ul>
127
128 <br/>
129 <h4><a href="../../../index.html">Full Table of Contents</a></h4>
130 <h4>Search</h4>
131 <form class="search" action="../../../search.html" method="get">
132 <input type="text" name="q" size="18" />
133 <input type="submit" value="Go" />
134 <input type="hidden" name="check_keywords" value="yes" />
135 <input type="hidden" name="area" value="default" />
136 </form>
137
138 </div>
139 <div class="clearer"></div>
140 </div>
141 </div>
142
143 <div class="footer-wrapper">
144 <div class="footer" >
145 <div class="right" ><i>Release: 1.22.1</i><br />
146 &copy; <a href="../../../copyright.html">Copyright</a> 1985-2025, MIT.
147 </div>
148 <div class="left">
149
150 <a href="../../../index.html" title="Full Table of Contents"
151 >Contents</a> |
152 <a href="krb5_tkt_creds_init.html" title="krb5_tkt_creds_init - Create a context to get credentials from a KDC’s Ticket Granting Service."
153 >previous</a> |
154 <a href="krb5_unmarshal_credentials.html" title="krb5_unmarshal_credentials - Deserialize a krb5_creds object."
155 >next</a> |
156 <a href="../../../genindex.html" title="General Index"
157 >index</a> |
158 <a href="../../../search.html" title="Enter search criteria"
159 >Search</a> |
160 <a href="mailto:[email protected]?subject=Documentation__krb5_tkt_creds_step - Get the next KDC request in a TGS exchange.">feedback</a>
161 </div>
162 </div>
163 </div>
164
165 </body>
166 </html>