Removed vestiges of no-reverse-lookup/reverse-lookup option that was never implemented

This commit is contained in:
Nicolas Williams
2011-10-20 02:23:55 -05:00
parent a5e77c578e
commit 001fc24102
2 changed files with 1 additions and 6 deletions

View File

@@ -898,8 +898,7 @@ typedef enum krb5_name_canon_rule_type {
typedef enum krb5_name_canon_rule_options {
KRB5_NCRO_GC_ONLY = 1 << 0,
KRB5_NCRO_NO_REFERRALS = 1 << 1,
KRB5_NCRO_NO_REVLOOKUP = 1 << 2,
KRB5_NCRO_SECURE = 1 << 3
KRB5_NCRO_SECURE = 1 << 2
} krb5_name_canon_rule_options;
typedef struct krb5_name_canon_rule *krb5_name_canon_rule;

View File

@@ -1328,10 +1328,6 @@ rule_parse_token(krb5_context context, krb5_name_canon_rule rule,
rule->options |= KRB5_NCRO_NO_REFERRALS;
} else if (strcmp(tok, "use_referrals") == 0) {
rule->options &= ~KRB5_NCRO_NO_REFERRALS;
} else if (strcmp(tok, "reverse_lookup") == 0) {
rule->options &= ~KRB5_NCRO_NO_REVLOOKUP;
} else if (strcmp(tok, "no_reverse_lookup") == 0) {
rule->options |= KRB5_NCRO_NO_REVLOOKUP;
/* Rule ancilliary data: */
} else if (strncmp(tok, "domain=", strlen("domain=")) == 0) {
free(rule->domain);