[sudo-cvs] CVS commit: sudo

Todd C. Miller Todd.Miller at courtesan.com
Tue Oct 26 18:19:58 EDT 2004


Module Name:	sudo
Committed By:	millert
Date:		Tue Oct 26 22:19:58 UTC 2004

Modified Files:
	sudo: ldap.c

Log Message:
Split sudo_ldap_check() into three pieces: sudo_ldap_open(),
udo_ldap_update_defaults() and sudo_ldap_check().  This allows
us to connecto to LDAP, apply the default options, find the command
in the user's path, and then check whether the user is allowed to
run it.  The important thing here is that the default runas user
may be specified as a default option and that needs to be set
before we search for the command.


To generate a diff of this commit:
cvs rdiff -r1.17 -r1.18 sudo/ldap.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




More information about the sudo-commits mailing list