Try to establish from my Vista SP1 client an L2TP/IPSec connection to our
Windows 2003 IAS/RRAS servers. There is no NAT between client and server
- Have certificate based authentication, the machine certificate is
installed, with a valid certificate path
- IPSec connection to the same VPN server works fine with Windows XP
clients, and from a Windows XP VM hosted on the same Vista client
- Getting always error 789 when trying to connect
- Have googled, and the only hint was to try to clean boot Vista. Have done
this (disabled all 3rd party services in msconfig), but still have the same
problem.
- Have enabled diagnostic logging in Vista, but I'm unable to decrypt all
information. Below are some extracts of the Logs

Thank you all for any advice about this issue!
Franz

--------------------------

rasman.log

[1408] 07-24 14:22:50:956: EnableIpSec: port=VPN0-1, fServer=0, fEnable = 1,
rc=0x0
[1408] 07-24 14:22:50:956: DwDoIke: port=VPN0-1, hEvent=0x14ec
[1408] 07-24 14:22:50:956: IsIPAddress: 62.2.xxx.xxx is a valid IPV4 String
[1408] 07-24 14:22:50:956: IsIKESecureCheckDisabled: Destination address is
an IPAddress, Disable the IKESecurity Check
[1408] 07-24 14:22:50:956: DisableIKESecurityCheck flag is 1 and
IsIKESecureCheckDisabled returns with 0
[1408] 07-24 14:22:50:960: Found primary ip address for this interface.
wType=0x5,address=0x3d01a8c0
[1408] 07-24 14:22:50:961: DwGetBestInterface: done. rc=0x0,
address=0x3d01a8c0, mask=0xffffff
[1408] 07-24 14:22:50:961: DwDoIke: done. 0x0
[1408] 07-24 14:22:50:961: DwDoIke for port VPN0-1 returned 0x0
[1408] 07-24 14:22:50:961: DoIke done. 0x0
[3124] 07-24 14:22:54:523: BackGoundCleanUp
[3124] 07-24 14:22:54:523: OVEVT_RASMAN_ADJUST_TIMER
[3124] 07-24 14:23:04:523: BackGoundCleanUp
[3124] 07-24 14:23:04:523: OVEVT_RASMAN_ADJUST_TIMER
[3124] 07-24 14:23:14:523: BackGoundCleanUp
[3124] 07-24 14:23:14:523: OVEVT_RASMAN_ADJUST_TIMER
[3124] 07-24 14:23:24:523: BackGoundCleanUp
[3124] 07-24 14:23:24:523: OVEVT_RASMAN_ADJUST_TIMER
[3124] 07-24 14:23:34:524: BackGoundCleanUp
[3124] 07-24 14:23:34:524: OVEVT_RASMAN_ADJUST_TIMER
[3124] 07-24 14:23:44:524: BackGoundCleanUp
[3124] 07-24 14:23:44:524: OVEVT_RASMAN_ADJUST_TIMER
[3124] 07-24 14:23:54:524: BackGoundCleanUp
[3124] 07-24 14:23:54:524: OVEVT_RASMAN_ADJUST_TIMER
[1408] 07-24 14:23:55:958: DwQueryIkeStatus: retcode=0x0, status=0x78b
[1408] 07-24 14:23:55:959: DwQueryIkeStatus: Freeing IkeInitiateContext
handle 0x316a400
[5652] 07-24 14:23:55:961: ReferenceCustomCount
[5652] 07-24 14:23:55:961: ReferenceCustomCount done. 0
[5652] 07-24 14:23:55:962: RefConnection: 0xa0000
[5652] 07-24 14:23:55:962: refcount=0, maxports=6, ports=1
[5652] 07-24 14:23:55:962: RefConnection: ref on 0xa0000 = 0
[5652] 07-24 14:23:55:963: PortDisconnectRequest - calling
CheckIfAllowedToDisconnectOREnumerate
[5652] 07-24 14:23:55:970: DwSendNotificationInternal(DISCONNECTING)
returned 0x0
[5652] 07-24 14:23:55:970: QueueCloseConnections: no dependent connections


C:\Windows\tracing\tapi32.LOG
-------------------------------------------------------------------------------

[1408] 14:22:50:846: [TRACE] DoFunc -- enter
[1408] 14:22:50:846: [TRACE] AllocClientResources: enter
[1408] 14:22:50:846: [TRACE] AllocClientResources: exit, returning x0
[1408] 14:22:50:847: [TRACE] DoFunc: back from srv- return code=0x00000000
[1408] 14:22:50:847: [TRACE] DoFunc: result = x0
[1408] 14:22:50:847: [TRACE] DoFunc -- enter
[1408] 14:22:50:847: [TRACE] AllocClientResources: enter
[1408] 14:22:50:847: [TRACE] AllocClientResources: exit, returning x0
[1408] 14:22:50:848: [TRACE] DoFunc: back from srv- return code=0x80000023
[1408] 14:22:50:848: [TRACE] DoFunc: result = x80000023
[1408] 14:22:50:849: [TRACE] DoFunc -- enter
[1408] 14:22:50:849: [TRACE] AllocClientResources: enter
[1408] 14:22:50:849: [TRACE] AllocClientResources: exit, returning x0
[1408] 14:22:50:850: [TRACE] DoFunc: back from srv- return code=0x00000000
[1408] 14:22:50:850: [TRACE] DoFunc: result = x0
[1408] 14:22:50:850: [TRACE] DoFunc -- enter
[1408] 14:22:50:850: [TRACE] AllocClientResources: enter
[1408] 14:22:50:850: [TRACE] AllocClientResources: exit, returning x0
[1408] 14:22:50:852: [TRACE] DoFunc: back from srv- return code=0x80000023
[1408] 14:22:50:852: [TRACE] DoFunc: result = x80000023
[1408] 14:22:50:942: [TRACE] DoFunc -- enter
[1408] 14:22:50:942: [TRACE] AllocClientResources: enter
[1408] 14:22:50:942: [TRACE] AllocClientResources: exit, returning x0
[1408] 14:22:50:942: [TRACE] DoFunc: back from srv- return code=0x00000000
[1408] 14:22:50:942: [TRACE] DoFunc: result = x0
[1408] 14:22:50:942: [TRACE] DoFunc -- enter
[1408] 14:22:50:942: [TRACE] AllocClientResources: enter
[1408] 14:22:50:942: [TRACE] AllocClientResources: exit, returning x0
[1408] 14:22:50:943: [TRACE] DoFunc: back from srv- return code=0x00000000
[1408] 14:22:50:943: [TRACE] DoFunc: result = x0
[1408] 14:22:50:943: [TRACE] DoFunc -- enter
[1408] 14:22:50:943: [TRACE] AllocClientResources: enter
[1408] 14:22:50:943: [TRACE] AllocClientResources: exit, returning x0
[1408] 14:22:50:943: [TRACE] DoFunc: back from srv- return code=0x80000049
[1408] 14:22:50:943: [TRACE] DoFunc: result = x80000049
[5652] 14:23:55:971: [TRACE] DoFunc -- enter
[5652] 14:23:55:971: [TRACE] AllocClientResources: enter
[5652] 14:23:55:971: [TRACE] AllocClientResources: exit, returning x0