that is a deficiency in the idmap_rid design. */
map->status = ID_MAPPED;
+ map->xid.type = ID_TYPE_BOTH;
+
return NT_STATUS_OK;
}
}
map->xid.id = global->minvalue +
(global->rangesize * domain->domainnum)+rid;
+ map->xid.type = ID_TYPE_BOTH;
/* We **really** should have some way of validating
the SID exists and is the correct type here. But
status = dbwrap_fetch_uint32_bystring(autorid_db, hwm, &hwmval);
if (NT_STATUS_EQUAL(status, NT_STATUS_NOT_FOUND)) {
- status = dbwrap_trans_store_int32(autorid_db, hwm, 0);
+ status = dbwrap_trans_store_int32_bystring(autorid_db, hwm, 0);
if (!NT_STATUS_IS_OK(status)) {
DEBUG(0,
("Unable to initialise HWM (%s) in autorid "