Michael Tokarev
2024-Feb-14 07:40 UTC
[Samba] Could not convert sid S-0-0: NT_STATUS_NONE_MAPPED
Hi! This is a resurrecting topic, - messages like in $subj in log.winbind, with varying but standard sid. We had lots of these in the log, so the log gets rotated several times per minute. There's no solution to the underlying issue for a few years. Meanwhile, the following patch fixes the noise: $ cat debian/patches/silence-can-not-convert-group-sid.diff diff --git a/source3/winbindd/winbindd_getgroups.c b/source3/winbindd/winbindd_getgroups.c index c2603cc7026..f252e14bf95 100644 --- a/source3/winbindd/winbindd_getgroups.c +++ b/source3/winbindd/winbindd_getgroups.c @@ -257,5 +257,5 @@ NTSTATUS winbindd_getgroups_recv(struct tevent_req *req, if (tevent_req_is_nterror(req, &status)) { struct dom_sid_buf buf; - D_WARNING("Could not convert sid %s: %s\n", + D_DEBUG("Could not convert sid %s: %s\n", dom_sid_str_buf(&state->sid, &buf), nt_errstr(status)); This might hide other issues for which a warning might be a good, but it's better to make it work in common case. FWIW. /mjt