Пользак в базе есть пас 6 единиц.
nausicaa ~ # radtest zulu 111111 127.0.0.1:1812 0 radsecret 0 127.0.0.1
Код: Выделить всё
Sending Access-Request of id 7 to 127.0.0.1 port 1812
User-Name = "zulu"
User-Password = "111111"
NAS-IP-Address = 127.0.0.1
NAS-Port = 0
Framed-Protocol = PPP
rad_recv: Access-Reject packet from host 127.0.0.1 port 1812, id=7, length=55
rad_verify: Received Access-Reject packet from client 127.0.0.1 port 1812 with invalid signature (err=2)! (Shared secret is incorrect.)
nausicaa ~ # cat /usr/abills/var/log/abills.log
Код: Выделить всё
2009-04-01 15:39:20 LOG_WARNING: AUTH [zulu] NAS: 1 Wrong password 'E\r\374\252\025JH\014\335&\225\345\024ж╠\023'
2009-04-01 15:39:20 LOG_WARNING: AUTH [zulu] REJECT Wrong password
nausicaa ~ # radiusd -X
Код: Выделить всё
Listening on authentication address * port 1812
Listening on accounting address * port 1813
Listening on proxy address * port 1814
Ready to process requests.
rad_recv: Access-Request packet from host 127.0.0.1 port 49616, id=156, length=62
User-Name = "zulu"
User-Password = "\266.\353\342\212]\261'\257\233{\226}\031\363\001"
NAS-IP-Address = 127.0.0.1
NAS-Port = 0
Framed-Protocol = PPP
+- entering group authorize
++[preprocess] returns ok
Exec-Program output: Auth-Type := Accept
Exec-Program-Wait: value-pairs: Auth-Type := Accept
Exec-Program: returned: 0
++[pre_auth] returns ok
Using perl at 0x9aee238
Auth-Type := Accept
rlm_perl: ERROR: Failed to create pair FRAMED_PROTOCOL = PPP
rlm_perl: ERROR: Failed to create pair SERVICE_TYPE = Framed-User
rlm_perl: ERROR: Failed to create pair NAS_IDENTIFIER =
rlm_perl: ERROR: Failed to create pair USER_NAME = zulu
rlm_perl: ERROR: Failed to create pair NAS_PORT = 0
rlm_perl: ERROR: Failed to create pair USER_PASSWORD = \266.\353\342\212]\261'\257\233{\226}\031\363\001
rlm_perl: ERROR: Failed to create pair NAS_IP_ADDRESS = 127.0.0.1
rlm_perl: Added pair Reply-Message = Wrong password '\266.\353\342\212]\261'\257\233{\226}\031\363\001'
rlm_perl: Added pair Auth-Type = Reject
++[perl] returns reject
Found Post-Auth-Type Reject
+- entering group REJECT
Using perl at 0x9aee238
rlm_perl: Added pair Framed-Protocol = PPP
rlm_perl: Added pair User-Name = zulu
rlm_perl: Added pair User-Password = \266.\353\342\212]\261'\257\233{\226}\031\363\001
rlm_perl: Added pair Service-Type = Framed-User
rlm_perl: Added pair NAS-Port = 0
rlm_perl: Added pair NAS-IP-Address = 127.0.0.1
rlm_perl: Added pair Reply-Message = Wrong password '\266.\353\342\212]\261'\257\233{\226}\031\363\001'
rlm_perl: Added pair Auth-Type = Reject
rlm_perl: Added pair Post-Auth-Type = REJECT
++[perl] returns reject
Sending Access-Reject of id 156 to 127.0.0.1 port 49616
Reply-Message = "Wrong password '\266.\353\342\212]\261'\257\233{\226}\031\363\001'"
Finished request 0.
Going to the next request
Waking up in 4.9 seconds.
rad_recv: Access-Request packet from host 127.0.0.1 port 49616, id=156, length=62
Sending duplicate reply to client localhost port 49616 - ID: 156
Sending Access-Reject of id 156 to 127.0.0.1 port 49616
Waking up in 1.8 seconds.
Cleaning up request 0 ID 156 with timestamp +8
Ready to process requests.