]> git.decadent.org.uk Git - nfs-utils.git/commitdiff
Add the other two DES encryption types to the default list of
authorKevin Coffman <kwc@citi.umich.edu>
Wed, 7 May 2008 18:32:45 +0000 (14:32 -0400)
committerSteve Dickson <steved@redhat.com>
Wed, 7 May 2008 18:32:45 +0000 (14:32 -0400)
Kerberos encryption types that may be negotiated.

Signed-off-by: Kevin Coffman <kwc@citi.umich.edu>
Signed-off-by: Steve Dickson <steved@redhat.com>
utils/gssd/krb5_util.c

index 3cf27ca88439bdc0fcde326ae75b3de95eb43f9c..0589cd87e8c3237a76c7ca14fcafc4e3e1b78fa9 100644 (file)
@@ -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 */