[sudo-commits] sudo changeset 6189:9a008cd81685
Todd C. Miller
Todd.Miller at courtesan.com
Sun Nov 14 10:50:26 EST 2010
changeset: 6189:9a008cd81685 in /home/hg/sudo
details: http://www.sudo.ws/repos/sudo/rev/9a008cd81685
user: Todd C. Miller <Todd.Miller at courtesan.com>
date: Sun Nov 14 10:50:16 2010 -0500
Log Message:
Add user_matches and host_matches to struct ldap_result and set them
in sudo_ldap_result_get() which is where the user and host checks live.
When iterating through the ordered results, take the first match.
Remove allowed flag from struct ldap_entry_wrapper, we just use first match.
diffstat:
ldap.c | 103 +++++++++++++++++++++++++++++-----------------------------------
1 files changed, 47 insertions(+), 56 deletions(-)
More information about the sudo-commits
mailing list