[prev in list] [next in list] [prev in thread] [next in thread] 

List:       samba
Subject:    [Samba] Could not convert sid S-0-0: NT_STATUS_NONE_MAPPED
From:       Michael Tokarev via samba <samba () lists ! samba ! org>
Date:       2024-02-14 7:40:37
Message-ID: 7522d268-652d-47c8-b53e-79e9b0cef324 () tls ! msk ! ru
[Download RAW message or body]

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

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic