]> granicus.if.org Git - sudo/commit
Simplify the nss interface such that each sudoers provider fills
authorTodd C. Miller <Todd.Miller@sudo.ws>
Mon, 14 May 2018 15:05:03 +0000 (09:05 -0600)
committerTodd C. Miller <Todd.Miller@sudo.ws>
Mon, 14 May 2018 15:05:03 +0000 (09:05 -0600)
commitf9be3a48a221560671bd3dc6425f3aac348329b4
tree6d679623fb00ca38a5854843299c600bab25199a
parent71e98d94930ea253ce9c702b4be9de1d94ad0d78
Simplify the nss interface such that each sudoers provider fills
in a per-nss list of userspecs and defaults instead of using separate
lookup and list functions.  This makes it possible to have a single
implementation of the code for sudoers lookup and listing.
17 files changed:
MANIFEST
plugins/sudoers/Makefile.in
plugins/sudoers/defaults.c
plugins/sudoers/defaults.h
plugins/sudoers/file.c [new file with mode: 0644]
plugins/sudoers/ldap.c
plugins/sudoers/ldap_util.c
plugins/sudoers/parse.c
plugins/sudoers/parse.h
plugins/sudoers/sssd.c
plugins/sudoers/sudo_ldap.h
plugins/sudoers/sudo_nss.c
plugins/sudoers/sudo_nss.h
plugins/sudoers/sudoers.c
plugins/sudoers/sudoers.h
plugins/sudoers/testsudoers.c
plugins/sudoers/visudo.c