Microsoft Knowledge Base Email Alertz

KBAlertz.com: The Exchange version of the MAPI store provider does not support Kerberos authentication

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]

Search KbAlertz

Advanced Search

Webmasters
Put kbAlertz on your website.
[ Click Here for more! ]





ASP.NET 3.5 Web Hosting with Windows 2008 and SQL 2008: Click Here!
Discount ASP.NET Hosting
ASP.NET 2.0 and 3.5
Windows2008 and SQL2008
US and UK Hosting
KBAlertz referrals get
** SIX MONTHS FREE **


Community Site



We Send hundreds of thousands of emails using ASP.NET Email


ASP.NET 3.5 Web Hosting with Windows 2008 and SQL 2008: Click Here!
Discount ASP.NET Hosting
ASP.NET 2.0 and 3.5
Windows2008 and SQL2008
US and UK Hosting
KBAlertz referrals get
** SIX MONTHS FREE **




Mentioned In








Microsoft Knowledge Base Article

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




Article ID: 918710 - Last Review: October 25, 2007 - Revision: 1.3

The Exchange version of the MAPI store provider does not support Kerberos authentication

On This Page

INTRODUCTION

MAPI applications use a remote procedure call (RPC)-based protocol to communicate with servers that are running Microsoft Exchange Server. Microsoft Outlook and Exchange Server each include a different version of the MAPI store provider library (Emsmdb32.dll). Emsmdb32.dll handles this RPC communication.

The Exchange version of the MAPI store provider was not designed to work with Kerberos authentication, and does not support Kerberos authentication. No update is available for the Exchange store provider to make the provider work with Kerberos, and no such update is planned.

MORE INFORMATION

The following scenario describes an example in which Active Server Pages (ASP) applications may experience issues that are related to this non-support of Kerberos authentication.

ASP applications experience MAPI_E_LOGON_FAILED errors when the following conditions are true:
  • The ASP applications use integrated authentication.
  • Collaboration Data Objects (CDO 1.21) is used to log on to a mailbox on a remote Exchange server.
This is a double-hop scenario in which credentials that are gathered by the server that is running Internet Information Services (IIS) would be passed to the Exchange server if Kerberos authentication were available. Because the Exchange store provider does not support Kerberos authentication, credentials cannot be passed in a double-hop scenario.

When you run the same ASP Web application in Internet Explorer directly on the server that is running IIS, this error does not occur. In this case, Kerberos authentication is not needed.

To work around this issue, use one of the following methods.

Use Basic authentication with SSL

Basic authentication generates an interactive token which can be passed to different servers. The drawback with Basic authentication is that users are prompted for a user name and password. Additionally, the user name and password are sent to the server in clear text. Therefore, if you use Basic authentication, make sure that you use Secure Sockets Layer (SSL) for the Web application.

Use WebDAV

WebDAV uses HTTP requests and responses together with XML to query, to create, and to modify Exchange data. Because you are using HTTP requests, IIS handles authentication.

Host the Web application on the Exchange server

Kerberos is used to pass credentials between servers. Therefore, if the Web application and Exchange are on the same server, you do not have to use Kerberos. In this case, the Web application will not experience the issue that is described in this article.

REFERENCES

For more information about how Outlook, CDO, MAPI, and providers work together, visit the following Microsoft Web site:
http://technet.microsoft.com/en-us/library/aa996249.aspx (http://technet.microsoft.com/en-us/library/aa996249.aspx)
For more information, click the following article number to view the article in the Microsoft Knowledge Base:
266418  (http://kbalertz.com/Feedback.aspx?kbNumber=266418/ ) Microsoft does not support installing Exchange Server components and Outlook on the same computer

For more information about Kerberos authentication, visit the following Microsoft Web site:
http://technet2.microsoft.com/WindowsServer/en/Library/b748fb3f-dbf0-4b01-9b22-be14a8b4ae101033.mspx (http://technet2.microsoft.com/WindowsServer/en/Library/b748fb3f-dbf0-4b01-9b22-be14a8b4ae101033.mspx)

APPLIES TO
  • Microsoft Exchange Server 2003 Enterprise Edition
  • Microsoft Exchange Server 2003 Standard Edition
  • Microsoft Exchange 2000 Enterprise Server
  • Microsoft Exchange 2000 Server Standard Edition
  • Microsoft Exchange Server 5.5 Standard Edition
Keywords: 
kbexpertiseadvanced kbnofix kbtshoot KB918710
       

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

Be the first to leave feedback, to help others about this knowledge base article.

(Optional) Name

(Optional) Public URL Or Email

Comments
No HTML -- Text Only Please