ret = local_map->set_mapping(sid, id, id_type);
if (NT_STATUS_IS_ERR(ret)) {
DEBUG (0, ("idmap_set_mapping: Error, unable to modify local cache!\n"));
- DEBUGADD(0, ("Error num. %d", NT_STATUS_V(ret)));
+ DEBUGADD(0, ("Error: %s", nt_errstr(ret)));
return ret;
}
remote_map->set_mapping(sid, id, id_type);
if (NT_STATUS_IS_ERR(ret)) {
DEBUG (0, ("idmap_set_mapping: Error, unable to modify remote cache!\n"));
- DEBUGADD(0, ("Error num. %d", NT_STATUS_V(ret)));
+ DEBUGADD(0, ("Error: %s", nt_errstr(ret)));
}
}