尝试使用 MS-CHAP v2 建立 Windows VPN 连接时,为什么错误 649 会映射到更通用的错误 812?前者似乎更有用。
向用户显示的对话框显示错误 812,但此代码片段来自 svchost_RASCHAP.LOG。出现表明服务器实际上返回了代码 649。
[3084] 03-30 18:26:00:462: ChapMakeMessage,RBuf=00000000081213E2
[3084] 03-30 18:26:00:462: ChapCMakeMessage...
[3084] 03-30 18:26:00:462: CS_ResponseSent
[3084] 03-30 18:26:00:462: Message received...
04 00 00 0E 45 3D 36 34 39 20 52 3D 30 20 00 00 |....E=649 R=0 ..|
[3084] 03-30 18:26:00:462: Failure received...
[3084] 03-30 18:26:00:462: GetInfoFromFailure...
[3084] 03-30 18:26:00:462: RASDiag: Mapping to new error code: 812 (ERROR_SERVER_POLICY) instead of 649 (ERROR_NO_DIALIN_PERMISSION)
[3084] 03-30 18:26:00:462: GetInfoFromFailure done,e=812,r=0,v=2
[3084] 03-30 18:26:00:462: Auth failed for unknown reaons with no Retry :| error=812 retry-count=0
[3084] 03-30 18:26:00:462: Done :(
[3084] 03-30 18:26:00:462: ChapEnd