r13616: Add new ldb functions: ldb_msg_add_steal_string() and
authorAndrew Bartlett <abartlet@samba.org>
Wed, 22 Feb 2006 09:28:58 +0000 (09:28 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:51:59 +0000 (13:51 -0500)
commit98c0767677156ff31791bd93f473ac11f856c75a
tree565141973847ef6633f2159bc25d22975a782228
parentd590dea10b3abf93fcc8138189291e8b66bae7d7
r13616: Add new ldb functions: ldb_msg_add_steal_string() and
ldb_msg_add_steal_value().

These try to maintain the talloc heirachy, which must be correct
otherwise talloc_steal operations of entire attribute lists fails.

This fixes the currentTime value, found by using Microsoft's dcdiag
tool (before this commit, it pointed to invalid memory, due to the
changes in -r 13606)

Andrew Bartlett
(This used to be commit 424df1bb369fddcfd358cf26dd0da9d3851d181e)
source4/dsdb/samdb/ldb_modules/rootdse.c
source4/lib/ldb/common/ldb_msg.c
source4/lib/ldb/include/ldb.h
source4/lib/ldb/modules/operational.c