Fix bug #9147 - winbind can't fetch user or group info from AD via LDAP
authorJeremy Allison <jra@samba.org>
Mon, 10 Sep 2012 23:07:37 +0000 (16:07 -0700)
committerKarolin Seeger <kseeger@samba.org>
Fri, 21 Sep 2012 07:44:44 +0000 (09:44 +0200)
commitf919d070b1dc9c210e9b402806372fd2f041b35a
tree0f258878ea0da193dbef307144af99d305f27150
parent3709ac83a0671fc8ac546031f4992165a886de0d
Fix bug #9147 - winbind can't fetch user or group info from AD via LDAP

Don't use "isprint" in ldb_binary_encode(). This is locale specific.
Restrict to ASCII only, hex encode everything else.
(cherry picked from commit 9258a7b9cfd5fb85e5361d1b49c3bb8655e97159)
source3/lib/ldb/common/ldb_parse.c
source4/lib/ldb/common/ldb_parse.c