title: Cross farm search with seurity trimming does not work
body: <p>I have two farms, one is sharepoint 2019, another is sharepoint 2016, setup server to server trust, and create the result source in SP2019. When I search sites in SP2019, only the site with everyone permission return, it seems security trimming does not work.</p>
  <p>eg. logged in user : user001</p>
  <p>search result in SP2016:</p>
  <p>Team01 with everyone</p>
  <p>Team02 with everyone</p>
  <p>Team03 with everyone</p>
  <p>Team04 with user001</p>
  <p>search result in SP2019:</p>
  <p>Team01 with everyone</p>
  <p>Team02 with everyone</p>
  <p>Team03 with everyone</p>
  <p>It is not only for user001, the same result for all users. I follow this guide to setup up the environment.</p>
  <p><a href="https://docs.microsoft.com/en-us/sharepoint/search/configure-trust-for-search-between-two-sharepoint-server-farms" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/sharepoint/search/configure-trust-for-search-between-two-sharepoint-server-farms</a></p>
  <p>logs compared with work environment:</p>
  <p><a href="https://i.stack.imgur.com/lIwRU.png" rel="nofollow noreferrer">issue farm</a>
  <a href="https://i.stack.imgur.com/Sgoyb.png" rel="nofollow noreferrer">work farm</a></p>