static NTSTATUS idmap_rid_unixids_to_sids(struct idmap_domain *dom, struct id_map **ids)
{
struct idmap_rid_context *ridctx;
- TALLOC_CTX *ctx;
NTSTATUS ret;
int i;
ridctx = talloc_get_type(dom->private_data, struct idmap_rid_context);
- ctx = talloc_new(dom);
- if ( ! ctx) {
- DEBUG(0, ("Out of memory!\n"));
- return NT_STATUS_NO_MEMORY;
- }
-
for (i = 0; ids[i]; i++) {
ret = idmap_rid_id_to_sid(ridctx, ids[i]);
}
}
- talloc_free(ctx);
return NT_STATUS_OK;
}