/[smeserver]/rpms/sudo/sme9/sudo-1.8.6p3-sssd-mailfix.patch
ViewVC logotype

Annotation of /rpms/sudo/sme9/sudo-1.8.6p3-sssd-mailfix.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Thu Feb 4 19:44:34 2021 UTC (3 years, 8 months ago) by jpp
Branch: MAIN
CVS Tags: sudo-1_8_6p3-30_el6_sme, sudo-1_8_6p3-29_el6_9, HEAD
Sudo

1 jpp 1.1 diff -up ./plugins/sudoers/sssd.c.mailfix ./plugins/sudoers/sssd.c
2     --- ./plugins/sudoers/sssd.c.mailfix 2015-12-15 15:11:20.353612132 +0100
3     +++ ./plugins/sudoers/sssd.c 2015-12-15 15:11:46.048374417 +0100
4     @@ -788,7 +788,7 @@ sudo_sss_result_get(struct sudo_nss *nss
5     switch (sss_error) {
6     case 0:
7     if (u_sss_result != NULL) {
8     - if (state != NULL) {
9     + if (state != NULL && u_sss_result->num_rules > 0) {
10     sudo_debug_printf(SUDO_DEBUG_DEBUG, "state |= USERMATCH");
11     *state |= _SUDO_SSS_STATE_USERMATCH;
12     }

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed