[sudo-commits] sudo changeset 7141:9aaefb908415

Todd C. Miller Todd.Miller at courtesan.com
Tue Aug 9 14:54:59 EDT 2011

changeset:	7141:9aaefb908415 in /home/hg/sudo
details:	http://www.sudo.ws/repos/sudo/rev/9aaefb908415
user:		Todd C. Miller <Todd.Miller at courtesan.com>
date:		Tue Aug 09 14:54:42 2011 -0400

Log Message:
	Go back to using a callback for runas_default to keep runas_pw in
	sync.  This is needed to make per-entry runas_default settings work
	with LDAP-based sudoers.  Instead of declaring it a callback in
	def_data.in, sudo and testsudoers poke sudo_defs_table[] which is
	a bit naughty, but avoids requiring stub functions in visudo and
	the tests.


 plugins/sudoers/defaults.h    |   2 +-
 plugins/sudoers/sudoers.c     |  20 +++++++++++---------
 plugins/sudoers/testsudoers.c |  21 +++++++++++++++------
 3 files changed, 27 insertions(+), 16 deletions(-)

More information about the sudo-commits mailing list