dm765 Posted May 21, 2009 Posted May 21, 2009 (edited) Добрый день!! Настраиваю FreeRadius2 , но что то не выходит аутентификация по chap, в логах такая ошибка Thu May 21 09:43:35 2009 : Info: Invalid operator for item Service-Type: reverting to '==' Thu May 21 09:43:35 2009 : Auth: Login incorrect (rlm_chap: Clear text password not available): [test/<CHAP-Password>] (from client 212.212.32.121 port 262 cli 172.16.0.129) В файле /usr/local/etc/raddb/modules/chap прописал следующее chap { authtype = CHAP} В файле /usr/local/etc/raddb/hints DEFAULT Suffix == ".ppp", Strip-User-Name = Yes Hint = "PPP", Service-Type == Framed-User, Framed-Protocol == PPP Юзер прописан так файле /usr/local/etc/raddb/users script-test User-Password == "test", Pool-Name := "private_ip_pool" Вывод Radiusd -X относительно chap including configuration file /usr/local/etc/raddb/modules/chap Module: Linked to module rlm_chap Module: Instantiating chap Edited May 21, 2009 by dm765 Вставить ник Quote
dm765 Posted May 21, 2009 Author Posted May 21, 2009 Осталась только вот эта ошибка Thu May 21 09:43:35 2009 : Auth: Login incorrect (rlm_chap: Clear text password not available): [test/<CHAP-Password>] (from client 212.212.32.121 port 262 cli 172.16.0.129) Вставить ник Quote
vmv4 Posted May 21, 2009 Posted May 21, 2009 (edited) Осталась только вот эта ошибка Thu May 21 09:43:35 2009 : Auth: Login incorrect (rlm_chap: Clear text password not available): [test/<CHAP-Password>] (from client 212.212.32.121 port 262 cli 172.16.0.129) А как хранятся пользователи/пароли? CHAPу нужны нешифрованные пароли или в обратимом хеше. Edited May 21, 2009 by vmv4 Вставить ник Quote
dm765 Posted May 21, 2009 Author Posted May 21, 2009 Пользователи хранятся файле /usr/local/etc/raddb/users script-test User-Password == "test", Pool-Name := "private_ip_pool" Пробовал так, не помогло script-test Auth-Type := CHAP, Cleartext-Password == "test", Pool-Name := "private_ip_pool" Вставить ник Quote
dm765 Posted May 21, 2009 Author Posted May 21, 2009 Разобрался, надо было записать Cleartext-Password := "test" Вставить ник Quote
dm765 Posted May 21, 2009 Author Posted May 21, 2009 Проблема не решилась, теперь проходит подключение с пустым паролем. Вставить ник Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.