working-ish config for aurore

This commit is contained in:
histausse 2021-09-25 11:23:38 +02:00
parent cd89d28a60
commit d213b62fe5
2 changed files with 3 additions and 1 deletions

View file

@ -1,4 +1,5 @@
#!/usr/bin/env python3
#coding:utf-8
from configparser import ConfigParser
import socket
@ -19,7 +20,7 @@ api_hostname = config.get('Re2o', 'hostname')
api_password = config.get('Re2o', 'password')
api_username = config.get('Re2o', 'username')
api_client = Re2oAPIClient(api_hostname, api_username, api_password, use_tls=False)
api_client = Re2oAPIClient(api_hostname, api_username, api_password, use_tls=True)
client_hostname = socket.gethostname().split('.', 1)[0]

View file

@ -118,6 +118,7 @@ radius-server host {{ ipv4 }} dyn-authorization
radius-server dyn-autz-port 3799
;--- Filtrage mac ---
aaa port-access mac-based addr-format multi-colon
aaa port-access mac-based unauth-redirect "http://re2o.auro.re/users/initial_register"
;--- Bricoles ---
no cdp run
{%- if additionals.dhcp_snooping_vlans %}