Microsoft Knowledge Base Email Alertz

If you perform searches within two hours of making security changes, the security changes may not be enforced.

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Article ID: 287298 - Last Review: February 27, 2007 - Revision: 2.1

Exchange Server 5.5 Searches Do Not Reflect Recent Security Changes

This article was previously published under Q287298
IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:
256986  (http://kbalertz.com/Feedback.aspx?kbNumber=256986/EN-US/ ) Description of the Microsoft Windows Registry

SYMPTOMS

If you perform searches within two hours of making security changes, the security changes may not be enforced.

When a user's query contains matches that reside in a Microsoft Exchange Server 5.5 public folder, SharePoint Portal Server performs a security check on the Exchange Server computer to verify that the user has access to the document. If the user does not have access, the search result is filtered out. Because security is checked at the time that the query is run, changes to security settings on Exchange Server folders are immediately enforced in subsequent queries and do not require an index update. However, subsequent security changes may not be reflected in searches for two hours.

CAUSE

This issue can occur because the results of the security check are cached in the Search process for 120 minutes by default. Therefore, security changes made on a folder may not be enforced until the cache expires (up to 120 minutes later).

RESOLUTION

If you do not want to wait until the cache expires, you can invalidate the cache immediately by restarting the Microsoft Search service. To restart the service:
  1. Click Start, point to Programs, click Administrative Tools, and then click Services.
  2. Right-click Microsoft Search, and then click Restart.

MORE INFORMATION

WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

The first time that an Exchange Server 5.5 content source is indexed, the following registry value is created:
HKEY_LOCAL_MACHINE\Software\Microsoft\Search\1.0\Exchange\CacheMinutes
You can modify this behavior by changing this value to the number of minutes that you want the results of the security check to be cached in the Search process.

You must be restart the Microsoft Search service for the change to take effect.

APPLIES TO
  • Microsoft SharePoint Portal Server 2001
Keywords: 
kbprb KB287298
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate