summaryrefslogtreecommitdiffstats
path: root/ipaserver/ipaldap.py
diff options
context:
space:
mode:
authorJohn Dennis <jdennis@redhat.com>2011-07-28 14:32:26 -0400
committerMartin Kosek <mkosek@redhat.com>2011-07-29 13:13:55 +0200
commit442973edc5bffc1e215c22327369f66df7aeec08 (patch)
tree54d4e87c13c107142c937ce81e1c614a5068f87f /ipaserver/ipaldap.py
parent44b3521fad01c860afd84d409af9b2bcb06e1207 (diff)
downloadfreeipa-442973edc5bffc1e215c22327369f66df7aeec08.tar.gz
freeipa-442973edc5bffc1e215c22327369f66df7aeec08.tar.xz
freeipa-442973edc5bffc1e215c22327369f66df7aeec08.zip
Clean up existing DN object usage
Diffstat (limited to 'ipaserver/ipaldap.py')
-rw-r--r--ipaserver/ipaldap.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/ipaserver/ipaldap.py b/ipaserver/ipaldap.py
index 77f5b289..4de09f1e 100644
--- a/ipaserver/ipaldap.py
+++ b/ipaserver/ipaldap.py
@@ -709,13 +709,6 @@ class IPAdmin(SimpleLDAPObject):
obj = self.schema.get_obj(ldap.schema.AttributeType, attr)
return obj and obj.single_value
- def normalizeDN(dn):
- # not great, but will do until we use a newer version of python-ldap
- # that has DN utilities
- ary = ldap.explode_dn(dn.lower())
- return ",".join(ary)
- normalizeDN = staticmethod(normalizeDN)
-
def get_dns_sorted_by_length(self, entries, reverse=False):
"""
Sorts a list of entries [(dn, entry_attrs)] based on their DN.