Fix special handling of ipa_hostname that was lost in sudo 1.8.24.
We now include the long and short hostname in sudo parser container.
This commit is contained in:
@@ -272,6 +272,7 @@ struct sudoers_parse_tree {
|
||||
struct userspec_list userspecs;
|
||||
struct defaults_list defaults;
|
||||
struct rbtree *aliases;
|
||||
const char *shost, *lhost;
|
||||
};
|
||||
|
||||
/* alias.c */
|
||||
@@ -297,7 +298,7 @@ void free_userspec(struct userspec *us);
|
||||
void free_userspecs(struct userspec_list *usl);
|
||||
void free_default(struct defaults *def, struct member_list **binding);
|
||||
void free_defaults(struct defaults_list *defs);
|
||||
void init_parse_tree(struct sudoers_parse_tree *parse_tree);
|
||||
void init_parse_tree(struct sudoers_parse_tree *parse_tree, const char *shost, const char *lhost);
|
||||
void free_parse_tree(struct sudoers_parse_tree *parse_tree);
|
||||
void reparent_parse_tree(struct sudoers_parse_tree *new_tree);
|
||||
|
||||
|
Reference in New Issue
Block a user