You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

12 lines
541 B

diff -up nfs-utils-1.3.0/utils/gssd/krb5_util.c.orig nfs-utils-1.3.0/utils/gssd/krb5_util.c
--- nfs-utils-1.3.0/utils/gssd/krb5_util.c.orig 2017-03-31 16:34:11.775037704 -0400
+++ nfs-utils-1.3.0/utils/gssd/krb5_util.c 2017-04-08 15:18:53.619038636 -0400
@@ -848,7 +848,7 @@ find_keytab_entry(krb5_context context,
i = 0;
realm = realmnames[i];
- if (strcmp (realm, preferred_realm) != 0) {
+ if (preferred_realm && strcmp (realm, preferred_realm) != 0) {
realm = preferred_realm;
/* resetting the realmnames index */
i = -1;