From 001fc2410270ec1dcd7d3c15c30cf4c4652dc38c Mon Sep 17 00:00:00 2001 From: Nicolas Williams Date: Thu, 20 Oct 2011 02:23:55 -0500 Subject: [PATCH] Removed vestiges of no-reverse-lookup/reverse-lookup option that was never implemented --- lib/krb5/krb5.h | 3 +-- lib/krb5/principal.c | 4 ---- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/lib/krb5/krb5.h b/lib/krb5/krb5.h index 4a7c2ca30..9a81abda9 100644 --- a/lib/krb5/krb5.h +++ b/lib/krb5/krb5.h @@ -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; diff --git a/lib/krb5/principal.c b/lib/krb5/principal.c index 0b6325a0e..ba63149cd 100644 --- a/lib/krb5/principal.c +++ b/lib/krb5/principal.c @@ -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); -- 2.11.4.GIT