diff options
author | Martin Kosek <mkosek@redhat.com> | 2014-10-02 10:31:42 +0200 |
---|---|---|
committer | Petr Viktorin <pviktori@redhat.com> | 2014-10-02 11:06:47 +0200 |
commit | 3b8a7883de4d9c00ad48d436a67d5f69d8fed26a (patch) | |
tree | 9ff5af5e581392c1aa03daf54ec14452748541ad /ipalib | |
parent | 3eca0ff2fe0dc768d5d8645579b243e4328bfb63 (diff) | |
download | freeipa-3b8a7883de4d9c00ad48d436a67d5f69d8fed26a.tar.gz freeipa-3b8a7883de4d9c00ad48d436a67d5f69d8fed26a.tar.xz freeipa-3b8a7883de4d9c00ad48d436a67d5f69d8fed26a.zip |
Sudorule RunAsUser should work with external groups
https://fedorahosted.org/freeipa/ticket/4600
Reviewed-By: Tomas Babej <tbabej@redhat.com>
Diffstat (limited to 'ipalib')
-rw-r--r-- | ipalib/plugins/sudorule.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ipalib/plugins/sudorule.py b/ipalib/plugins/sudorule.py index f16d275b2..1bd9042b9 100644 --- a/ipalib/plugins/sudorule.py +++ b/ipalib/plugins/sudorule.py @@ -792,8 +792,8 @@ class sudorule_add_runasuser(LDAPAddMember): failed=failed, completed=0, memberattr='ipasudorunas', - membertype='user', - externalattr='ipasudorunasextuser', + membertype='group', + externalattr='ipasudorunasextusergroup', ) return (completed + completed_ex_users + completed_ex_groups, dn) |