1
0
mirror of https://github.com/kakwa/ldapcherry synced 2024-06-18 09:49:49 +02:00

removing utf-8 crap in AD backend

the crap must be fixed in LDAP backend first
This commit is contained in:
kakwa 2015-07-28 22:19:49 +02:00
parent 4e5591db7a
commit 5459830269

View File

@ -119,13 +119,6 @@ class Backend(ldapcherry.backend.backendLdap.Backend):
for a in attrslist:
self.attrlist.append(self._str(a))
def _str(self, s):
return s.encode('utf-8')
def _uni(self, s):
return s
# return s.decode('utf-16')
def _search_group(self, searchfilter, groupdn):
ldap_client = self._bind()
try: