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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user