diff options
author | Pavel Zuna <pzuna@redhat.com> | 2009-05-27 15:54:00 +0200 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2009-06-10 11:51:15 -0400 |
commit | 87bfd6b21a2129d67e7ffe4a4114736c6bbd92a3 (patch) | |
tree | 0e0715f307781572f7b227f3de7d667f56e22f01 | |
parent | cda0f85ce531a3250d745d73e099a47ec6787279 (diff) | |
download | freeipa-87bfd6b21a2129d67e7ffe4a4114736c6bbd92a3.tar.gz freeipa-87bfd6b21a2129d67e7ffe4a4114736c6bbd92a3.tar.xz freeipa-87bfd6b21a2129d67e7ffe4a4114736c6bbd92a3.zip |
Fix bug in ldap2.normalize_dn.
DN was always returned as lower-case, sometimes resulting in 2 RDN values with different cases when creating entries.
-rw-r--r-- | ipaserver/plugins/ldap2.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipaserver/plugins/ldap2.py b/ipaserver/plugins/ldap2.py index 3c3a1a0bc..18615847c 100644 --- a/ipaserver/plugins/ldap2.py +++ b/ipaserver/plugins/ldap2.py @@ -238,7 +238,7 @@ class ldap2(CrudBackend, Encoder): Note: You don't have to normalize DN's before passing them to ldap2 methods. It's done internally for you. """ - rdns = _ldap.dn.explode_dn(dn.lower()) + rdns = _ldap.dn.explode_dn(dn) if rdns: dn = ','.join(rdns) if not dn.endswith(self.api.env.basedn): |