summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/tests
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2010-04-07 23:00:42 +0200
committerMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2010-04-07 23:06:02 +0200
commit64957ce0686761acd2a2a7ec1787898d2d8238b6 (patch)
tree1d9e59050aa7bd41cf1ae9a755a8ef23ef900c22 /source4/lib/ldb/tests
parente5bb6d56df9b8816665fd42a04531ef19b30be17 (diff)
downloadsamba-64957ce0686761acd2a2a7ec1787898d2d8238b6.tar.gz
samba-64957ce0686761acd2a2a7ec1787898d2d8238b6.tar.bz2
samba-64957ce0686761acd2a2a7ec1787898d2d8238b6.zip
LDB:sample_module - reintroduce accidentally removed "ldb_msg_add_fmt" statement
Obviously this is really needed by the "samba4.ldb" test.
Diffstat (limited to 'source4/lib/ldb/tests')
-rw-r--r--source4/lib/ldb/tests/sample_module.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/lib/ldb/tests/sample_module.c b/source4/lib/ldb/tests/sample_module.c
index f48a1ee53f..5269b8f017 100644
--- a/source4/lib/ldb/tests/sample_module.c
+++ b/source4/lib/ldb/tests/sample_module.c
@@ -27,6 +27,8 @@ int sample_add(struct ldb_module *mod, struct ldb_request *req)
{
struct ldb_control *control;
+ ldb_msg_add_fmt(req->op.add.message, "touchedBy", "sample");
+
/* check if there's a relax control */
control = ldb_request_get_control(req, LDB_CONTROL_RELAX_OID);
if (control == NULL) {