type KRB5_PADATA_PW_SALT to the hint list of supported
preauthentication systems, since it doesn't help to send it. (And it
may screw up Cygnus KerbNet clients.)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10466
dc483132-0cff-0310-8789-
dd5450dbe970
+Fri Feb 20 15:58:21 1998 Theodore Y. Ts'o <tytso@mit.edu>
+
+ * kdc_preauth.c (get_preauth_hint_list): Don't add the pseudo
+ preauth type KRB5_PADATA_PW_SALT to the hint list of
+ supported preauthentication systems, since it doesn't help
+ to send it. (And it may screw up Cygnus KerbNet clients.)
+
Wed Feb 18 16:04:22 1998 Tom Yu <tlyu@mit.edu>
* Makefile.in (thisconfigdir): Remove trailing slash.
#define PA_HARDWARE 0x00000001
#define PA_REQUIRED 0x00000002
#define PA_SUFFICIENT 0x00000004
+ /* Not really a padata, so don't include it in the etype list*/
+#define PA_PSEUDO 0x00000008
static krb5_preauth_systems preauth_systems[] = {
{
},
{
KRB5_PADATA_PW_SALT,
- 0,
+ PA_PSEUDO, /* Don't include this in the error list */
0,
0,
return_pw_salt
for (ap = preauth_systems; ap->type != -1; ap++) {
if (hw_only && !(ap->flags & PA_HARDWARE))
continue;
+ if (ap->flags & PA_PSEUDO)
+ continue;
*pa = malloc(sizeof(krb5_pa_data));
if (*pa == 0)
goto errout;