[sudo-commits] sudo changeset 14624:aa7304a533e0

Todd C. Miller Todd.Miller at sudo.ws
Fri Mar 10 11:25:32 MST 2023


changeset:	14624:aa7304a533e0 in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/aa7304a533e0
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Fri Mar 10 10:05:33 2023 -0700

Log Message:
	Add LDAP-specific innetgr() implementation.
	Wheh netgroup_base is set we now do out own netgroup lookups using
	LDAP.  Previously, LDAP was queried directly to get a list of the
	netgroups the user belongs to but other netgroups queries went
	through innetgr(3).  This makes it possible to use netgroups
	in LDAP sudoers on systems that don't have an innetgr() function.
	GitHub issue #251.

diffstat:

 MANIFEST                       |    1 +
 configure                      |    2 +-
 m4/ldap.m4                     |    2 +-
 plugins/sudoers/Makefile.in    |   26 ++++
 plugins/sudoers/ldap.c         |   11 +-
 plugins/sudoers/ldap_innetgr.c |  264 +++++++++++++++++++++++++++++++++++++++++
 plugins/sudoers/sudo_ldap.h    |    3 +
 scripts/mkdep.pl               |    2 +-
 8 files changed, 307 insertions(+), 4 deletions(-)



More information about the sudo-commits mailing list