авторизация в abills
Добавлено: Вс июл 25, 2010 1:40 pm
народ, помогите плиз!
поставил abills 0.51 на Ubuntu 9.10
вроде бы проблем особых не возникло, но...
никак не могу добиться чтобы проходила аутентификация.
вот что пишет abills
2010-07-25 17:16:51 LOG_WARNING AUTH dimok REJECT Wrong password or account not exists CID: 10.255.129.132 localhost
2010-07-25 17:16:26 LOG_WARNING AUTH dimok REJECT Wrong password or account not exists CID: 10.255.129.132 localhost
2010-07-25 17:16:26 LOG_INFO AUTH dimok CID: 10.255.129.132 GT: 0.09157 localhost
2010-07-25 17:15:33 LOG_INFO AUTH dimok GT: 0.09877 localhost
2010-07-25 17:14:40 LOG_WARNING AUTH dimok REJECT Wrong password or account not exists CID: 10.255.129.132 localhost
2010-07-25 17:14:40 LOG_INFO AUTH dimok CID: 10.255.129.132 GT: 0.09823 localhost
2010-07-25 13:50:03 LOG_INFO AUTH dimok GT: 0.09858 localhost
2010-07-25 13:49:15 LOG_WARNING AUTH dimok REJECT Wrong password or account not exists CID: 10.255.129.132 localhost
2010-07-25 13:49:15 LOG_INFO AUTH dimok CID: 10.255.129.132 GT: 0.06697 localhost
2010-07-25 13:48:55 LOG_WARNING AUTH dimok REJECT Wrong password or account not exists CID: 10.255.129.132 localhost
2010-07-25 13:48:55 LOG_WARNING AUTH dimok Wrong port '0' CID: 10.255.129.132 localhost
2010-07-25 13:46:48 LOG_WARNING AUTH dimok REJECT Wrong password or account not exists CID: 10.255.129.132
root@billing:~# radtest dimok 123456 127.0.0.1 1812 radsecret
Sending Access-Request of id 126 to 127.0.0.1 port 1812
User-Name = "dimok"
User-Password = "123456"
NAS-IP-Address = 10.255.192.22
NAS-Port = 1812
rad_recv: Access-Accept packet from host 127.0.0.1 port 1812, id=126, length=44
Acct-Interim-Interval = 60
Session-Timeout = 539913
Framed-IP-Address = 10.255.129.132
Framed-IP-Netmask = 255.255.192.0
freeradius -X
rad_recv: Access-Request packet from host 127.0.0.1 port 49747, id=119, length=149
Service-Type = Framed-User
Framed-Protocol = PPP
User-Name = "dimok"
MS-CHAP-Challenge = 0xb7926eb1a82a8965836114f11da0a83c
MS-CHAP2-Response = 0xd6002b76c8d71204a3c3ef96dbb36f9e0b240000000000000000089f0bcc590a87676355f94979f95c4e2d83633b84ba41d2
Calling-Station-Id = "10.255.129.132"
NAS-IP-Address = 10.255.192.22
NAS-Port = 0
+- entering group authorize {...}
++[preprocess] returns ok
Exec-Program output: Cleartext-Password := "123456"
Exec-Program-Wait: value-pairs: Cleartext-Password := "123456"
Exec-Program: returned: 0
++[abills_preauth] returns ok
[mschap] Found MS-CHAP attributes. Setting 'Auth-Type = mschap'
++[mschap] returns ok
[files] users: Matched entry DEFAULT at line 1
++[files] returns ok
Exec-Program output: Acct-Interim-Interval = 60, Session-Timeout = 539572, Framed-IP-Address = 10.255.129.132, Framed-IP-Netmask = 255.255.192.0,
Exec-Program-Wait: value-pairs: Acct-Interim-Interval = 60, Session-Timeout = 539572, Framed-IP-Address = 10.255.129.132, Framed-IP-Netmask = 255.255.192.0,
Exec-Program: returned: 0
++[abills_auth] returns ok
Found Auth-Type = MSCHAP
WARNING: Unknown value specified for Auth-Type. Cannot perform requested action.
Failed to authenticate the user.
Using Post-Auth-Type Reject
+- entering group REJECT {...}
Exec-Program output:
Exec-Program: returned: 0
++[abills_postauth] returns ok
Delaying reject of request 0 for 1 seconds
Going to the next request
Waking up in 0.5 seconds.
Sending delayed reject for request 0
Sending Access-Reject of id 119 to 127.0.0.1 port 49747
Acct-Interim-Interval = 60
Session-Timeout = 539572
Framed-IP-Address = 10.255.129.132
Framed-IP-Netmask = 255.255.192.0
Waking up in 4.9 seconds.
Cleaning up request 0 ID 119 with timestamp +8
Ready to process requests.
делал все по подобию данной статьи http://m.habrahabr.ru/post/87421/
подскажите в какую сторону копать
быть может еще нужно какие нить конфиги выложить?
поставил abills 0.51 на Ubuntu 9.10
вроде бы проблем особых не возникло, но...
никак не могу добиться чтобы проходила аутентификация.
вот что пишет abills
2010-07-25 17:16:51 LOG_WARNING AUTH dimok REJECT Wrong password or account not exists CID: 10.255.129.132 localhost
2010-07-25 17:16:26 LOG_WARNING AUTH dimok REJECT Wrong password or account not exists CID: 10.255.129.132 localhost
2010-07-25 17:16:26 LOG_INFO AUTH dimok CID: 10.255.129.132 GT: 0.09157 localhost
2010-07-25 17:15:33 LOG_INFO AUTH dimok GT: 0.09877 localhost
2010-07-25 17:14:40 LOG_WARNING AUTH dimok REJECT Wrong password or account not exists CID: 10.255.129.132 localhost
2010-07-25 17:14:40 LOG_INFO AUTH dimok CID: 10.255.129.132 GT: 0.09823 localhost
2010-07-25 13:50:03 LOG_INFO AUTH dimok GT: 0.09858 localhost
2010-07-25 13:49:15 LOG_WARNING AUTH dimok REJECT Wrong password or account not exists CID: 10.255.129.132 localhost
2010-07-25 13:49:15 LOG_INFO AUTH dimok CID: 10.255.129.132 GT: 0.06697 localhost
2010-07-25 13:48:55 LOG_WARNING AUTH dimok REJECT Wrong password or account not exists CID: 10.255.129.132 localhost
2010-07-25 13:48:55 LOG_WARNING AUTH dimok Wrong port '0' CID: 10.255.129.132 localhost
2010-07-25 13:46:48 LOG_WARNING AUTH dimok REJECT Wrong password or account not exists CID: 10.255.129.132
root@billing:~# radtest dimok 123456 127.0.0.1 1812 radsecret
Sending Access-Request of id 126 to 127.0.0.1 port 1812
User-Name = "dimok"
User-Password = "123456"
NAS-IP-Address = 10.255.192.22
NAS-Port = 1812
rad_recv: Access-Accept packet from host 127.0.0.1 port 1812, id=126, length=44
Acct-Interim-Interval = 60
Session-Timeout = 539913
Framed-IP-Address = 10.255.129.132
Framed-IP-Netmask = 255.255.192.0
freeradius -X
rad_recv: Access-Request packet from host 127.0.0.1 port 49747, id=119, length=149
Service-Type = Framed-User
Framed-Protocol = PPP
User-Name = "dimok"
MS-CHAP-Challenge = 0xb7926eb1a82a8965836114f11da0a83c
MS-CHAP2-Response = 0xd6002b76c8d71204a3c3ef96dbb36f9e0b240000000000000000089f0bcc590a87676355f94979f95c4e2d83633b84ba41d2
Calling-Station-Id = "10.255.129.132"
NAS-IP-Address = 10.255.192.22
NAS-Port = 0
+- entering group authorize {...}
++[preprocess] returns ok
Exec-Program output: Cleartext-Password := "123456"
Exec-Program-Wait: value-pairs: Cleartext-Password := "123456"
Exec-Program: returned: 0
++[abills_preauth] returns ok
[mschap] Found MS-CHAP attributes. Setting 'Auth-Type = mschap'
++[mschap] returns ok
[files] users: Matched entry DEFAULT at line 1
++[files] returns ok
Exec-Program output: Acct-Interim-Interval = 60, Session-Timeout = 539572, Framed-IP-Address = 10.255.129.132, Framed-IP-Netmask = 255.255.192.0,
Exec-Program-Wait: value-pairs: Acct-Interim-Interval = 60, Session-Timeout = 539572, Framed-IP-Address = 10.255.129.132, Framed-IP-Netmask = 255.255.192.0,
Exec-Program: returned: 0
++[abills_auth] returns ok
Found Auth-Type = MSCHAP
WARNING: Unknown value specified for Auth-Type. Cannot perform requested action.
Failed to authenticate the user.
Using Post-Auth-Type Reject
+- entering group REJECT {...}
Exec-Program output:
Exec-Program: returned: 0
++[abills_postauth] returns ok
Delaying reject of request 0 for 1 seconds
Going to the next request
Waking up in 0.5 seconds.
Sending delayed reject for request 0
Sending Access-Reject of id 119 to 127.0.0.1 port 49747
Acct-Interim-Interval = 60
Session-Timeout = 539572
Framed-IP-Address = 10.255.129.132
Framed-IP-Netmask = 255.255.192.0
Waking up in 4.9 seconds.
Cleaning up request 0 ID 119 with timestamp +8
Ready to process requests.
делал все по подобию данной статьи http://m.habrahabr.ru/post/87421/
подскажите в какую сторону копать
быть может еще нужно какие нить конфиги выложить?