diff options
author | Mark Eichin <eichin@mit.edu> | 1996-04-09 22:45:03 +0000 |
---|---|---|
committer | Mark Eichin <eichin@mit.edu> | 1996-04-09 22:45:03 +0000 |
commit | 692dc59e6ce1a2c96bfa4994a8b19a1c40456a32 (patch) | |
tree | 2191a3f1831f96c5f5d91a19905fdee9b8a748ec /src/kdc/kdc_util.c | |
parent | bc1efb60d633dba371ed918f28cc18790653cddc (diff) | |
download | krb5-692dc59e6ce1a2c96bfa4994a8b19a1c40456a32.zip krb5-692dc59e6ce1a2c96bfa4994a8b19a1c40456a32.tar.gz krb5-692dc59e6ce1a2c96bfa4994a8b19a1c40456a32.tar.bz2 |
add SAM preauth extensible snk4 support
add AFS3 preauth response and salt hooks
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7766 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/kdc/kdc_util.c')
-rw-r--r-- | src/kdc/kdc_util.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/kdc/kdc_util.c b/src/kdc/kdc_util.c index 4e427ab..7e57c5f 100644 --- a/src/kdc/kdc_util.c +++ b/src/kdc/kdc_util.c @@ -1343,11 +1343,14 @@ get_salt_from_key(context, client, client_key, salt) salt->data = 0; salt->length = 0; break; - case KRB5_KDB_SALTTYPE_NOREALM: if ((retval = krb5_principal2salt_norealm(context, client, salt))) return retval; break; + case KRB5_KDB_SALTTYPE_AFS3: + /* send the same salt as with onlyrealm - but with no type info, + we just hope they figure it out on the other end. */ + /* fall through to onlyrealm: */ case KRB5_KDB_SALTTYPE_ONLYREALM: realm = krb5_princ_realm(context, client); salt->length = realm->length; |