Radius + MySQL не пускает =(

Обсуждение настройки и работы сервисов, резервирования, сетевых настроек и вопросов безопасности ОС.

Модераторы: SLEDopit, Модераторы разделов

Pegasus
Сообщения: 9
ОС: Ubuntu 7.04

Radius + MySQL не пускает =(

Сообщение Pegasus »

Radius + MySQL настраиваю и вот не пускает радиус , он даже не обращается к базе NySQL
есть идеи ?
вывод дэбагрежима и конфиг радиуса прилагаю

Код: Выделить всё

Sun Feb  3 19:35:46 2008 : Debug: +- entering group authorize
Sun Feb  3 19:35:46 2008 : Debug:   modsingle[authorize]: calling preprocess (rlm_preprocess) for request 9
Sun Feb  3 19:35:46 2008 : Debug:   modsingle[authorize]: returned from preprocess (rlm_preprocess) for request 9
Sun Feb  3 19:35:46 2008 : Debug: ++[preprocess] returns ok
Sun Feb  3 19:35:46 2008 : Debug:   modsingle[authorize]: calling chap (rlm_chap) for request 9
Sun Feb  3 19:35:46 2008 : Debug:   modsingle[authorize]: returned from chap (rlm_chap) for request 9
Sun Feb  3 19:35:46 2008 : Debug: ++[chap] returns noop
Sun Feb  3 19:35:46 2008 : Debug:   modsingle[authorize]: calling mschap (rlm_mschap) for request 9
Sun Feb  3 19:35:46 2008 : Debug:   modsingle[authorize]: returned from mschap (rlm_mschap) for request 9
Sun Feb  3 19:35:46 2008 : Debug: ++[mschap] returns noop
Sun Feb  3 19:35:46 2008 : Debug:   modsingle[authorize]: calling suffix (rlm_realm) for request 9
Sun Feb  3 19:35:46 2008 : Debug:     rlm_realm: No '@' in User-Name = "petya", looking up realm NULL
Sun Feb  3 19:35:46 2008 : Debug:     rlm_realm: No such realm "NULL"
Sun Feb  3 19:35:46 2008 : Debug:   modsingle[authorize]: returned from suffix (rlm_realm) for request 9
Sun Feb  3 19:35:46 2008 : Debug: ++[suffix] returns noop
Sun Feb  3 19:35:46 2008 : Debug:   modsingle[authorize]: calling eap (rlm_eap) for request 9
Sun Feb  3 19:35:46 2008 : Debug:   rlm_eap: No EAP-Message, not doing EAP
Sun Feb  3 19:35:46 2008 : Debug:   modsingle[authorize]: returned from eap (rlm_eap) for request 9
Sun Feb  3 19:35:46 2008 : Debug: ++[eap] returns noop
Sun Feb  3 19:35:46 2008 : Debug:   modsingle[authorize]: calling unix (rlm_unix) for request 9
Sun Feb  3 19:35:46 2008 : Debug:   modsingle[authorize]: returned from unix (rlm_unix) for request 9
Sun Feb  3 19:35:46 2008 : Debug: ++[unix] returns notfound
Sun Feb  3 19:35:46 2008 : Debug:   modsingle[authorize]: calling files (rlm_files) for request 9
Sun Feb  3 19:35:46 2008 : Debug:   modsingle[authorize]: returned from files (rlm_files) for request 9
Sun Feb  3 19:35:46 2008 : Debug: ++[files] returns noop
Sun Feb  3 19:35:46 2008 : Debug:   modsingle[authorize]: calling expiration (rlm_expiration) for request 9
Sun Feb  3 19:35:46 2008 : Debug:   modsingle[authorize]: returned from expiration (rlm_expiration) for request 9
Sun Feb  3 19:35:46 2008 : Debug: ++[expiration] returns noop
Sun Feb  3 19:35:46 2008 : Debug:   modsingle[authorize]: calling logintime (rlm_logintime) for request 9
Sun Feb  3 19:35:46 2008 : Debug:   modsingle[authorize]: returned from logintime (rlm_logintime) for request 9
Sun Feb  3 19:35:46 2008 : Debug: ++[logintime] returns noop
Sun Feb  3 19:35:46 2008 : Debug:   modsingle[authorize]: calling pap (rlm_pap) for request 9
Sun Feb  3 19:35:46 2008 : Debug: rlm_pap: WARNING! No "known good" password found for the user.  Authentication may fail because of this.
Sun Feb  3 19:35:46 2008 : Debug:   modsingle[authorize]: returned from pap (rlm_pap) for request 9
Sun Feb  3 19:35:46 2008 : Debug: ++[pap] returns noop
Sun Feb  3 19:35:46 2008 : Debug: auth: No authenticate method (Auth-Type) configuration found for the request: Rejecting the user
Sun Feb  3 19:35:46 2008 : Debug: auth: Failed to validate the user.
Sun Feb  3 19:35:46 2008 : Auth: Login incorrect: [petya/mary12new] (from client localhost port 1812)
Sun Feb  3 19:35:46 2008 : Debug:   Found Post-Auth-Type Reject
Sun Feb  3 19:35:46 2008 : Debug: +- entering group REJECT
Sun Feb  3 19:35:46 2008 : Debug:   modsingle[post-auth]: calling attr_filter.access_reject (rlm_attr_filter) for request 9
Sun Feb  3 19:35:46 2008 : Debug:       expand: %{User-Name} -> petya
Sun Feb  3 19:35:46 2008 : Debug:  attr_filter: Matched entry DEFAULT at line 11
Sun Feb  3 19:35:46 2008 : Debug:   modsingle[post-auth]: returned from attr_filter.access_reject (rlm_attr_filter) for request 9
Sun Feb  3 19:35:46 2008 : Debug: ++[attr_filter.access_reject] returns updated
Sun Feb  3 19:35:46 2008 : Debug: Delaying reject of request 9 for 1 seconds
Sun Feb  3 19:35:46 2008 : Debug: Going to the next request
Sun Feb  3 19:35:46 2008 : Debug: Waking up in 0.9 seconds.
Sun Feb  3 19:35:47 2008 : Debug: Sending delayed reject for request 9
Sending Access-Reject of id 238 to 127.0.0.1 port 32809
Sun Feb  3 19:35:47 2008 : Debug: Waking up in 4.9 seconds.
Sun Feb  3 19:35:52 2008 : Debug: Cleaning up request 9 ID 238 with timestamp +8932
Sun Feb  3 19:35:52 2008 : Debug: Ready to process requests.




пробую прикрепить конфиг , впервый раз чот не прицепило :crazy:
У вас нет необходимых прав для просмотра вложений в этом сообщении.
Спасибо сказали:
patrius
Сообщения: 337
ОС: Debian (4 & 5) -> Gentoo

Re: Radius + MySQL не пускает =(

Сообщение patrius »

проблема все ещё актуальна?
если да.
очень похоже на то, что сам оадиус сервер "несобран" для работы с mysql.
Спасибо сказали:
redlion
Сообщения: 11

Re: Radius + MySQL не пускает =(

Сообщение redlion »

В Вашем конфиге я не нашел модуля авторизации через SQL.
Есть куча всего, а его нету.. Лично у меня сам конфиг намного меньше - все разбито на отдельные файлы, которые подключаются директивами
include(). В том числе и файл конфигурации sql.conf. Использую freeradius-server-2.1.4, там изначально так конфиги разбиты были.
Спасибо сказали: