summaryrefslogtreecommitdiffstats
path: root/src/lib/krb5/krb/str_conv.c
diff options
context:
space:
mode:
authorMark Eichin <eichin@mit.edu>1996-04-09 22:57:14 +0000
committerMark Eichin <eichin@mit.edu>1996-04-09 22:57:14 +0000
commitc7a37c2524a4cfa1e7c812c555f9c5c93d9be98e (patch)
tree2d1dbf0379ee6ce96a4bf8596a47017f79f3f980 /src/lib/krb5/krb/str_conv.c
parentb0ed9cf7ad2f470fb4e70d68d0538ed271661c2e (diff)
downloadkrb5-c7a37c2524a4cfa1e7c812c555f9c5c93d9be98e.tar.gz
krb5-c7a37c2524a4cfa1e7c812c555f9c5c93d9be98e.tar.xz
krb5-c7a37c2524a4cfa1e7c812c555f9c5c93d9be98e.zip
preauth.c: add SAM support
str_conv.c: add AFS3 support init_ctx.c: add processing for default_tkt_enctypes, matching default_tgs_enctypes but client-side (so as not to hard code it, since hard coded values are usually wrong :-) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7773 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/krb5/krb/str_conv.c')
-rw-r--r--src/lib/krb5/krb/str_conv.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/krb5/krb/str_conv.c b/src/lib/krb5/krb/str_conv.c
index fea6d6b2f7..854ac9189b 100644
--- a/src/lib/krb5/krb/str_conv.c
+++ b/src/lib/krb5/krb/str_conv.c
@@ -104,11 +104,13 @@ static const char stype_v4_in[] = "v4";
static const char stype_norealm_in[] = "norealm";
static const char stype_olrealm_in[] = "onlyrealm";
static const char stype_special_in[] = "special";
+static const char stype_afs3_in[] = "afs3";
static const char stype_v5_out[] = "Version 5";
static const char stype_v4_out[] = "Version 4";
static const char stype_norealm_out[] = "Version 5 - No Realm";
static const char stype_olrealm_out[] = "Version 5 - Realm Only";
static const char stype_special_out[] = "Special";
+static const char stype_afs3_out[] = "AFS version 3";
/* Checksum type strings */
static const char cstype_crc32_in[] = "crc32";
@@ -195,7 +197,8 @@ static const struct salttype_lookup_entry salttype_table[] = {
{ KRB5_KDB_SALTTYPE_V4, stype_v4_in, stype_v4_out },
{ KRB5_KDB_SALTTYPE_NOREALM, stype_norealm_in, stype_norealm_out },
{ KRB5_KDB_SALTTYPE_ONLYREALM, stype_olrealm_in, stype_olrealm_out },
-{ KRB5_KDB_SALTTYPE_SPECIAL, stype_special_in, stype_special_out }
+{ KRB5_KDB_SALTTYPE_SPECIAL, stype_special_in, stype_special_out },
+{ KRB5_KDB_SALTTYPE_AFS3, stype_afs3_in, stype_afs3_out }
};
static const int salttype_table_nents = sizeof(salttype_table)/
sizeof(salttype_table[0]);