<div dir="ltr">At a quick glance, this also seems to be an issue in the latest code. <br><div><br></div><div>Thkx as always, <br><br></div><div>-Dan<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 31, 2017 at 4:14 PM, Daniel Schmidt <span dir="ltr"><<a href="mailto:daniel.schmidt@wyo.gov" target="_blank">daniel.schmidt@wyo.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>My apologies for the necromancy, but I noticed something concerning this old thread. Being required to use the AFL patch, I am stuck on version F4.0.4.19. However, I noticed the patch is missing the modifications to pwlib.c. This patch will not work as is, at least not in <span class="m_8040765149199711489gmail-im"> 4.0.4.19</span>. I believe an example of the correct modifications are here:<br><br><a href="http://www.shrubbery.net/pipermail/tac_plus/2008-October/000282.html" target="_blank">http://www.shrubbery.net/<wbr>pipermail/tac_plus/2008-<wbr>October/000282.html</a><br><br></div><div>Thank you, <br></div><div>-Dan <br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 20, 2012 at 4:23 PM, john heasley <span dir="ltr"><<a href="mailto:heas@shrubbery.net" target="_blank">heas@shrubbery.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Fri, Mar 16, 2012 at 11:25:31PM +0100, Jeroen Nijhof:<br>
<span>> Dear John,<br>
><br>
> Since I've noticed my old pam patch for pap is still used I've decided<br>
> to rewrite the patch.<br>
><br>
> Attached you can find the patch which will enable PAM support for PAP. I<br>
> used the 4.0.4.23 branch but it also works for 4.0.4.19 and 4.0.4.22.<br>
><br>
> Maybe it's worth to integrate the patch with the upstream code?<br>
<br>
</span>got it. thanks, Jeroen.<br>
<span><br>
> Thanks!<br>
><br>
> With kind regards,<br>
> Jeroen Nijhof<br>
<br>
</span>> diff -ur tacacs+-F4.0.4.23.orig/config.<wbr>c tacacs+-F4.0.4.23/config.c<br>
> --- tacacs+-F4.0.4.23.orig/config.<wbr>c 2012-01-24 01:05:22.000000000 +0100<br>
> +++ tacacs+-F4.0.4.23/config.c 2012-03-16 22:15:38.835033501 +0100<br>
> @@ -86,6 +86,7 @@<br>
> #endif<br>
> pap = cleartext <string> |<br>
> pap = des <string> |<br>
> + pap = PAM |<br>
> opap = cleartext <string> |<br>
> global = cleartext <string> |<br>
> msg = <string><br>
> @@ -1134,6 +1135,12 @@<br>
> parse(S_separator);<br>
> switch(sym_code) {<br>
><br>
> +#ifdef HAVE_PAM<br>
> + case S_pam:<br>
> + user->pap = tac_strdup(sym_buf);<br>
> + break;<br>
> +#endif<br>
> +<br>
> case S_cleartext:<br>
> case S_des:<br>
> sprintf(buf, "%s ", sym_buf);<br>
> @@ -1143,7 +1150,11 @@<br>
> break;<br>
><br>
> default:<br>
> - parse_error("expecting 'cleartext', or 'des' keyword after "<br>
> + parse_error("expecting 'cleartext', "<br>
> +#ifdef HAVE_PAM<br>
> + "'PAM', "<br>
> +#endif<br>
> + "or 'des' keyword after "<br>
> "'pap =' on line %d", sym_line);<br>
> }<br>
> sym_get();<br>
<div class="m_8040765149199711489HOEnZb"><div class="m_8040765149199711489h5"><br>
______________________________<wbr>_________________<br>
tac_plus mailing list<br>
<a href="mailto:tac_plus@shrubbery.net" target="_blank">tac_plus@shrubbery.net</a><br>
<a href="http://www.shrubbery.net/mailman/listinfo.cgi/tac_plus" rel="noreferrer" target="_blank">http://www.shrubbery.net/mailm<wbr>an/listinfo.cgi/tac_plus</a><br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
<br>
<br>E-Mail to and from me, in connection with the transaction <br>of public business, is subject to the Wyoming Public Records <br>Act and may be disclosed to third parties.<br>