summaryrefslogtreecommitdiffstats
path: root/ipalib/plugins/sudorule.py
diff options
context:
space:
mode:
authorJan Cholasta <jcholast@redhat.com>2013-02-04 11:48:58 +0100
committerMartin Kosek <mkosek@redhat.com>2013-03-01 16:59:47 +0100
commit5b2e0e2ba5808d6300de1cac743c96db0607121c (patch)
tree3165cccfbd01e5d76e74ae4df612cf64675fc046 /ipalib/plugins/sudorule.py
parenta09c50671ecc53af63765afca13edd27ee598081 (diff)
downloadfreeipa.git-5b2e0e2ba5808d6300de1cac743c96db0607121c.tar.gz
freeipa.git-5b2e0e2ba5808d6300de1cac743c96db0607121c.tar.xz
freeipa.git-5b2e0e2ba5808d6300de1cac743c96db0607121c.zip
Remove DN normalization from the baseldap plugin.
Diffstat (limited to 'ipalib/plugins/sudorule.py')
-rw-r--r--ipalib/plugins/sudorule.py8
1 files changed, 2 insertions, 6 deletions
diff --git a/ipalib/plugins/sudorule.py b/ipalib/plugins/sudorule.py
index 8eea7732..0841457f 100644
--- a/ipalib/plugins/sudorule.py
+++ b/ipalib/plugins/sudorule.py
@@ -638,9 +638,7 @@ class sudorule_add_option(LDAPQuery):
self.obj.handle_not_found(cn)
attrs_list = self.obj.default_attributes
- (dn, entry_attrs) = ldap.get_entry(
- dn, attrs_list, normalize=self.obj.normalize_dn
- )
+ (dn, entry_attrs) = ldap.get_entry(dn, attrs_list)
entry_attrs = entry_to_dict(entry_attrs, **options)
@@ -695,9 +693,7 @@ class sudorule_remove_option(LDAPQuery):
self.obj.handle_not_found(cn)
attrs_list = self.obj.default_attributes
- (dn, entry_attrs) = ldap.get_entry(
- dn, attrs_list, normalize=self.obj.normalize_dn
- )
+ (dn, entry_attrs) = ldap.get_entry(dn, attrs_list)
entry_attrs = entry_to_dict(entry_attrs, **options)