s4:ldb Add additional tracing of the ldb API
commit3c6c230b2d5c8a2632163a5f11d9e3f1f3db1639
authorAndrew Bartlett <abartlet@samba.org>
Mon, 26 Oct 2009 23:43:51 +0000 (27 10:43 +1100)
committerAndrew Tridgell <tridge@samba.org>
Tue, 27 Oct 2009 00:32:14 +0000 (27 11:32 +1100)
tree8101d4d680ca4ebafb3227eccebb690d4d02a2a3
parent53b160e1b80f66b0728020783df5bf433048a148
s4:ldb Add additional tracing of the ldb API

This helps pin down where errors occour, by printing a call stack and
setting error strings and trace messages in the transaction case.

Andrew Bartlett
source4/lib/ldb/common/ldb.c
source4/lib/ldb/common/ldb_modules.c