s4:dsdb/common: fix major bug in lsa_BinaryString to ldb_val conversation.
authorStefan Metzmacher <metze@samba.org>
Tue, 12 Jan 2010 08:59:26 +0000 (09:59 +0100)
committerStefan Metzmacher <metze@samba.org>
Wed, 13 Jan 2010 13:52:00 +0000 (14:52 +0100)
commit232197e9ab20b68a848fd798c1e8be22a72c6bb5
treeb1bc482d6bb3d19ce40516cab97d8fcbc33e77f8
parentca9bc96b96425b7cb13797acf57704502bac1514
s4:dsdb/common: fix major bug in lsa_BinaryString to ldb_val conversation.

In lsa_BinaryString length and size are byte counts!

TODO: we may need to do byte order conversion in this functions too...

metze
source4/dsdb/common/util.c