Removed vestiges of no-reverse-lookup/reverse-lookup option that was never implemented
This commit is contained in:
		| @@ -898,8 +898,7 @@ typedef enum krb5_name_canon_rule_type { | |||||||
| typedef enum krb5_name_canon_rule_options { | typedef enum krb5_name_canon_rule_options { | ||||||
| 	KRB5_NCRO_GC_ONLY = 1 << 0, | 	KRB5_NCRO_GC_ONLY = 1 << 0, | ||||||
| 	KRB5_NCRO_NO_REFERRALS = 1 << 1, | 	KRB5_NCRO_NO_REFERRALS = 1 << 1, | ||||||
| 	KRB5_NCRO_NO_REVLOOKUP = 1 << 2, | 	KRB5_NCRO_SECURE = 1 << 2 | ||||||
| 	KRB5_NCRO_SECURE = 1 << 3 |  | ||||||
| } krb5_name_canon_rule_options; | } krb5_name_canon_rule_options; | ||||||
|  |  | ||||||
| typedef struct krb5_name_canon_rule *krb5_name_canon_rule; | typedef struct krb5_name_canon_rule *krb5_name_canon_rule; | ||||||
|   | |||||||
| @@ -1328,10 +1328,6 @@ rule_parse_token(krb5_context context, krb5_name_canon_rule rule, | |||||||
| 	rule->options |= KRB5_NCRO_NO_REFERRALS; | 	rule->options |= KRB5_NCRO_NO_REFERRALS; | ||||||
|     } else if (strcmp(tok, "use_referrals") == 0) { |     } else if (strcmp(tok, "use_referrals") == 0) { | ||||||
| 	rule->options &= ~KRB5_NCRO_NO_REFERRALS; | 	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: */ |     /* Rule ancilliary data: */ | ||||||
|     } else if (strncmp(tok, "domain=", strlen("domain=")) == 0) { |     } else if (strncmp(tok, "domain=", strlen("domain=")) == 0) { | ||||||
| 	free(rule->domain); | 	free(rule->domain); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Nicolas Williams
					Nicolas Williams