Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
if ((map->sid_name_use != SID_NAME_ALIAS) &&
(map->sid_name_use != SID_NAME_WKN_GRP)) {
+ struct dom_sid_buf buf;
DEBUG(2, ("%s is a %s, expected an alias\n",
- sid_string_dbg(sid),
+ dom_sid_str_buf(sid, &buf),
sid_type_lookup(map->sid_name_use)));
status = NT_STATUS_NO_SUCH_ALIAS;
goto done;
if ((state->domsid != NULL) &&
(dom_sid_compare_domain(state->domsid, &map->sid) != 0)) {
+ struct dom_sid_buf buf;
DEBUG(11,("enum_group_mapping: group %s is not in domain\n",
- sid_string_dbg(&map->sid)));
+ dom_sid_str_buf(&map->sid, &buf)));
TALLOC_FREE(map);
return 0;
}