2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-31 06:15:37 +00:00

When querying LDAP netgroups, use the NIS domain if it is sent but

also match nisNetgroupTriple entries that have no domain.
This commit is contained in:
Todd C. Miller
2015-01-30 14:45:22 -07:00
parent 97469c243c
commit 7ec9cfb493
6 changed files with 127 additions and 57 deletions

View File

@@ -211,6 +211,7 @@ int cmndlist_matches(const struct member_list *list);
int hostlist_matches(const struct member_list *list);
int runaslist_matches(const struct member_list *user_list, const struct member_list *group_list, struct member **matching_user, struct member **matching_group);
int userlist_matches(const struct passwd *pw, const struct member_list *list);
const char *sudo_getdomainname(void);
/* toke.c */
void init_lexer(void);