s4-dsdb Return an error if we can't convert UTF16MUNGED -> UTF8
commit01d10c84134341c17e7b41e42bac8368c26d1201
authorAndrew Bartlett <abartlet@samba.org>
Thu, 11 Nov 2010 06:59:16 +0000 (11 17:59 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 11 Nov 2010 09:55:06 +0000 (11 09:55 +0000)
tree189d88e3f745cd692ab7f34c8aa79ff0099ba2b1
parentbb241f5cf8424c2576d5bc33ac149e5720b82068
s4-dsdb Return an error if we can't convert UTF16MUNGED -> UTF8

The UTF16MUNGED helper will map all invalid sequences (except odd
input length) to valid input sequences, per the rules.  Therefore if
it fails, we need to bail out, somehing serious is wrong.

Andrew Bartlett
source4/dsdb/samdb/ldb_modules/password_hash.c