<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<font face="Bitstream Cyberbit">Wyllys Ingersoll via RT wrote:<br>
</font>
<blockquote cite="midrt-2234-9837.11.4090272130393@krbdev.mit.edu"
type="cite">
<pre wrap=""><font face="Bitstream Cyberbit">The new code in kdc_util.c
request->kdc_options &= ~(TGS_OPTIONS_HANDLED);
Actually causes clears the kdc_options field of all
handled options, which (in most cases) zeros the field.
This is probably not intended...
To properly disable unrecognized flags, I think you need
to do something like this:
badflags = (request->kdc_options & ~(TGS_OPTIONS_HANDLED));
request->kdc_options &= ~badflags;
-Wyllys
</font></pre>
</blockquote>
Shouldn't this simply be?<br>
<br>
request->kdc_options &= TGS_OPTIONS_HANDLED;<br>
<br>
<br>
</body>
</html>