summaryrefslogtreecommitdiffstats
path: root/src/config/etc/sssd.api.d/sssd-ad.conf
diff options
context:
space:
mode:
authorPavel Březina <pbrezina@redhat.com>2014-07-14 14:23:50 +0200
committerJakub Hrozek <jhrozek@redhat.com>2014-07-15 16:45:05 +0200
commit7c30e60c525ea798aaab142766ff00eef4b5df3b (patch)
treebcdc35e2f57f49c416dca6d14400e333dd95a7a8 /src/config/etc/sssd.api.d/sssd-ad.conf
parentb3f56d9e4bd065590383eb1f812a3b77e3c56f24 (diff)
downloadsssd-7c30e60c525ea798aaab142766ff00eef4b5df3b.tar.gz
sssd-7c30e60c525ea798aaab142766ff00eef4b5df3b.tar.xz
sssd-7c30e60c525ea798aaab142766ff00eef4b5df3b.zip
sudo: fetch sudoRunAs attribute
This attribute was used in pre 1.7 versions of sudo and it is now deprecated by sudoRunAsUser and sudoRunAsGroup. However, some users still use this attribute so we need to support it to ensure backward compatibility. This patch makes sure that this attribute is downloaded if present and provided to sudo. Sudo than decides how to handle it. The new mapping option is not present in a man page since this attribute is deprecated in sudo for a very long time. Resolves: https://fedorahosted.org/sssd/ticket/2212 Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
Diffstat (limited to 'src/config/etc/sssd.api.d/sssd-ad.conf')
-rw-r--r--src/config/etc/sssd.api.d/sssd-ad.conf1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/config/etc/sssd.api.d/sssd-ad.conf b/src/config/etc/sssd.api.d/sssd-ad.conf
index 33d460e82..74ca49ab9 100644
--- a/src/config/etc/sssd.api.d/sssd-ad.conf
+++ b/src/config/etc/sssd.api.d/sssd-ad.conf
@@ -151,6 +151,7 @@ ldap_sudorule_command = str, None, false
ldap_sudorule_host = str, None, false
ldap_sudorule_user = str, None, false
ldap_sudorule_option = str, None, false
+ldap_sudorule_runas = str, None, false
ldap_sudorule_runasuser = str, None, false
ldap_sudorule_runasgroup = str, None, false
ldap_sudorule_notbefore = str, None, false