summaryrefslogtreecommitdiffstats
path: root/ipaserver/plugins
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2010-11-04 15:23:25 -0400
committerRob Crittenden <rcritten@redhat.com>2010-11-09 13:33:04 -0500
commitfcf3cbbe8b70b889c7949273f878d69e03e48b58 (patch)
tree063999a392fbe51c1150e0024306f2df9612fee2 /ipaserver/plugins
parenta3c4c7e891b6a6a31e3991f2908d25f7d4a02518 (diff)
downloadfreeipa-fcf3cbbe8b70b889c7949273f878d69e03e48b58.tar.gz
freeipa-fcf3cbbe8b70b889c7949273f878d69e03e48b58.tar.xz
freeipa-fcf3cbbe8b70b889c7949273f878d69e03e48b58.zip
Fix NotFound exception in ipa-nis-manage.
The signature of ldap2.get_entry() changed so normalize wasn't being handled properly so the basedn was always being appended causing our entry in cn=config to be not found. ticket 414
Diffstat (limited to 'ipaserver/plugins')
-rw-r--r--ipaserver/plugins/ldap2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipaserver/plugins/ldap2.py b/ipaserver/plugins/ldap2.py
index b5efc428e..cbb8ddb63 100644
--- a/ipaserver/plugins/ldap2.py
+++ b/ipaserver/plugins/ldap2.py
@@ -702,7 +702,7 @@ class ldap2(CrudBackend, Encoder):
def _generate_modlist(self, dn, entry_attrs, normalize):
# get original entry
- (dn, entry_attrs_old) = self.get_entry(dn, entry_attrs.keys(), normalize)
+ (dn, entry_attrs_old) = self.get_entry(dn, entry_attrs.keys(), normalize=normalize)
# get_entry returns a decoded entry, encode it back
# we could call search_s directly, but this saves a lot of code at
# the expense of a little bit of performace