Проблема с freeradius2
Надо настроить связку с Mysql
Но пока не получается просто так авторизоваться (без mysql)
в /etc/raddb/users добавилhad Auth-Type := Local, Cleartext-Password == "test"
Service-Type = Framed-User,
Framed-IP-Address = 192.168.0.7,
Framed-IP-Netmask = 255.255.255.0,
radtest shad test localhost 1812 123
Получаю Access-Reject
логи радиус
rad_recv: Access-Request packet from host 127.0.0.1 port 48432, id=192, length=56
User-Name = "shad"
User-Password = "test"
NAS-IP-Address = 127.0.0.1
NAS-Port = 1812
+- entering group authorize {...}
++[preprocess] returns ok
++[chap] returns noop
++[mschap] returns noop
[suffix] No '@' in User-Name = "shad", looking up realm NULL
[suffix] No such realm "NULL"
++[suffix] returns noop
[eap] No EAP-Message, not doing EAP
++[eap] returns noop
++[unix] returns notfound
++[files] returns noop
++[expiration] returns noop
++[logintime] returns noop
[pap] WARNING! No "known good" password found for the user. Authentication may fail because of this.
++[pap] returns noop
No authenticate method (Auth-Type) configuration found for the request: Rejecting the user
Failed to authenticate the user.
Using Post-Auth-Type Reject
+- entering group REJECT {...}
[attr_filter.access_reject] expand: %{User-Name} -> shad
attr_filter: Matched entry DEFAULT at line 11
++[attr_filter.access_reject] returns updated
Delaying reject of request 0 for 1 seconds
Going to the next request
Waking up in 0.9 seconds.
Sending delayed reject for request 0
Sending Access-Reject of id 192 to 127.0.0.1 port 48432
Waking up in 4.9 seconds.