gsskrb5: Make krb5 mech use referrals
Modify the gss krb5 mech to always use referrals unless the KRB5_NCRO_NO_REFERRALS flag is set. Change-Id: I7efd873ac922a43adafa2c492703b576847a885f
This commit is contained in:

committed by
Jeffrey Altman

parent
8a5d50a328
commit
cfdf6d5cbe
@@ -1415,10 +1415,6 @@ rule_parse_token(krb5_context context, krb5_name_canon_rule rule,
|
||||
rule->options |= KRB5_NCRO_GC_ONLY;
|
||||
} else if (strcmp(tok, "no_referrals") == 0) {
|
||||
rule->options |= KRB5_NCRO_NO_REFERRALS;
|
||||
rule->options &= ~KRB5_NCRO_USE_REFERRALS;
|
||||
} else if (strcmp(tok, "use_referrals") == 0) {
|
||||
rule->options |= KRB5_NCRO_USE_REFERRALS;
|
||||
rule->options &= ~KRB5_NCRO_NO_REFERRALS;
|
||||
/* Rule ancilliary data: */
|
||||
} else if (strncmp(tok, "domain=", strlen("domain=")) == 0) {
|
||||
free(rule->domain);
|
||||
|
Reference in New Issue
Block a user