lib/ldb: fix logic in ldb_val_to_time()
commitd1b515535da46591d3a646a848c7427b6ff951a7
authorStefan Metzmacher <metze@samba.org>
Mon, 19 Jan 2015 14:47:58 +0000 (19 15:47 +0100)
committerStefan Metzmacher <metze@samba.org>
Sat, 24 Jan 2015 16:49:05 +0000 (24 17:49 +0100)
tree3961ce1777aa483c3ddb24c29db0830a34c39dbf
parent6a56bdf9869162e57c816c067598552bd33c2910
lib/ldb: fix logic in ldb_val_to_time()

040408072012Z should represent 20040408072012.0Z
as well as 20040408072012.000Z or
20040408072012.RandomIgnoredCharaters...Z

Bug: https://bugzilla.samba.org/show_bug.cgi?id=9810

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Günther Deschner <gd@samba.org>
lib/ldb/common/ldb_msg.c