URL: https://www.opennet.me/cgi-bin/openforum/vsluhboard.cgi
Форум: vsluhforumID1
Нить номер: 90479
[ Назад ]

Исходное сообщение
"RADIUS + MYSQL"

Отправлено merfi , 05-Дек-10 20:19 
Проблема с 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.


Содержание

Сообщения в этом обсуждении
"RADIUS + MYSQL"
Отправлено erera22 , 06-Дек-10 14:46 
>[оверквотинг удален]
> +- 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.

http://www.google.ru/search?client=opera&rls=ru&q=No+%2...