s4-ldb: added ldb_val_to_time()
authorAndrew Tridgell <tridge@samba.org>
Tue, 29 Dec 2009 00:36:37 +0000 (11:36 +1100)
committerAndrew Tridgell <tridge@samba.org>
Fri, 1 Jan 2010 21:16:55 +0000 (08:16 +1100)
commitbaae6ef9d24a59f794a8cbc9aa0ccdbbeb2ed369
tree6aa22c7344c7fa8b022103854c4269e49d893742
parente3cf818c277f90df37cab8a2ecbf93e6a92d8cb2
s4-ldb: added ldb_val_to_time()

This is intended as a replacement for ldb_string_to_time() for ldb_val
inputs. This ensures it is length limited and includes additional
validity checks
source4/lib/ldb/common/ldb_msg.c