bool ok;
uint32_t atype, xid;
enum id_type type;
+ struct dom_sid_buf sidbuf;
if (tldap_msg_type(msg) != TLDAP_RES_SEARCH_ENTRY) {
continue;
}
if (map == NULL) {
DBG_DEBUG("Got unexpected sid %s from object %s\n",
- sid_string_tos(&sid), dn);
+ dom_sid_str_buf(&sid, &sidbuf),
+ dn);
continue;
}
sid_copy(map->sid, &sid);
map->status = ID_MAPPED;
- DBG_DEBUG("Mapped %s -> %ju (%d)\n", sid_string_dbg(map->sid),
+ DBG_DEBUG("Mapped %s -> %ju (%d)\n",
+ dom_sid_str_buf(map->sid, &sidbuf),
(uintmax_t)map->xid.id, map->xid.type);
}