【Problem Description】: How to configure L2TP over IPSec with AD domain authentication? Now USG6350 running V500R001C60SPC500 +SPH017
We are trying to configure such scheme by documentation from V1 VRP, but it was failed.
【Problem Analysis】: 1. Check configuration ----is OK
2. check AD domain configuration , test AD account ----is OK
3. compare local authentication and AD authentication---- AD failed .
4. debugging radius all and debugging l2tp all.
Sep 27 2018 14:48:08.7.11+03:00 USG6300 AAA/7/DEBUG:
[AAA INFO]no cfg DaaTariffLevel in service-scheme[50]
Sep 27 2018 14:48:08.7.12+03:00 USG6300 AAA/7/DEBUG:
[AAA INFO]Author of DaaTariffLevel.(DaaEnableFlag=0, UpStat=0, DownStat=0, Acct=0, QosProfile1 =, QosProfile2 =,)
<USG6300>
Sep 27 2018 14:48:08.7.13+03:00 USG6300 AAA/7/DEBUG:
[AAA ERROR]authen finish,the authen fail reason is:17
Sep 27 2018 14:48:08.7.15+03:00 USG6300 AAA/7/DEBUG:
[AAA INFO]user info before adjust: user_name:mihalkov@karatsc.ru access_type: :10
Sep 27 2018 14:48:08.7.16+03:00 USG6300 AAA/7/DEBUG:
Sep 27 2018 15:08:02.847.8+03:00 USG6300 AAA/7/DEBUG:
AAA receive AAA_SRV_MSG_AUTHEN_REQ message(31) from UCM module(0).
Sep 27 2018 15:08:02.847.9+03:00 USG6300 AAA/7/DEBUG:
DestIndex:9707 SrcIndex:9707 Slot:0
User:mihalkov@karatsc.ru MAC:ffff-ffff-ffff
Slot:0 SubSlot:0 Port:0 VLAN:0
IP:255.255.255.255 AccessType:pppolns AuthenType:CHAP
AdminLevel:0 EapSize:0 AuthenCode:PPP
ulInterface:7 ChallengeLen:16 ChapID:1
LineType:0 LineIndex:0 PortType:15
AcctSessionId:USG6300000000000000007f4d400000000
【Root Cause】: Device send a CHAP request packet to AD server. In theory, it need to use PAP mode connect to with AD Server.
【Solution Description】:
It is recommended to change the configuration to:
#
interface Virtual-Template0
ppp authentication-mode chap pap -----> ppp authentication-mode pap // change to pap then try it again .
remote service-scheme l2tpSScheme_1528887088888888888884
ip address 10.0.0.1 255.255.255.0
alias L2TP_LNS_0
undo service-manage enable


