From: Kevin Coffman Date: Wed, 7 May 2008 18:32:45 +0000 (-0400) Subject: Add the other two DES encryption types to the default list of X-Git-Tag: nfs-utils-1-1-3~48 X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=313ab396c04afe160ee6764e28b5e61ce19c46d9;p=nfs-utils.git Add the other two DES encryption types to the default list of Kerberos encryption types that may be negotiated. Signed-off-by: Kevin Coffman Signed-off-by: Steve Dickson --- diff --git a/utils/gssd/krb5_util.c b/utils/gssd/krb5_util.c index 3cf27ca..0589cd8 100644 --- a/utils/gssd/krb5_util.c +++ b/utils/gssd/krb5_util.c @@ -277,7 +277,9 @@ limit_krb5_enctypes(struct rpc_gss_sec *sec, uid_t uid) u_int maj_stat, min_stat; gss_cred_id_t credh; gss_OID_set_desc desired_mechs; - krb5_enctype enctypes[] = { ENCTYPE_DES_CBC_CRC }; + krb5_enctype enctypes[] = { ENCTYPE_DES_CBC_CRC, + ENCTYPE_DES_CBC_MD5, + ENCTYPE_DES_CBC_MD4 }; int num_enctypes = sizeof(enctypes) / sizeof(enctypes[0]); /* We only care about getting a krb5 cred */