Проблема с радиусом, получает неправильный пароль
Добавлено: Чт мар 22, 2012 4:39 pm
rad_recv: Access-Request packet from host 127.0.0.1 port 58815, id=160, length=68
Service-Type = Framed-User
Framed-Protocol = PPP
User-Name = "test"
User-Password = "\247\024\257\210w\226-<b$\3404\227F\217e"
NAS-IP-Address = 127.0.0.1
NAS-Port = 1
# Executing section authorize from file /etc/freeradius/sites-enabled/default
+- entering group authorize {...}
++[preprocess] returns ok
++[chap] returns noop
++[mschap] returns noop
++[digest] returns noop
[suffix] No '@' in User-Name = "test", looking up realm NULL
[suffix] No such realm "NULL"
решил
++[suffix] returns noop
[eap] No EAP-Message, not doing EAP
++[eap] returns noop
[files] users: Matched entry DEFAULT at line 1
++[files] returns ok
++[expiration] returns noop
++[logintime] returns noop
[pap] WARNING: Auth-Type already set. Not setting to PAP
++[pap] returns noop
Found Auth-Type = Accept
Auth-Type = Accept, accepting the user
# Executing section post-auth from file /etc/freeradius/sites-enabled/default
+- entering group post-auth {...}
Exec-Program output: Reply-Message = "Wrong password '\247\024\257\210w\226-<b$\3404\227F\217e'"
Exec-Program-Wait: value-pairs: Reply-Message = "Wrong password '\247\024\257\210w\226-<b$\3404\227F\217e'"
Exec-Program: returned: 1
[exec] Login incorrect (external check said so)
++[exec] returns reject
Using Post-Auth-Type Reject
# Executing group from file /etc/freeradius/sites-enabled/default
+- entering group REJECT {...}
[attr_filter.access_reject] expand: %{User-Name} -> test
attr_filter: Matched entry DEFAULT at line 11
++[attr_filter.access_reject] returns updated
Delaying reject of request 3 for 1 seconds
Going to the next request
Waking up in 0.5 seconds.
Sending delayed reject for request 3
Sending Access-Reject of id 160 to 127.0.0.1 port 58815
Reply-Message = "Wrong password '\247\024\257\210w\226-<b$\3404\227F\217e'"
Waking up in 4.9 seconds.
Cleaning up request 3 ID 160 with timestamp +195
Ready to process requests.
теперь ошибка 691, радиус пишет. что проблемы в модуле пост авторизации
# Executing section authorize from file /etc/freeradius/sites-enabled/default
+- entering group authorize {...}
++[preprocess] returns ok
Exec-Program output: Auth-Type := Accept
Exec-Program-Wait: value-pairs: Auth-Type := Accept
Exec-Program: returned: 0
++[abills_preauth] returns ok
++[mschap] returns noop
[files] users: Matched entry DEFAULT at line 1
++[files] returns ok
Exec-Program output: Session-Timeout = 765221,
Exec-Program-Wait: value-pairs: Session-Timeout = 765221,
Exec-Program: returned: 0
++[abills_auth] returns ok
Found Auth-Type = Accept
Auth-Type = Accept, accepting the user
WARNING: Empty post-auth section. Using default return values.
# Executing section post-auth from file /etc/freeradius/sites-enabled/default
Sending Access-Accept of id 235 to 127.0.0.1 port 37946
Session-Timeout = 765221
Finished request 0.
Service-Type = Framed-User
Framed-Protocol = PPP
User-Name = "test"
User-Password = "\247\024\257\210w\226-<b$\3404\227F\217e"
NAS-IP-Address = 127.0.0.1
NAS-Port = 1
# Executing section authorize from file /etc/freeradius/sites-enabled/default
+- entering group authorize {...}
++[preprocess] returns ok
++[chap] returns noop
++[mschap] returns noop
++[digest] returns noop
[suffix] No '@' in User-Name = "test", looking up realm NULL
[suffix] No such realm "NULL"
решил
++[suffix] returns noop
[eap] No EAP-Message, not doing EAP
++[eap] returns noop
[files] users: Matched entry DEFAULT at line 1
++[files] returns ok
++[expiration] returns noop
++[logintime] returns noop
[pap] WARNING: Auth-Type already set. Not setting to PAP
++[pap] returns noop
Found Auth-Type = Accept
Auth-Type = Accept, accepting the user
# Executing section post-auth from file /etc/freeradius/sites-enabled/default
+- entering group post-auth {...}
Exec-Program output: Reply-Message = "Wrong password '\247\024\257\210w\226-<b$\3404\227F\217e'"
Exec-Program-Wait: value-pairs: Reply-Message = "Wrong password '\247\024\257\210w\226-<b$\3404\227F\217e'"
Exec-Program: returned: 1
[exec] Login incorrect (external check said so)
++[exec] returns reject
Using Post-Auth-Type Reject
# Executing group from file /etc/freeradius/sites-enabled/default
+- entering group REJECT {...}
[attr_filter.access_reject] expand: %{User-Name} -> test
attr_filter: Matched entry DEFAULT at line 11
++[attr_filter.access_reject] returns updated
Delaying reject of request 3 for 1 seconds
Going to the next request
Waking up in 0.5 seconds.
Sending delayed reject for request 3
Sending Access-Reject of id 160 to 127.0.0.1 port 58815
Reply-Message = "Wrong password '\247\024\257\210w\226-<b$\3404\227F\217e'"
Waking up in 4.9 seconds.
Cleaning up request 3 ID 160 with timestamp +195
Ready to process requests.
теперь ошибка 691, радиус пишет. что проблемы в модуле пост авторизации
# Executing section authorize from file /etc/freeradius/sites-enabled/default
+- entering group authorize {...}
++[preprocess] returns ok
Exec-Program output: Auth-Type := Accept
Exec-Program-Wait: value-pairs: Auth-Type := Accept
Exec-Program: returned: 0
++[abills_preauth] returns ok
++[mschap] returns noop
[files] users: Matched entry DEFAULT at line 1
++[files] returns ok
Exec-Program output: Session-Timeout = 765221,
Exec-Program-Wait: value-pairs: Session-Timeout = 765221,
Exec-Program: returned: 0
++[abills_auth] returns ok
Found Auth-Type = Accept
Auth-Type = Accept, accepting the user
WARNING: Empty post-auth section. Using default return values.
# Executing section post-auth from file /etc/freeradius/sites-enabled/default
Sending Access-Accept of id 235 to 127.0.0.1 port 37946
Session-Timeout = 765221
Finished request 0.