r18978: Fix bug found by:
authorAndrew Bartlett <abartlet@samba.org>
Thu, 28 Sep 2006 17:06:38 +0000 (17:06 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:20:26 +0000 (14:20 -0500)
commita113e47784157ec6086b014c1fc998e8a23e7382
tree967d2d2359a322140b702964098ec9cd8aa69d81
parent9b2003618b28cb045e74937803e9aad773781803
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
source/lib/ldb/common/attrib_handlers.c