googlegsa / sharepoint.v3

Google Search Appliance Connector for SharePoint
5 stars 10 forks source link

Google Search Box for SharePoint gives "access denied" when search is fired from a normal user #119

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
======================================
1. Create a new domain user
2. Assign it to SharePoint site and give him 'reader' access
3. Install the Google Search Box for SharePoint and configure it with GSA
4. Try to login to SharePoint site with this new domain user and try to 
fire a search query on the Google Search Box

What is the expected output? 
=============================
User should see the search results.

What do you see instead?
=========================
You see and error page with exception "access is denied"

Original issue reported on code.google.com by amit.per...@gmail.com on 20 Nov 2009 at 9:29

GoogleCodeExporter commented 9 years ago
This error is due to insufficient privileges to a normal domain user to log 
events in 
SharePoint servers System Event Log. The SearchResults.aspx page tries to log 
GSA 
queries, results, errors, etc. to System Event Log. It page is not rendered 
because 
the call to log an event fails with "Access is denied".

Possible workarounds:
* Grant all users/groups permission to log to SharePoint Server Event Logs -  a 
policy change
* Use the patched searchresults.aspx file (attached) until an official fix is 
available. Note that the log commands have been removed from this file and it 
will 
not log any errors either. It is just-in-time patch and has not been 
certified/tested 
so you might face issues which might be difficult to track.

Original comment by darsh...@google.com on 20 Nov 2009 at 7:47

Attachments:

GoogleCodeExporter commented 9 years ago
-changed the logging from 'event logging' to 'file based logs' due to the 
reason 
above.

Fix details
============
http://code.google.com/p/google-enterprise-connector-sharepoint/source/detail?r=
465

Original comment by amit.per...@gmail.com on 30 Nov 2009 at 8:39

GoogleCodeExporter commented 9 years ago
Verified in 2.4 Release

Original comment by ashwinip...@gmail.com on 14 Dec 2009 at 7:38