Skip to content

Commit

Permalink
Fix special handling of ipa_hostname that was lost in sudo 1.8.24.
Browse files Browse the repository at this point in the history
We now include the long and short hostname in sudo parser container.
  • Loading branch information
millert committed Aug 15, 2019
1 parent b4bef30 commit e99082e
Show file tree
Hide file tree
Showing 7 changed files with 140 additions and 121 deletions.
2 changes: 1 addition & 1 deletion plugins/sudoers/file.c
Expand Up @@ -85,7 +85,7 @@ sudo_file_open(struct sudo_nss *nss)
if (handle != NULL) {
handle->fp = open_sudoers(sudoers_file, false, NULL);
if (handle->fp != NULL) {
init_parse_tree(&handle->parse_tree);
init_parse_tree(&handle->parse_tree, NULL, NULL);
} else {
free(handle);
handle = NULL;
Expand Down

0 comments on commit e99082e

Please sign in to comment.