1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-09 17:49:29 +03:00

dbwrap: Rename dbwrap_fetch_uint32->dbwrap_fetch_uint32_bystring

Signed-off-by: Michael Adam <obnox@samba.org>
This commit is contained in:
Amitay Isaacs
2012-06-18 17:07:57 +10:00
committed by Michael Adam
parent ad3881b78c
commit bb96139846

View File

@ -67,7 +67,7 @@ static NTSTATUS idmap_tdb2_init_hwm(struct idmap_domain *dom)
/* 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);
@ -78,7 +78,7 @@ static NTSTATUS idmap_tdb2_init_hwm(struct idmap_domain *dom)
}
}
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);