fix: use MSCHAPV2 wildcard in enterprise eap_users (PAP unsupported)
This commit is contained in:
@@ -2985,7 +2985,7 @@ def _deploy_enterprise(fields):
|
|||||||
device_run(['ip', 'link', 'set', ENT_IFACE, 'up'])
|
device_run(['ip', 'link', 'set', ENT_IFACE, 'up'])
|
||||||
try:
|
try:
|
||||||
with open(ENT_EAP_USERS, 'w') as f:
|
with open(ENT_EAP_USERS, 'w') as f:
|
||||||
f.write('"*"\tPAP\t""\n')
|
f.write('"*"\tMSCHAPV2\t"dummy"\n')
|
||||||
with open(ENT_CONF, 'w') as f:
|
with open(ENT_CONF, 'w') as f:
|
||||||
f.write(
|
f.write(
|
||||||
'interface=%s\n'
|
'interface=%s\n'
|
||||||
|
|||||||
Reference in New Issue
Block a user