The first step in serving either getpwuid or getgrgid is to convert the unix id to an SID. This conversion is done without consulting the idmap cache, and may result an extra query to the domain (depending to id-mapping backend).
Created attachment 12778 [details] fix for 4.5.next
Assigning to Karolin for inclusion in 4.5.next
(In reply to Uri Simchoni from comment #2) Pushed to autobuild-v4-5-test.
(In reply to Karolin Seeger from comment #3) Pushed to v4-5-test. Closing out bug report. Thanks!