enum id_type type;
struct id_map *map;
uint32_t id;
+ struct dom_sid_buf buf;
if (i == 0) { /* first entry */
entry = ldap_first_entry(
DEBUG(1, ("WARNING: duplicate %s mapping in LDAP. "
"overwriting mapping %u -> %s with %u -> %s\n",
(type == ID_TYPE_UID) ? "UID" : "GID",
- id, sid_string_dbg(map->sid), id, sidstr));
+ id,
+ dom_sid_str_buf(map->sid, &buf),
+ id,
+ sidstr));
}
TALLOC_FREE(sidstr);
/* mapped */
map->status = ID_MAPPED;
- DEBUG(10, ("Mapped %s -> %lu (%d)\n", sid_string_dbg(map->sid),
+ DEBUG(10, ("Mapped %s -> %lu (%d)\n",
+ dom_sid_str_buf(map->sid, &buf),
(unsigned long)map->xid.id, map->xid.type));
}
enum id_type type;
struct id_map *map;
struct dom_sid sid;
+ struct dom_sid_buf buf;
uint32_t id;
if (i == 0) { /* first entry */
map->xid.id = id;
map->status = ID_MAPPED;
- DEBUG(10, ("Mapped %s -> %lu (%d)\n", sid_string_dbg(map->sid),
- (unsigned long)map->xid.id, map->xid.type));
+ DEBUG(10, ("Mapped %s -> %lu (%d)\n",
+ dom_sid_str_buf(map->sid, &buf),
+ (unsigned long)map->xid.id,
+ map->xid.type));
}
/* free the ldap results */