From: Volker Lendecke Date: Wed, 8 Jul 2020 13:09:45 +0000 (+0200) Subject: winbind: Fix lookuprids cache problem X-Git-Tag: talloc-2.3.2~1124 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=cd4122d91e942ca465c03505d5e148117f505ba4;p=thirdparty%2Fsamba.git winbind: Fix lookuprids cache problem Bug: https://bugzilla.samba.org/show_bug.cgi?id=14435 Signed-off-by: Volker Lendecke Reviewed-by: Ralph Boehme Autobuild-User(master): Volker Lendecke Autobuild-Date(master): Thu Jul 9 21:40:52 UTC 2020 on sn-devel-184 --- diff --git a/selftest/knownfail.d/lookuprids_cache b/selftest/knownfail.d/lookuprids_cache deleted file mode 100644 index d3c40a62b45..00000000000 --- a/selftest/knownfail.d/lookuprids_cache +++ /dev/null @@ -1 +0,0 @@ -^samba.wbinfo_lookuprids_cache.lookuprids2\(nt4_member:local\) \ No newline at end of file diff --git a/source3/winbindd/winbindd_dual_srv.c b/source3/winbindd/winbindd_dual_srv.c index 6071bee6d65..b8694db3db9 100644 --- a/source3/winbindd/winbindd_dual_srv.c +++ b/source3/winbindd/winbindd_dual_srv.c @@ -673,7 +673,8 @@ NTSTATUS _wbint_LookupRids(struct pipes_struct *p, struct wbint_LookupRids *r) r->in.rids->rids, r->in.rids->num_rids, &domain_name, &names, &types); reset_cm_connection_on_error(domain, NULL, status); - if (!NT_STATUS_IS_OK(status)) { + if (!NT_STATUS_IS_OK(status) && + !NT_STATUS_EQUAL(status, STATUS_SOME_UNMAPPED)) { return status; }