folgendes Thema beschäftigt mich:
Ich wähle mich auf die ASA ein, der User soll über RADIUS am LCS authentifiziert werden (über Zertifikate). So weit so gut, auf beiden Seiten ist sind die Daten richtig eingegeben.
Die ASA sendet den Request an den LCS, dieser prüft die lokale Tabelle und sendet die Antwort zurück.
Dummer weise wird ein reject gesendet obwohl die Credentials richtig sind.
Hier mal die Log-Dateien:
Code: Alles auswählen
[RADIUS-Server] 2012/03/30 20:48:41,525
Received RADIUS authentication request 2 from client 192.168.10.100:1025[INTRANET]:
-->known attributes of request:
User-Name : testuser
User-Password : H<x94>i<xc7>N<x04><xa2>J<xf3><xe6>L<xf6>k<xb2><xe2>Q
NAS-IP-Address : 192.168.10.100
NAS-Port : 2
NAS-Port-Type : Virtual
-->user name contains no realm, using empty realm
-->realm of user is ''
-->authenticating locally
-->found user 'testuser' in database(s)
-->setting session timeout of 11419 seconds from expiry time
-->authenticating via PAP
-->response type is Reject, response attributes:
Session-Timeout : 11419 s
LCS-Account-End : 03/30/2012 23:59:00
-->sending response
Code: Alles auswählen
=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2012.03.30 20:48:28 =~=~=~=~=~=~=~=~=~=~=~=
radius mkreq: 0x1d
alloc_rip 0xac4f17a4
new request 0x1d --> 2 (0xac4f17a4)
got user 'testuser'
got password
add_req 0xac4f17a4 session 0x1d id 2
RADIUS_REQUEST
radius.c: rad_mkpkt
RADIUS packet decode (authentication request)
--------------------------------------
Raw packet data (length = 66).....
01 02 00 42 fe 5f ac 75 0a 7b 98 f1 d6 57 44 2d | ...B._.u.{...WD-
62 f3 b0 29 01 0a 74 65 73 74 75 73 65 72 02 12 | b..)..testuser..
7a 2e 3e a5 fd 81 34 8e 52 49 0f 47 79 71 e6 85 | z.>...4.RI.Gyq..
04 06 c0 a8 0a 64 05 06 00 00 00 02 3d 06 00 00 | .....d......=...
00 05 | ..
Parsed packet data.....
Radius: Code = 1 (0x01)
Radius: Identifier = 2 (0x02)
Radius: Length = 66 (0x0042)
Radius: Vector: FE5FAC750A7B98F1D657442D62F3B029
Radius: Type = 1 (0x01) User-Name
Radius: Length = 10 (0x0A)
Radius: Value (String) =
74 65 73 74 75 73 65 72 | testuser
Radius: Type = 2 (0x02) User-Password
Radius: Length = 18 (0x12)
Radius: Value (String) =
7a 2e 3e a5 fd 81 34 8e 52 49 0f 47 79 71 e6 85 | z.>...4.RI.Gyq..
Radius: Type = 4 (0x04) NAS-IP-Address
Radius: Length = 6 (0x06)
Radius: Value (IP Address) = 192.168.10.100 (0xC0A80A64)
Radius: Type = 5 (0x05) NAS-Port
Radius: Length = 6 (0x06)
Radius: Value (Hex) = 0x2
Radius: Type = 61 (0x3D) NAS-Port-Type
Radius: Length = 6 (0x06)
Radius: Value (Hex) = 0x5
send pkt 192.168.10.1/1812
rip 0xac4f17a4 state 7 id 2
rad_vrfy() : bad req auth
rad_procpkt: radvrfy fail
RADIUS_DELETE
remove_req 0xac4f17a4 session 0x1d id 2
free_rip 0xac4f17a4
radius: send queue empty
Gruß
MadMurdock