1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>krb5plugin_an2ln_ftable_desc Struct Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<p>
<a href="http://www.h5l.org/"><img src="http://www.h5l.org/keyhole-heimdal.png" alt="keyhole logo"/></a>
</p>
<!-- end of header marker -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
initMenu('',false,false,'search.php','Search');
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">krb5plugin_an2ln_ftable_desc Struct Reference<div class="ingroups"><a class="el" href="group__krb5__support.html">Heimdal Kerberos 5 support functions</a></div></div> </div>
</div><!--header-->
<div class="contents">
<p>Description of the krb5_aname_to_lname(3) plugin facility.
<a href="structkrb5plugin__an2ln__ftable__desc.html#details">More...</a></p>
<p><code>#include <an2ln_plugin.h></code></p>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Description of the krb5_aname_to_lname(3) plugin facility. </p>
<p>The krb5_aname_to_lname(3) function is pluggable. The plugin is named KRB5_PLUGIN_AN2LN ("an2ln"), with a single minor version, KRB5_PLUGIN_AN2LN_VERSION_0 (0).</p>
<p>The plugin for krb5_aname_to_lname(3) consists of a data symbol referencing a structure of type krb5plugin_an2ln_ftable, with four fields:</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">init</td><td>Plugin initialization function (see krb5-plugin(7))</td></tr>
<tr><td class="paramname">minor_version</td><td>The plugin minor version number (0)</td></tr>
<tr><td class="paramname">fini</td><td>Plugin finalization function</td></tr>
<tr><td class="paramname">an2ln</td><td>Plugin aname_to_lname function</td></tr>
</table>
</dd>
</dl>
<p>The an2ln field is the plugin entry point that performs the traditional aname_to_lname operation however the plugin desires. It is invoked in no particular order relative to other an2ln plugins, but it has a 'rule' argument that indicates which plugin is intended to act on the rule. The plugin an2ln function must return KRB5_PLUGIN_NO_HANDLE if the rule is not applicable to it.</p>
<p>The plugin an2ln function has the following arguments, in this order:</p>
<ol type="1">
<li>plug_ctx, the context value output by the plugin's init function</li>
<li>context, a krb5_context</li>
<li>rule, the aname_to_lname rule being evaluated (from krb5.conf(5))</li>
<li>aname, the krb5_principal to be mapped to an lname</li>
<li>set_res_f, a function the plugin must call to set its result</li>
<li>set_res_ctx, the first argument to set_res_f (the second is the result lname string) </li>
</ol>
</div><hr/>The documentation for this struct was generated from the following file:<ul>
<li>/Volumes/gitvol/viktor/heimdal/lib/krb5/an2ln_plugin.h</li>
</ul>
</div><!-- contents -->
<hr size="1"><address style="text-align: right;"><small>
Generated on Fri Jun 7 2019 02:49:56 for HeimdalKerberos5library by <a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.8.13</small></address>
</body>
</html>
|