s4:ldb_msg: first try to decode integers as signed and then fallback to unsigned
authorStefan Metzmacher <metze@samba.org>
Mon, 11 Jan 2010 19:18:09 +0000 (20:18 +0100)
committerStefan Metzmacher <metze@samba.org>
Wed, 13 Jan 2010 13:52:00 +0000 (14:52 +0100)
commitca9bc96b96425b7cb13797acf57704502bac1514
treef0cf042447eda4e9a63649f94509b716698070a0
parent5d08309204e475e85250a34ff7986c896e8c3c01
s4:ldb_msg: first try to decode integers as signed and then fallback to unsigned

LDAP only knowns about signed integers, so let
ldb_msg_find_attr_as_uint() and ldb_msg_find_attr_as_uint64() cope
with it.

metze
source4/lib/ldb/common/ldb_msg.c