However, iamabadprogrammer has written a post describing a way to disable impersonation without disabling or breaking the search crawler. Here's how I made this work:
- In Central Administration, go to Application Management > Create or Extend Web Application > Extend Web Application
- Use the Web Application box to select the SP App that needs to have impersonation disabled and search enabled.
- Fill out the rest of the settings to your liking. Remember that the new IIS site you are creating need not be accessible by your users. Also remember to make this site not conflict with any existing sites (which can easily be achieved by using the randomly-generated port number).
- Jot down what's in the URL box under "Load Balanced URL". You'll need it later.
- Go to the admin portal for the SharedServices corresponding with the SP app.
- Click on Search Settings > Content Sources and Crawl Schedules
- Click on whatever content source that includes the SP app.
- In the Start Addresses box, replace the line(s) corresponding with the user-friendly IIS site with equivalent line(s) found on the new Searchable IIS site.
- Set the other settings as you like and click OK.
So we need a way to tell the search engine that everything at the searchable site is really something at the user-friendly site. We do this with Server Name Mappings:
- Go to the admin portal for the SharedServices corresponding with the SP app.
- Go to Search Settings > Server Name Mappings > New Mapping
- In the "Address in index:" blank, input the address of the searchable IIS site (e.g. http://myServer:12345/)--i.e., the "Load Balanced URL" you wrote down earlier.
- In the "Address in search results" blank, input the address of the user-friendly IIS site (e.g. http://myServer:80/ or https://www.MyBuisnessPortal.org/). This would be the "Load Balanced URL" of the user-friendly site.
No comments:
Post a Comment