diff options
author | Volker Lendecke <vl@samba.org> | 2012-06-14 20:39:27 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2012-06-15 12:14:28 +0200 |
commit | 7f19a5ab52ac6ecb380a49ec14072d0fd501f9db (patch) | |
tree | e3edb77fbe10165e9b5f0b9fc0876085a1342982 /source3/utils/net_idmap_check.c | |
parent | 749314fcf99cef4a1a162d622e10b6eb8998938f (diff) | |
download | samba-7f19a5ab52ac6ecb380a49ec14072d0fd501f9db.tar.gz samba-7f19a5ab52ac6ecb380a49ec14072d0fd501f9db.tar.bz2 samba-7f19a5ab52ac6ecb380a49ec14072d0fd501f9db.zip |
dbwrap: dbwrap_fetch_uint32->dbwrap_fetch_uint32_bystring
Signed-off-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3/utils/net_idmap_check.c')
-rw-r--r-- | source3/utils/net_idmap_check.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/utils/net_idmap_check.c b/source3/utils/net_idmap_check.c index 1269410bee..4174238298 100644 --- a/source3/utils/net_idmap_check.c +++ b/source3/utils/net_idmap_check.c @@ -394,7 +394,7 @@ static bool check_version(struct check_ctx* ctx) { char action = 's'; struct check_actions* act = &ctx->action; - status = dbwrap_fetch_uint32(ctx->db, key, &version); + status = dbwrap_fetch_uint32_bystring(ctx->db, key, &version); if (!NT_STATUS_IS_OK(status)) { d_printf("No version number, assume 2\n"); action = get_action(&act->no_version, NULL, NULL); @@ -424,7 +424,7 @@ static void check_hwm(struct check_ctx* ctx, const char* key, uint32_t target) { NTSTATUS status; struct check_actions* act = &ctx->action; - status = dbwrap_fetch_uint32(ctx->db, key, &hwm); + status = dbwrap_fetch_uint32_bystring(ctx->db, key, &hwm); if (!NT_STATUS_IS_OK(status)) { d_printf("No %s should be %d\n", key, target); action = get_action(&act->invalid_hwm, NULL, NULL); |