From 5b2e0e2ba5808d6300de1cac743c96db0607121c Mon Sep 17 00:00:00 2001 From: Jan Cholasta Date: Mon, 4 Feb 2013 11:48:58 +0100 Subject: Remove DN normalization from the baseldap plugin. --- ipalib/plugins/sudorule.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'ipalib/plugins/sudorule.py') 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) -- cgit