summaryrefslogtreecommitdiff
path: root/source3/torture
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2012-06-15 09:09:57 +0200
committerMichael Adam <obnox@samba.org>2012-06-15 12:14:28 +0200
commit8f94ecbb90f3efedc3e379853dd71369d53cb1f7 (patch)
treea93065c80f61e7557a4044b56691ad16213e7a61 /source3/torture
parent7f19a5ab52ac6ecb380a49ec14072d0fd501f9db (diff)
downloadsamba-8f94ecbb90f3efedc3e379853dd71369d53cb1f7.tar.gz
samba-8f94ecbb90f3efedc3e379853dd71369d53cb1f7.tar.bz2
samba-8f94ecbb90f3efedc3e379853dd71369d53cb1f7.zip
dbwrap: dbwrap_store_uint32->dbwrap_store_uint32_bystring
Signed-off-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3/torture')
-rw-r--r--source3/torture/test_idmap_tdb_common.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/source3/torture/test_idmap_tdb_common.c b/source3/torture/test_idmap_tdb_common.c
index 7e7c5dd2b6..d08166017a 100644
--- a/source3/torture/test_idmap_tdb_common.c
+++ b/source3/torture/test_idmap_tdb_common.c
@@ -103,13 +103,15 @@ static bool open_db(struct idmap_tdb_common_context *ctx)
return false;
}
- status = dbwrap_store_uint32(ctx->db, ctx->hwmkey_uid, LOW_ID);
+ status = dbwrap_store_uint32_bystring(ctx->db, ctx->hwmkey_uid,
+ LOW_ID);
if(!NT_STATUS_IS_OK(status)) {
dbwrap_transaction_cancel(ctx->db);
return false;
}
- status = dbwrap_store_uint32(ctx->db, ctx->hwmkey_gid, LOW_ID);
+ status = dbwrap_store_uint32_bystring(ctx->db, ctx->hwmkey_gid,
+ LOW_ID);
if(!NT_STATUS_IS_OK(status)) {
dbwrap_transaction_cancel(ctx->db);
return false;