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

Annotation of /rpms/sudo/sme9/sudo-1.8.6p3-sssdrulenames.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:37 2021 UTC (3 years, 4 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 sudo-1.8.6p3/plugins/sudoers/sssd.c.rulenames sudo-1.8.6p3/plugins/sudoers/sssd.c
2     --- sudo-1.8.6p3/plugins/sudoers/sssd.c.rulenames 2014-05-21 12:33:21.000768420 +0200
3     +++ sudo-1.8.6p3/plugins/sudoers/sssd.c 2014-05-21 12:38:13.779864718 +0200
4     @@ -1180,6 +1180,18 @@ sudo_sss_display_entry_long(struct sudo_
5     int count = 0, i;
6     debug_decl(sudo_sss_display_entry_long, SUDO_DEBUG_SSSD);
7    
8     + switch(handle->fn_get_values(rule, "cn", &val_array)) {
9     + case 0:
10     + if (val_array[0]) {
11     + lbuf_append(lbuf, _("\nSSSD Role: %s\n"), val_array[0]);
12     + }
13     + handle->fn_free_values(val_array);
14     + val_array = NULL;
15     + break;
16     + default:
17     + lbuf_append(lbuf, _("\nSSSD Role: UNKNOWN\n"));
18     + }
19     +
20     /* get the RunAsUser Values from the entry */
21     lbuf_append(lbuf, " RunAsUsers: ");
22     switch (handle->fn_get_values(rule, "sudoRunAsUser", &val_array)) {

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