r18978: Fix bug found by:
commitc2a2c2456d807784bdacb9e088044a85fe278315
authorAndrew Bartlett <abartlet@samba.org>
Thu, 28 Sep 2006 17:06:38 +0000 (28 17:06 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:20:26 +0000 (10 14:20 -0500)
tree7805557588fb5f11da98cae55235a60b1d235f6c
parenteaa427801a3aadd92a467ca6df4d41e37fb74810
r18978: Fix bug found by:
http://www.ee.oulu.fi/research/ouspg/protos/testing/c06/ldapv3/

The issue here is that if the UTF8 conversion fails, because this
isn't actually UTF8 data, then we need to do a binary compare instead.

Andrew Bartlett
(This used to be commit a113e47784157ec6086b014c1fc998e8a23e7382)
source4/lib/ldb/common/attrib_handlers.c