Fix bug #9147 - winbind can't fetch user or group info from AD via LDAP
authorJeremy Allison <jra@samba.org>
Tue, 11 Sep 2012 20:25:14 +0000 (13:25 -0700)
committerKarolin Seeger <kseeger@samba.org>
Mon, 29 Oct 2012 09:05:33 +0000 (10:05 +0100)
commit606a56eacb6b38a82b4ac5f1394032f247763be5
tree8073fdd5f3801f95531b7c31c23e34a821c03684
parentf77c137f079c621b854b9e470b07c71d8d72d478
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 f4d2e6b6c321ecfccadc3b19f4a27991cf93eb8c)
source3/lib/ldb_compat.c
source4/lib/ldb/common/ldb_parse.c