/* Create high water marks for group and user id */
- status = dbwrap_fetch_uint32(ctx->db, HWM_USER, &low_id);
+ status = dbwrap_fetch_uint32_bystring(ctx->db, HWM_USER, &low_id);
if (!NT_STATUS_IS_OK(status) || (low_id < dom->low_id)) {
status = dbwrap_trans_store_uint32(ctx->db, HWM_USER,
dom->low_id);
}
}
- status = dbwrap_fetch_uint32(ctx->db, HWM_GROUP, &low_id);
+ status = dbwrap_fetch_uint32_bystring(ctx->db, HWM_GROUP, &low_id);
if (!NT_STATUS_IS_OK(status) || (low_id < dom->low_id)) {
status = dbwrap_trans_store_uint32(ctx->db, HWM_GROUP,
dom->low_id);