Skip to main content
Kofax

Exchange */MAPI "trust relationship [1787]" or "Logon() failed with error code 1787" in Multi-domain environment

When attempting to configure exchange connector with */MAPI protocol error message "The Security Database on the server does not have a computer account for this workstation trust relationship [1787]" is seen. In ShareScan trace logs error message "Logon() failed with error code 1787" is seen. MSDN reference ERROR_NO_TRUST_SAM_ACCOUNT 1787 (0x6FB)

Environment:

In a multi domain environment with Domain A & Domain B

Domain A is trusted to Domain B but Domain B is not trusted to Domain A

ShareScan manager is located in Domain B

Resolution:

  • ShareScan 5.0 SP4 with Hotfix 230 and the below steps
  • ShareScan 5.1 (includes code changes) and below steps

MAPISProcessStarter service delivers an alternative way of launching MAPIServer executable.

     This method is the same as in ShareScan version 4. In order to get this work, the account running

     the service has to be changed from Local System to Local Service.

     

To make this change you have to open the Properties dialog of the service 

  1. Open Control Panel > Administrative Tools > Component Services:  
  2. In Component Services expand Component Services> Computers > My Computer >COM+ Applications >  
  3. Right click on Nuance MAPI-Process Starter and select Properties
  4. Select the Identity tab and ensure that "Local Service Account" is selected
  5. Restart the PC