summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomas Babej <tbabej@redhat.com>2014-05-14 13:20:04 +0200
committerPetr Viktorin <pviktori@redhat.com>2014-06-25 20:14:50 +0200
commitc7da22c1e69cb4d6cc8c6f368aad5ffddbd3762c (patch)
tree5445a62b83812b055dae172ddab6bca3ff0c551c
parent3a56b155e80a744c7a924915aae954e0a3d81e9e (diff)
downloadfreeipa-c7da22c1e69cb4d6cc8c6f368aad5ffddbd3762c.tar.gz
freeipa-c7da22c1e69cb4d6cc8c6f368aad5ffddbd3762c.tar.xz
freeipa-c7da22c1e69cb4d6cc8c6f368aad5ffddbd3762c.zip
sudorule: Include externalhost and ipasudorunasextgroup in the list of default attributes
The following attributes were missing from the list of default attributes: * externalhost * ipasudorunasextuser * ipasudorunasextgroup Reviewed-By: Petr Viktorin <pviktori@redhat.com>
-rw-r--r--ipalib/plugins/sudorule.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/ipalib/plugins/sudorule.py b/ipalib/plugins/sudorule.py
index 935ffded7..b3e71c8f9 100644
--- a/ipalib/plugins/sudorule.py
+++ b/ipalib/plugins/sudorule.py
@@ -132,7 +132,8 @@ class sudorule(LDAPObject):
'memberallowcmd', 'memberdenycmd', 'ipasudoopt',
'ipasudorunas', 'ipasudorunasgroup',
'ipasudorunasusercategory', 'ipasudorunasgroupcategory',
- 'sudoorder', 'hostmask', 'ipasudorunasextusergroup',
+ 'sudoorder', 'hostmask', 'externalhost', 'ipasudorunasextusergroup',
+ 'ipasudorunasextgroup', 'ipasudorunasextuser'
]
uuid_attribute = 'ipauniqueid'
rdn_attribute = 'ipauniqueid'