for (aceint = acl->first; aceint != NULL; aceint = aceint->next) {
uint32_t mask;
struct dom_sid sid;
+ struct dom_sid_buf buf;
SMB_ACE4PROP_T *ace = &aceint->prop;
uint32_t win_ace_flags;
}
}
DEBUG(10, ("mapped %d to %s\n", ace->who.id,
- sid_string_dbg(&sid)));
+ dom_sid_str_buf(&sid, &buf)));
if (!is_directory && params->map_full_control) {
/*
SMB_ACE4PROP_T *ace_v4 /* output */
)
{
- DEBUG(10, ("got ace for %s\n", sid_string_dbg(&ace_nt->trustee)));
+ struct dom_sid_buf buf;
+
+ DEBUG(10, ("got ace for %s\n",
+ dom_sid_str_buf(&ace_nt->trustee, &buf)));
ZERO_STRUCTP(ace_v4);
DEBUG(1, ("nfs4_acls.c: file [%s]: could not "
"convert %s to uid or gid\n",
filename->base_name,
- sid_string_dbg(&ace_nt->trustee)));
+ dom_sid_str_buf(&ace_nt->trustee, &buf)));
return false;
}
}
if (!smbacl4_fill_ace4(fsp->fsp_name, pparams,
ownerUID, ownerGID,
dacl->aces + i, &ace_v4)) {
+ struct dom_sid_buf buf;
DEBUG(3, ("Could not fill ace for file %s, SID %s\n",
filename,
- sid_string_dbg(&((dacl->aces+i)->trustee))));
+ dom_sid_str_buf(&((dacl->aces+i)->trustee),
+ &buf)));
continue;
}
}
if (!mappable_sid(&ace->trustee)) {
+ struct dom_sid_buf buf;
DEBUG(10, ("Ignoring unmappable SID %s\n",
- sid_string_dbg(&ace->trustee)));
+ dom_sid_str_buf(&ace->trustee, &buf)));
continue;
}
if (!lookup_sid(talloc_tos(), &ace->trustee,
&dom_name, &name, &name_type)) {
+ struct dom_sid_buf buf;
DEBUG(1, ("AFSACL: Could not lookup SID %s on file %s\n",
- sid_string_dbg(&ace->trustee),
+ dom_sid_str_buf(&ace->trustee, &buf),
filename));
continue;
}
* but I have to check that --metze
*/
struct dom_sid sid;
+ struct dom_sid_buf buf;
uid_t uid;
size_t sid_len;
if (!sid_parse(_in_data + 4, sid_len, &sid)) {
return NT_STATUS_INVALID_PARAMETER;
}
- DEBUGADD(10, ("for SID: %s\n", sid_string_dbg(&sid)));
+ DEBUGADD(10, ("for SID: %s\n",
+ dom_sid_str_buf(&sid, &buf)));
if (!sid_to_uid(&sid, &uid)) {
DEBUG(0,("sid_to_uid: failed, sid[%s] sid_len[%lu]\n",
- sid_string_dbg(&sid),
+ dom_sid_str_buf(&sid, &buf),
(unsigned long)sid_len));
uid = (-1);
}