s4:remove many invocations of "samdb_msg_add_string"
authorMatthias Dieter Wallnöfer <mdw@samba.org>
Thu, 14 Oct 2010 20:26:44 +0000 (22:26 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 1 Mar 2011 05:29:03 +0000 (06:29 +0100)
commitc66780332bba2270ada4391fbb88728d06b94119
treea4702e399685ffbf939cc56e5793eb9208272bac
parentdbf6b481e9be61287d5c82d23b581ca4bfd09865
s4:remove many invocations of "samdb_msg_add_string"

This call can be substituted by "ldb_msg_add_string". We only need to be
careful on local objects or talloc'ed ones which live shorter than the message.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
source4/dsdb/common/util.c
source4/dsdb/common/util_samr.c
source4/dsdb/samdb/ldb_modules/samldb.c
source4/libnet/libnet_samsync_ldb.c
source4/ntptr/simple_ldb/ntptr_simple_ldb.c
source4/rpc_server/backupkey/dcesrv_backupkey.c
source4/rpc_server/drsuapi/writespn.c
source4/rpc_server/lsa/dcesrv_lsa.c