<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://k5wiki.kerberos.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=MattCrawford</id>
		<title>K5Wiki - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="https://k5wiki.kerberos.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=MattCrawford"/>
		<link rel="alternate" type="text/html" href="https://k5wiki.kerberos.org/wiki/Special:Contributions/MattCrawford"/>
		<updated>2026-04-22T15:52:40Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.27.4</generator>

	<entry>
		<id>https://k5wiki.kerberos.org/wiki?title=Developing_a_preauth_plugin&amp;diff=3868</id>
		<title>Developing a preauth plugin</title>
		<link rel="alternate" type="text/html" href="https://k5wiki.kerberos.org/wiki?title=Developing_a_preauth_plugin&amp;diff=3868"/>
				<updated>2011-06-07T19:37:28Z</updated>
		
		<summary type="html">&lt;p&gt;MattCrawford: RFC number wrong: 4210 s/b 4120 /* Recommended Reading */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Recommended Reading ==&lt;br /&gt;
* Read RFC 4120&lt;br /&gt;
* Read &amp;lt;code&amp;gt;draft-ietf-krb-wg-preauth-framework&amp;lt;/code&amp;gt; (version 16 current as of 4/27/2010)&lt;br /&gt;
* Read &amp;lt;code&amp;gt;src/include/krb5/preauth_plugin.h&amp;lt;/code&amp;gt;&lt;br /&gt;
* Read &amp;lt;code&amp;gt;src/plugins/preauth/encrypted_challenge/*&amp;lt;/code&amp;gt; for a (tragically) comment-less implementation of a preauth plugin implemented using FAST&lt;br /&gt;
* ghudson's quick flow overview at http://mailman.mit.edu/pipermail/krbdev/2010-April/008891.html&lt;br /&gt;
&lt;br /&gt;
== Pre-authentication Limitations ==&lt;br /&gt;
* There is no way to require that a certain preauth method is used.&lt;br /&gt;
* Likewise, there is also no way to indicate a preferred preauth flow (method A, then B, then C).&lt;br /&gt;
* FAST-based preauth (see &amp;lt;code&amp;gt;draft-ietf-krb-wg-preauth-framework&amp;lt;/code&amp;gt;) support is largely unimplemented from a practical usage perspective at this point.&lt;br /&gt;
&lt;br /&gt;
krbdev thread References for above:&lt;br /&gt;
* http://mailman.mit.edu/pipermail/krbdev/2010-April/008902.html&lt;br /&gt;
* http://mailman.mit.edu/pipermail/krbdev/2010-April/008933.html&lt;br /&gt;
&lt;br /&gt;
== Notes and Debugging Tips ==&lt;br /&gt;
* Define &amp;lt;code&amp;gt;DEBUG&amp;lt;/code&amp;gt; as part of your build to tickle logging of more info in your KDC log file (proabably &amp;lt;code&amp;gt;krb5kdc.log&amp;lt;/code&amp;gt;).&lt;br /&gt;
* Include &amp;lt;code&amp;gt;&amp;lt;syslog.h&amp;gt;&amp;lt;/code&amp;gt;, link against &amp;lt;code&amp;gt;kadm5&amp;lt;something&amp;gt;&amp;lt;/code&amp;gt; and make liberal use of &amp;lt;code&amp;gt;krb5_klog_syslog&amp;lt;/code&amp;gt;&lt;br /&gt;
* Testing a FAST factor preauth plugin such as &amp;lt;code&amp;gt;encrypted-challenge&amp;lt;/code&amp;gt; : http://mailman.mit.edu/pipermail/krbdev/2010-April/008935.html&lt;br /&gt;
* Make use of &amp;lt;code&amp;gt;preferred_preauth_types&amp;lt;/code&amp;gt; in the &amp;lt;code&amp;gt;[libdefaults]&amp;lt;/code&amp;gt; section of &amp;lt;code&amp;gt;krb5.conf&amp;lt;/code&amp;gt;&lt;br /&gt;
* Make use of [http://www.wireshark.org/ Wireshark] (terminal-based command is &amp;lt;code&amp;gt;tshark&amp;lt;/code&amp;gt; for those without graphical environments) for examining network traffic.&lt;/div&gt;</summary>
		<author><name>MattCrawford</name></author>	</entry>

	</feed>