mirror of
https://github.com/kakwa/ldapcherry
synced 2024-11-25 18:54:29 +01:00
removing utf-8 crap in AD backend
the crap must be fixed in LDAP backend first
This commit is contained in:
parent
4e5591db7a
commit
5459830269
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user