Hi everybody!
I�m doing a Bachelor-thesis about setting up a secure WLAN Access with a
Freeradius Server for my University.
Because i have to give away my thesis at 1. of March this is urgent.
Now description of my problem:
Clients sends Username/Password through PEAP/MSCHAPv2 to Radiusserver, which
uses an LDAP Server for authentication.
If i understood it right, the Radius Server should do a bind to LDAP Server
with DN and Password provided.
The success answer from LDAP tells the Radius Server authentication successful
finished.
The point is, i got a successful authentication with the programm radtest by a
bind to LDAP Server. And i get success with PEAP/MSCHAPv2 using a Testuser on
local configfile users
But the whole "chain" does not work. I cant figure out what error message(see
end) means and how to stop?
Is it basicaly possible with PEAP/MSCHAPv2 to authenticate at an LDAP
directory?
Here is my log that is successful in authorize with LDAP, but fails to
authenticate with LDAP:
(private information replaced with X)
Ready to process requests.
rad_recv: Access-Request packet from host XXXXXXXXXXXXXXX:1301, id=211,
length=126
NAS-IP-Address = xxxxxxxxxxxxxxx
NAS-Port-Type = Wireless-802.11
NAS-Port = 1
Framed-MTU = 1400
User-Name = "xxxxxx"
Calling-Station-Id = "000fb5377adc"
Called-Station-Id = "0001f47afc19"
NAS-Identifier = "RoamAbout3000"
EAP-Message = 0x0201000b016e6639353532
Message-Authenticator = 0xffc4a4fa474a2827dad8ad1e2bf4905e
Processing the authorize section of radiusd.conf
modcall: entering group authorize for request 0
modcall[authorize]: module "preprocess" returns ok for request 0
radius_xlat: '/var/log/radius/radacct/xxxxxxxxxxxxxx/auth-detail-20050203'
rlm_detail: /var/log/radius/radacct/%{Client-IP-Address}/auth-detail-%Y%m%d
expands to /var/log/radius/radacct/xxxxxxxxxxxxx/auth-detail-20050203
modcall[authorize]: module "auth_log" returns ok for request 0
modcall[authorize]: module "chap" returns noop for request 0
modcall[authorize]: module "mschap" returns noop for request 0
rlm_realm: No '@' in User-Name = "xxxxxx", looking up realm NULL
rlm_realm: No such realm "NULL"
modcall[authorize]: module "suffix" returns noop for request 0
rlm_eap: EAP packet type response id 1 length 11
rlm_eap: No EAP Start, assuming it's an on-going EAP conversation
modcall[authorize]: module "eap" returns updated for request 0
users: Matched DEFAULT at 162
modcall[authorize]: module "files" returns ok for request 0
rlm_ldap: - authorize
rlm_ldap: performing user authorization for xxxxxx
radius_xlat: '(uid=xxxxxx)'
radius_xlat: 'cn=xxxxxxx,ou=xxxxxxx,o=xxxxxxxxxxxxx,c=DE'
rlm_ldap: ldap_get_conn: Checking Id: 0
rlm_ldap: ldap_get_conn: Got Id: 0
rlm_ldap: attempting LDAP reconnection
rlm_ldap: (re)connect to xxxxxxxxxxxx:389, authentication 0
rlm_ldap: bind as / to xxxxxxxxxxxxxx
rlm_ldap: waiting for bind result ...
rlm_ldap: Bind was successful
rlm_ldap: performing search in cn=xxxxx,ou=xxxxxx,o=xxxxxxxxxxxxxxxxx,c=DE,
with filter (uid=xxxxxx)
rlm_ldap: looking for check items in directory...
rlm_ldap: looking for reply items in directory...
rlm_ldap: user XXXXXX authorized to use remote access
rlm_ldap: ldap_release_conn: Release Id: 0
modcall[authorize]: module "ldap" returns ok for request 0
modcall: group authorize returns updated for request 0
rad_check_password: Found Auth-Type EAP
auth: type "EAP"
Processing the authenticate section of radiusd.conf
modcall: entering group authenticate for request 0
rlm_eap: EAP Identity
rlm_eap: processing type tls
rlm_eap_tls: Initiate
rlm_eap_tls: Start returned 1
modcall[authenticate]: module "eap" returns handled for request 0
modcall: group authenticate returns handled for request 0
Sending Access-Challenge of id 211 to XXXXXXXXXXXX:1301
EAP-Message = 0x010200061920
Message-Authenticator = 0x00000000000000000000000000000000
State = 0x8119cf34fdc7ff9e112a9d51a6e9f6a9
Finished request 0
Going to the next request
--- Walking the entire request list ---
Waking up in 6 seconds...
rad_recv: Access-Request packet from host XXXXXXXXXXXX:1302, id=212, length=213
NAS-IP-Address = XXXXXXXXXXXX
NAS-Port-Type = Wireless-802.11
NAS-Port = 1
Framed-MTU = 1400
User-Name = "XXXXXX"
Calling-Station-Id = "000fb5377adc"
Called-Station-Id = "0001f47afc19"
NAS-Identifier = "RoamAbout3000"
State = 0x8119cf34fdc7ff9e112a9d51a6e9f6a9
EAP-Message =
0x0202005019800000004616030100410100003d030142024afc6b844c3a22d283c0711eb96c19d0f873e2d8d4dd360ac87fa54beed300001600040005000a000900640062000300060013001200630100
Message-Authenticator = 0x7da7d638953289e044980cebbf3fa253
Processing the authorize section of radiusd.conf
modcall: entering group authorize for request 1
modcall[authorize]: module "preprocess" returns ok for request 1
radius_xlat: '/var/log/radius/radacct/XXXXXXXXXXXX/auth-detail-20050203'
rlm_detail: /var/log/radius/radacct/%{Client-IP-Address}/auth-detail-%Y%m%d
expands to /var/log/radius/radacct/XXXXXXXXXXXX/auth-detail-20050203
modcall[authorize]: module "auth_log" returns ok for request 1
modcall[authorize]: module "chap" returns noop for request 1
modcall[authorize]: module "mschap" returns noop for request 1
rlm_realm: No '@' in User-Name = "XXXXXX", looking up realm NULL
rlm_realm: No such realm "NULL"
modcall[authorize]: module "suffix" returns noop for request 1
rlm_eap: EAP packet type response id 2 length 80
rlm_eap: No EAP Start, assuming it's an on-going EAP conversation
modcall[authorize]: module "eap" returns updated for request 1
users: Matched DEFAULT at 162
modcall[authorize]: module "files" returns ok for request 1
rlm_ldap: - authorize
rlm_ldap: performing user authorization for XXXXXX
radius_xlat: '(uid=XXXXXX)'
radius_xlat: 'cn=XXXXXX,ou=XXXXXXX,o=XXXXXXXXXXX,c=DE'
rlm_ldap: ldap_get_conn: Checking Id: 0
rlm_ldap: ldap_get_conn: Got Id: 0
rlm_ldap: performing search in cn=XXXXXX,ou=XXXXXXX,o=XXXXXXXXXXX,c=DE, with
filter (uid=XXXXXX)
rlm_ldap: looking for check items in directory...
rlm_ldap: looking for reply items in directory...
rlm_ldap: user XXXXXX authorized to use remote access
rlm_ldap: ldap_release_conn: Release Id: 0
modcall[authorize]: module "ldap" returns ok for request 1
modcall: group authorize returns updated for request 1
rad_check_password: Found Auth-Type EAP
auth: type "EAP"
Processing the authenticate section of radiusd.conf
modcall: entering group authenticate for request 1
rlm_eap: Request found, released from the list
rlm_eap: EAP/peap
rlm_eap: processing type peap
rlm_eap_peap: Authenticate
rlm_eap_tls: processing TLS
rlm_eap_tls: Length Included
eaptls_verify returned 11
(other): before/accept initialization
TLS_accept: before/accept initialization
rlm_eap_tls: <<< TLS 1.0 Handshake [length 0041], ClientHello
TLS_accept: SSLv3 read client hello A
rlm_eap_tls: >>> TLS 1.0 Handshake [length 004a], ServerHello
TLS_accept: SSLv3 write server hello A
rlm_eap_tls: >>> TLS 1.0 Handshake [length 0694], Certificate
TLS_accept: SSLv3 write certificate A
rlm_eap_tls: >>> TLS 1.0 Handshake [length 0004], ServerHelloDone
TLS_accept: SSLv3 write server done A
TLS_accept: SSLv3 flush data
TLS_accept:error in SSLv3 read client certificate A
In SSL Handshake Phase
In SSL Accept mode
eaptls_process returned 13
rlm_eap_peap: EAPTLS_HANDLED
modcall[authenticate]: module "eap" returns handled for request 1
modcall: group authenticate returns handled for request 1
Sending Access-Challenge of id 212 to XXXXXXXXXXXX:1302
EAP-Message =
0x0103040a19c0000006f1160301004a02000046030142024a0a20bca529cdf93814f6d5822964eddb6d0e55330c2e01e5385273888b20e40ca68a10f9e9f85f2cd97f82f0b92a82c8a28e7bcec731e185ba2e1d8f8d7500040016030106940b00069000068d0002cd308202c930820232a003020102020102300d06092a864886f70d010104050030819f310b30090603550406130243413111300f0603550408130850726f76696e63653112301006035504071309536f6d65204369747931153013060355040a130c4f7267616e697a6174696f6e31123010060355040b13096c6f63616c686f7374311b301906035504031312436c69656e74206365
EAP-Message =
0x7274696669636174653121301f06092a864886f70d0109011612636c69656e74406578616d706c652e636f6d301e170d3034303132353133323631305a170d3035303132343133323631305a30819b310b30090603550406130243413111300f0603550408130850726f76696e63653112301006035504071309536f6d65204369747931153013060355040a130c4f7267616e697a6174696f6e31123010060355040b13096c6f63616c686f73743119301706035504031310526f6f74206365727469666963617465311f301d06092a864886f70d0109011610726f6f74406578616d706c652e636f6d30819f300d06092a864886f70d010101050003
EAP-Message =
0x818d0030818902818100dac525422bfedb082629a2cba44b3449c90d0ab462fb72c8434a782098863d7eb7d7e70028c2b7ad555a51cc756cf4fa1d7091615ab450d5289553ae6616aff014a55085d6b8fb4aee98638e426175cdd36c665c63cda177d34920eb30585edc8773999c2980f81ad4638bbbea1c82d054023db7ef24a3ec1c3f6241a903d7f30203010001a317301530130603551d25040c300a06082b06010505070301300d06092a864886f70d0101040500038181007a2d921b1cf13bf2982a9178ec9ede6d88edc178a2e8bd40a0a06fb6f0769957884cd7084537083496fd184165293f583c8e8240eb68e042c94b15752e4c07e80d09
EAP-Message =
0x779afa3dd55c24fa54ac292d77205d1c2477ed30d59f57caf9bd21ff2a8d16cc0911c50e4f295763fcb60efa3c3d2d0e43850f6e6fbe284902f6e83503650003ba308203b63082031fa003020102020100300d06092a864886f70d010104050030819f310b30090603550406130243413111300f0603550408130850726f76696e63653112301006035504071309536f6d65204369747931153013060355040a130c4f7267616e697a6174696f6e31123010060355040b13096c6f63616c686f7374311b301906035504031312436c69656e742063657274696669636174653121301f06092a864886f70d0109011612636c69656e74406578616d706c
EAP-Message = 0x652e636f6d301e170d3034303132353133323630375a
Message-Authenticator = 0x00000000000000000000000000000000
State = 0x8726cc05466924daa76c5730ef536cf0
Finished request 1
Going to the next request
Waking up in 6 seconds...
rad_recv: Access-Request packet from host XXXXXXXXXXXX:1303, id=213, length=139
NAS-IP-Address = XXXXXXXXXXXX
NAS-Port-Type = Wireless-802.11
NAS-Port = 1
Framed-MTU = 1400
User-Name = "XXXXXX"
Calling-Station-Id = "000fb5377adc"
Called-Station-Id = "0001f47afc19"
NAS-Identifier = "RoamAbout3000"
State = 0x8726cc05466924daa76c5730ef536cf0
EAP-Message = 0x020300061900
Message-Authenticator = 0x391dcd3add6af547376ac21cbb4e76ce
Processing the authorize section of radiusd.conf
modcall: entering group authorize for request 2
modcall[authorize]: module "preprocess" returns ok for request 2
radius_xlat: '/var/log/radius/radacct/XXXXXXXXXXXX/auth-detail-20050203'
rlm_detail: /var/log/radius/radacct/%{Client-IP-Address}/auth-detail-%Y%m%d
expands to /var/log/radius/radacct/XXXXXXXXXXXX/auth-detail-20050203
modcall[authorize]: module "auth_log" returns ok for request 2
modcall[authorize]: module "chap" returns noop for request 2
modcall[authorize]: module "mschap" returns noop for request 2
rlm_realm: No '@' in User-Name = "XXXXXX", looking up realm NULL
rlm_realm: No such realm "NULL"
modcall[authorize]: module "suffix" returns noop for request 2
rlm_eap: EAP packet type response id 3 length 6
rlm_eap: No EAP Start, assuming it's an on-going EAP conversation
modcall[authorize]: module "eap" returns updated for request 2
users: Matched DEFAULT at 162
modcall[authorize]: module "files" returns ok for request 2
rlm_ldap: - authorize
rlm_ldap: performing user authorization for XXXXXX
radius_xlat: '(uid=XXXXXX)'
radius_xlat: 'cn=XXXXXX,ou=XXXXXXX,o=XXXXXXXXXXX,c=DE'
rlm_ldap: ldap_get_conn: Checking Id: 0
rlm_ldap: ldap_get_conn: Got Id: 0
rlm_ldap: performing search in cn=XXXXXX,ou=XXXXXXX,o=XXXXXXXXXXX,c=DE, with
filter (uid=XXXXXX)
rlm_ldap: looking for check items in directory...
rlm_ldap: looking for reply items in directory...
rlm_ldap: user XXXXXX authorized to use remote access
rlm_ldap: ldap_release_conn: Release Id: 0
modcall[authorize]: module "ldap" returns ok for request 2
modcall: group authorize returns updated for request 2
rad_check_password: Found Auth-Type EAP
auth: type "EAP"
Processing the authenticate section of radiusd.conf
modcall: entering group authenticate for request 2
rlm_eap: Request found, released from the list
rlm_eap: EAP/peap
rlm_eap: processing type peap
rlm_eap_peap: Authenticate
rlm_eap_tls: processing TLS
rlm_eap_tls: Received EAP-TLS ACK message
rlm_eap_tls: ack handshake fragment handler
eaptls_verify returned 1
eaptls_process returned 13
rlm_eap_peap: EAPTLS_HANDLED
modcall[authenticate]: module "eap" returns handled for request 2
modcall: group authenticate returns handled for request 2
Sending Access-Challenge of id 213 to XXXXXXXXXXXX:1303
EAP-Message =
0x010402f71900170d3036303132343133323630375a30819f310b30090603550406130243413111300f0603550408130850726f76696e63653112301006035504071309536f6d65204369747931153013060355040a130c4f7267616e697a6174696f6e31123010060355040b13096c6f63616c686f7374311b301906035504031312436c69656e742063657274696669636174653121301f06092a864886f70d0109011612636c69656e74406578616d706c652e636f6d30819f300d06092a864886f70d010101050003818d0030818902818100d4c5b19724f164acf1ffb189db1c8fbff4f14396ea7cb1e90f78d69451725377895dfe52ccb99b41e8
EAP-Message =
0x0ddeb58b127a943f4f58cbc562878192fbdc6fece9f871e7c130d35cf5188817e9b133249edd2a1c75d31043ae87553cec7a77ef26aa7d74281db9b77e17c6446c5dd9b188b43250ca0229963722a123a726b00b4027fd0203010001a381ff3081fc301d0603551d0e0416041468d36d3e1ee7bc9d5a057021c363da1365d1ade33081cc0603551d230481c43081c1801468d36d3e1ee7bc9d5a057021c363da1365d1ade3a181a5a481a230819f310b30090603550406130243413111300f0603550408130850726f76696e63653112301006035504071309536f6d65204369747931153013060355040a130c4f7267616e697a6174696f6e31123010
EAP-Message =
0x060355040b13096c6f63616c686f7374311b301906035504031312436c69656e742063657274696669636174653121301f06092a864886f70d0109011612636c69656e74406578616d706c652e636f6d820100300c0603551d13040530030101ff300d06092a864886f70d01010405000381810033c00b66b1e579ef73a06798252dab8d5e5511fc00fd276d80d12f834777c6743fdc2743fca1507704e4bc0979e4f60ac3ad9ee83e6f347369229d1f77229ba2e982359da563024a00163dba6d6c986c0bad28af85132ff8f0d76501bf1b7c2dff658ce1e62c01997b6e64e3e8d4373354ce9912847651539063b85bbc5485c516030100040e000000
Message-Authenticator = 0x00000000000000000000000000000000
State = 0xda67d261ab0dfed90387d0fbf0c2d692
Finished request 2
Going to the next request
Waking up in 6 seconds...
rad_recv: Access-Request packet from host XXXXXXXXXXXX:1304, id=214, length=325
NAS-IP-Address = XXXXXXXXXXXX
NAS-Port-Type = Wireless-802.11
NAS-Port = 1
Framed-MTU = 1400
User-Name = "XXXXXX"
Calling-Station-Id = "000fb5377adc"
Called-Station-Id = "0001f47afc19"
NAS-Identifier = "RoamAbout3000"
State = 0xda67d261ab0dfed90387d0fbf0c2d692
EAP-Message =
0x020400c01980000000b61603010086100000820080b3e26721ad0b6a98028a98532767458846623804eb02fd91a59a75d1219f0917c4ba95664e57056c181d38cd01c47a2c8cb0be3be0fd527639aac7e72ab4c93575b12376e94875ccf23711003ee7b034a445c49e68021068193eb48ee378c5e92b41d48dc41cca5a337c13891d5f1969d81d7e4026ed808b20d52baf375a47c71403010001011603010020f08eaacc1d453a2ed66ab930f2de1fcf81f870c5d376ac8ef481d7904769e47a
Message-Authenticator = 0x60cc5431f889aad9ae0a92b45daa8272
Processing the authorize section of radiusd.conf
modcall: entering group authorize for request 3
modcall[authorize]: module "preprocess" returns ok for request 3
radius_xlat: '/var/log/radius/radacct/XXXXXXXXXXXX/auth-detail-20050203'
rlm_detail: /var/log/radius/radacct/%{Client-IP-Address}/auth-detail-%Y%m%d
expands to /var/log/radius/radacct/XXXXXXXXXXXX/auth-detail-20050203
modcall[authorize]: module "auth_log" returns ok for request 3
modcall[authorize]: module "chap" returns noop for request 3
modcall[authorize]: module "mschap" returns noop for request 3
rlm_realm: No '@' in User-Name = "XXXXXX", looking up realm NULL
rlm_realm: No such realm "NULL"
modcall[authorize]: module "suffix" returns noop for request 3
rlm_eap: EAP packet type response id 4 length 192
rlm_eap: No EAP Start, assuming it's an on-going EAP conversation
modcall[authorize]: module "eap" returns updated for request 3
users: Matched DEFAULT at 162
modcall[authorize]: module "files" returns ok for request 3
rlm_ldap: - authorize
rlm_ldap: performing user authorization for XXXXXX
radius_xlat: '(uid=XXXXXX)'
radius_xlat: 'cn=XXXXXX,ou=XXXXXXX,o=XXXXXXXXXXX,c=DE'
rlm_ldap: ldap_get_conn: Checking Id: 0
rlm_ldap: ldap_get_conn: Got Id: 0
rlm_ldap: performing search in cn=XXXXXX,ou=XXXXXXX,o=XXXXXXXXXXX,c=DE, with
filter (uid=XXXXXX)
rlm_ldap: looking for check items in directory...
rlm_ldap: looking for reply items in directory...
rlm_ldap: user XXXXXX authorized to use remote access
rlm_ldap: ldap_release_conn: Release Id: 0
modcall[authorize]: module "ldap" returns ok for request 3
modcall: group authorize returns updated for request 3
rad_check_password: Found Auth-Type EAP
auth: type "EAP"
Processing the authenticate section of radiusd.conf
modcall: entering group authenticate for request 3
rlm_eap: Request found, released from the list
rlm_eap: EAP/peap
rlm_eap: processing type peap
rlm_eap_peap: Authenticate
rlm_eap_tls: processing TLS
rlm_eap_tls: Length Included
eaptls_verify returned 11
rlm_eap_tls: <<< TLS 1.0 Handshake [length 0086], ClientKeyExchange
TLS_accept: SSLv3 read client key exchange A
rlm_eap_tls: <<< TLS 1.0 ChangeCipherSpec [length 0001]
rlm_eap_tls: <<< TLS 1.0 Handshake [length 0010], Finished
TLS_accept: SSLv3 read finished A
rlm_eap_tls: >>> TLS 1.0 ChangeCipherSpec [length 0001]
TLS_accept: SSLv3 write change cipher spec A
rlm_eap_tls: >>> TLS 1.0 Handshake [length 0010], Finished
TLS_accept: SSLv3 write finished A
TLS_accept: SSLv3 flush data
(other): SSL negotiation finished successfully
SSL Connection Established
eaptls_process returned 13
rlm_eap_peap: EAPTLS_HANDLED
modcall[authenticate]: module "eap" returns handled for request 3
modcall: group authenticate returns handled for request 3
Sending Access-Challenge of id 214 to XXXXXXXXXXXX:1304
EAP-Message =
0x0105003119001403010001011603010020ea0e4d301dba922d7c85868df17b55a36fcbf2e21d43f68828dabb1b1ba6d203
Message-Authenticator = 0x00000000000000000000000000000000
State = 0x47494d539a9a864195e3f12c4f6f38c9
Finished request 3
Going to the next request
Waking up in 6 seconds...
rad_recv: Access-Request packet from host XXXXXXXXXXXX:1305, id=215, length=139
NAS-IP-Address = XXXXXXXXXXXX
NAS-Port-Type = Wireless-802.11
NAS-Port = 1
Framed-MTU = 1400
User-Name = "XXXXXX"
Calling-Station-Id = "000fb5377adc"
Called-Station-Id = "0001f47afc19"
NAS-Identifier = "RoamAbout3000"
State = 0x47494d539a9a864195e3f12c4f6f38c9
EAP-Message = 0x020500061900
Message-Authenticator = 0x7f32ab87615b2d6fd16e34e4103a3db5
Processing the authorize section of radiusd.conf
modcall: entering group authorize for request 4
modcall[authorize]: module "preprocess" returns ok for request 4
radius_xlat: '/var/log/radius/radacct/XXXXXXXXXXXX/auth-detail-20050203'
rlm_detail: /var/log/radius/radacct/%{Client-IP-Address}/auth-detail-%Y%m%d
expands to /var/log/radius/radacct/XXXXXXXXXXXX/auth-detail-20050203
modcall[authorize]: module "auth_log" returns ok for request 4
modcall[authorize]: module "chap" returns noop for request 4
modcall[authorize]: module "mschap" returns noop for request 4
rlm_realm: No '@' in User-Name = "XXXXXX", looking up realm NULL
rlm_realm: No such realm "NULL"
modcall[authorize]: module "suffix" returns noop for request 4
rlm_eap: EAP packet type response id 5 length 6
rlm_eap: No EAP Start, assuming it's an on-going EAP conversation
modcall[authorize]: module "eap" returns updated for request 4
users: Matched DEFAULT at 162
modcall[authorize]: module "files" returns ok for request 4
rlm_ldap: - authorize
rlm_ldap: performing user authorization for XXXXXX
radius_xlat: '(uid=XXXXXX)'
radius_xlat: 'cn=XXXXXX,ou=XXXXXXX,o=XXXXXXXXXXX,c=DE'
rlm_ldap: ldap_get_conn: Checking Id: 0
rlm_ldap: ldap_get_conn: Got Id: 0
rlm_ldap: performing search in cn=XXXXXX,ou=XXXXXXX,o=XXXXXXXXXXX,c=DE, with
filter (uid=XXXXXX)
rlm_ldap: looking for check items in directory...
rlm_ldap: looking for reply items in directory...
rlm_ldap: user XXXXXX authorized to use remote access
rlm_ldap: ldap_release_conn: Release Id: 0
modcall[authorize]: module "ldap" returns ok for request 4
modcall: group authorize returns updated for request 4
rad_check_password: Found Auth-Type EAP
auth: type "EAP"
Processing the authenticate section of radiusd.conf
modcall: entering group authenticate for request 4
rlm_eap: Request found, released from the list
rlm_eap: EAP/peap
rlm_eap: processing type peap
rlm_eap_peap: Authenticate
rlm_eap_tls: processing TLS
rlm_eap_tls: Received EAP-TLS ACK message
rlm_eap_tls: ack handshake is finished
eaptls_verify returned 3
eaptls_process returned 3
rlm_eap_peap: EAPTLS_SUCCESS
modcall[authenticate]: module "eap" returns handled for request 4
modcall: group authenticate returns handled for request 4
Sending Access-Challenge of id 215 to XXXXXXXXXXXX:1305
EAP-Message =
0x0106002019001703010015efa84ba73e1c5320b86c135ef9b520460f1ac496c8
Message-Authenticator = 0x00000000000000000000000000000000
State = 0xa8c472326f5a4d86c9a825516f347f0c
Finished request 4
Going to the next request
Waking up in 6 seconds...
rad_recv: Access-Request packet from host XXXXXXXXXXXX:1306, id=216, length=167
NAS-IP-Address = XXXXXXXXXXXX
NAS-Port-Type = Wireless-802.11
NAS-Port = 1
Framed-MTU = 1400
User-Name = "XXXXXX"
Calling-Station-Id = "000fb5377adc"
Called-Station-Id = "0001f47afc19"
NAS-Identifier = "RoamAbout3000"
State = 0xa8c472326f5a4d86c9a825516f347f0c
EAP-Message =
0x02060022190017030100178142b4cc91a9c39e2ef0486af7d1313693068227f46afa
Message-Authenticator = 0x484069df45d8f02584b8ced4bb7c1dc8
Processing the authorize section of radiusd.conf
modcall: entering group authorize for request 5
modcall[authorize]: module "preprocess" returns ok for request 5
radius_xlat: '/var/log/radius/radacct/XXXXXXXXXXXX/auth-detail-20050203'
rlm_detail: /var/log/radius/radacct/%{Client-IP-Address}/auth-detail-%Y%m%d
expands to /var/log/radius/radacct/XXXXXXXXXXXX/auth-detail-20050203
modcall[authorize]: module "auth_log" returns ok for request 5
modcall[authorize]: module "chap" returns noop for request 5
modcall[authorize]: module "mschap" returns noop for request 5
rlm_realm: No '@' in User-Name = "XXXXXX", looking up realm NULL
rlm_realm: No such realm "NULL"
modcall[authorize]: module "suffix" returns noop for request 5
rlm_eap: EAP packet type response id 6 length 34
rlm_eap: No EAP Start, assuming it's an on-going EAP conversation
modcall[authorize]: module "eap" returns updated for request 5
users: Matched DEFAULT at 162
modcall[authorize]: module "files" returns ok for request 5
rlm_ldap: - authorize
rlm_ldap: performing user authorization for XXXXXX
radius_xlat: '(uid=XXXXXX)'
radius_xlat: 'cn=XXXXXX,ou=XXXXXXX,o=XXXXXXXXXXX,c=DE'
rlm_ldap: ldap_get_conn: Checking Id: 0
rlm_ldap: ldap_get_conn: Got Id: 0
rlm_ldap: performing search in cn=XXXXXX,ou=XXXXXXX,o=XXXXXXXXXXX,c=DE, with
filter (uid=XXXXXX)
rlm_ldap: looking for check items in directory...
rlm_ldap: looking for reply items in directory...
rlm_ldap: user XXXXXX authorized to use remote access
rlm_ldap: ldap_release_conn: Release Id: 0
modcall[authorize]: module "ldap" returns ok for request 5
modcall: group authorize returns updated for request 5
rad_check_password: Found Auth-Type EAP
auth: type "EAP"
Processing the authenticate section of radiusd.conf
modcall: entering group authenticate for request 5
rlm_eap: Request found, released from the list
rlm_eap: EAP/peap
rlm_eap: processing type peap
rlm_eap_peap: Authenticate
rlm_eap_tls: processing TLS
eaptls_verify returned 7
rlm_eap_tls: Done initial handshake
eaptls_process returned 7
rlm_eap_peap: EAPTLS_OK
rlm_eap_peap: Session established. Decoding tunneled attributes.
rlm_eap_peap: Identity - XXXXXX
rlm_eap_peap: Tunneled data is valid.
PEAP: Got tunneled identity of XXXXXX
PEAP: Setting default EAP type for tunneled EAP session.
PEAP: Setting User-Name to XXXXXX
Processing the authorize section of radiusd.conf
modcall: entering group authorize for request 5
modcall[authorize]: module "preprocess" returns ok for request 5
radius_xlat: '/var/log/radius/radacct/127.0.0.1/auth-detail-20050203'
rlm_detail: /var/log/radius/radacct/%{Client-IP-Address}/auth-detail-%Y%m%d
expands to /var/log/radius/radacct/127.0.0.1/auth-detail-20050203
modcall[authorize]: module "auth_log" returns ok for request 5
modcall[authorize]: module "chap" returns noop for request 5
modcall[authorize]: module "mschap" returns noop for request 5
rlm_realm: No '@' in User-Name = "XXXXXX", looking up realm NULL
rlm_realm: No such realm "NULL"
modcall[authorize]: module "suffix" returns noop for request 5
rlm_eap: EAP packet type response id 6 length 11
rlm_eap: No EAP Start, assuming it's an on-going EAP conversation
modcall[authorize]: module "eap" returns updated for request 5
users: Matched DEFAULT at 162
modcall[authorize]: module "files" returns ok for request 5
rlm_ldap: - authorize
rlm_ldap: performing user authorization for XXXXXX
radius_xlat: '(uid=XXXXXX)'
radius_xlat: 'cn=XXXXXX,ou=XXXXXXX,o=XXXXXXXXXXX,c=DE'
rlm_ldap: ldap_get_conn: Checking Id: 0
rlm_ldap: ldap_get_conn: Got Id: 0
rlm_ldap: performing search in cn=XXXXXX,ou=XXXXXXX,o=XXXXXXXXXXX,c=DE, with
filter (uid=XXXXXX)
rlm_ldap: looking for check items in directory...
rlm_ldap: looking for reply items in directory...
rlm_ldap: user XXXXXX authorized to use remote access
rlm_ldap: ldap_release_conn: Release Id: 0
modcall[authorize]: module "ldap" returns ok for request 5
modcall: group authorize returns updated for request 5
rad_check_password: Found Auth-Type EAP
auth: type "EAP"
Processing the authenticate section of radiusd.conf
modcall: entering group authenticate for request 5
rlm_eap: EAP Identity
rlm_eap: processing type mschapv2
rlm_eap_mschapv2: Issuing Challenge
modcall[authenticate]: module "eap" returns handled for request 5
modcall: group authenticate returns handled for request 5
PEAP: Got tunneled Access-Challenge
modcall[authenticate]: module "eap" returns handled for request 5
modcall: group authenticate returns handled for request 5
Sending Access-Challenge of id 216 to XXXXXXXXXXXX:1306
EAP-Message =
0x010700371900170301002c2fe61fab3c4090158797759b24d6830c642c0f5288e8a626875c2cbfd60be8179f023faca9f1a7e802fc4ddf
Message-Authenticator = 0x00000000000000000000000000000000
State = 0x0f7d7440c101f5cd8a9cf0a66ef87209
Finished request 5
Going to the next request
--- Walking the entire request list ---
Waking up in 5 seconds...
rad_recv: Access-Request packet from host XXXXXXXXXXXX:1307, id=217, length=221
NAS-IP-Address = XXXXXXXXXXXX
NAS-Port-Type = Wireless-802.11
NAS-Port = 1
Framed-MTU = 1400
User-Name = "XXXXXX"
Calling-Station-Id = "000fb5377adc"
Called-Station-Id = "0001f47afc19"
NAS-Identifier = "RoamAbout3000"
State = 0x0f7d7440c101f5cd8a9cf0a66ef87209
EAP-Message =
0x020700581900170301004d110157eb4c678a148e396e88f8c2aa085c996e58a584f60df98d715a228f214974bdd0734b73e1f5e5510a644d23097095595e45431adce9bd65e0560cc8d1d556091d8b93eb6dba0486e0ac67
Message-Authenticator = 0x4857268414e328d27bf90e2850c6db97
Processing the authorize section of radiusd.conf
modcall: entering group authorize for request 6
modcall[authorize]: module "preprocess" returns ok for request 6
radius_xlat: '/var/log/radius/radacct/XXXXXXXXXXXX/auth-detail-20050203'
rlm_detail: /var/log/radius/radacct/%{Client-IP-Address}/auth-detail-%Y%m%d
expands to /var/log/radius/radacct/XXXXXXXXXXXX/auth-detail-20050203
modcall[authorize]: module "auth_log" returns ok for request 6
modcall[authorize]: module "chap" returns noop for request 6
modcall[authorize]: module "mschap" returns noop for request 6
rlm_realm: No '@' in User-Name = "XXXXXX", looking up realm NULL
rlm_realm: No such realm "NULL"
modcall[authorize]: module "suffix" returns noop for request 6
rlm_eap: EAP packet type response id 7 length 88
rlm_eap: No EAP Start, assuming it's an on-going EAP conversation
modcall[authorize]: module "eap" returns updated for request 6
users: Matched DEFAULT at 162
modcall[authorize]: module "files" returns ok for request 6
rlm_ldap: - authorize
rlm_ldap: performing user authorization for XXXXXX
radius_xlat: '(uid=XXXXXX)'
radius_xlat: 'cn=XXXXXX,ou=XXXXXXX,o=XXXXXXXXXXX,c=DE'
rlm_ldap: ldap_get_conn: Checking Id: 0
rlm_ldap: ldap_get_conn: Got Id: 0
rlm_ldap: performing search in cn=XXXXXX,ou=XXXXXXX,o=XXXXXXXXXXX,c=DE, with
filter (uid=XXXXXX)
rlm_ldap: looking for check items in directory...
rlm_ldap: looking for reply items in directory...
rlm_ldap: user XXXXXX authorized to use remote access
rlm_ldap: ldap_release_conn: Release Id: 0
modcall[authorize]: module "ldap" returns ok for request 6
modcall: group authorize returns updated for request 6
rad_check_password: Found Auth-Type EAP
auth: type "EAP"
Processing the authenticate section of radiusd.conf
modcall: entering group authenticate for request 6
rlm_eap: Request found, released from the list
rlm_eap: EAP/peap
rlm_eap: processing type peap
rlm_eap_peap: Authenticate
rlm_eap_tls: processing TLS
eaptls_verify returned 7
rlm_eap_tls: Done initial handshake
eaptls_process returned 7
rlm_eap_peap: EAPTLS_OK
rlm_eap_peap: Session established. Decoding tunneled attributes.
rlm_eap_peap: EAP type mschapv2
rlm_eap_peap: Tunneled data is valid.
PEAP: Setting User-Name to XXXXXX
PEAP: Adding old state with f3 66
Processing the authorize section of radiusd.conf
modcall: entering group authorize for request 6
modcall[authorize]: module "preprocess" returns ok for request 6
radius_xlat: '/var/log/radius/radacct/127.0.0.1/auth-detail-20050203'
rlm_detail: /var/log/radius/radacct/%{Client-IP-Address}/auth-detail-%Y%m%d
expands to /var/log/radius/radacct/127.0.0.1/auth-detail-20050203
modcall[authorize]: module "auth_log" returns ok for request 6
modcall[authorize]: module "chap" returns noop for request 6
modcall[authorize]: module "mschap" returns noop for request 6
rlm_realm: No '@' in User-Name = "XXXXXX", looking up realm NULL
rlm_realm: No such realm "NULL"
modcall[authorize]: module "suffix" returns noop for request 6
rlm_eap: EAP packet type response id 7 length 65
rlm_eap: No EAP Start, assuming it's an on-going EAP conversation
modcall[authorize]: module "eap" returns updated for request 6
users: Matched DEFAULT at 162
modcall[authorize]: module "files" returns ok for request 6
rlm_ldap: - authorize
rlm_ldap: performing user authorization for XXXXXX
radius_xlat: '(uid=XXXXXX)'
radius_xlat: 'cn=XXXXXX,ou=XXXXXXX,o=XXXXXXXXXXX,c=DE'
rlm_ldap: ldap_get_conn: Checking Id: 0
rlm_ldap: ldap_get_conn: Got Id: 0
rlm_ldap: performing search in cn=XXXXXX,ou=XXXXXXX,o=XXXXXXXXXXX,c=DE, with
filter (uid=XXXXXX)
rlm_ldap: looking for check items in directory...
rlm_ldap: looking for reply items in directory...
rlm_ldap: user XXXXXX authorized to use remote access
rlm_ldap: ldap_release_conn: Release Id: 0
modcall[authorize]: module "ldap" returns ok for request 6
modcall: group authorize returns updated for request 6
rad_check_password: Found Auth-Type EAP
auth: type "EAP"
Processing the authenticate section of radiusd.conf
modcall: entering group authenticate for request 6
rlm_eap: Request found, released from the list
rlm_eap: EAP/mschapv2
rlm_eap: processing type mschapv2
Processing the authenticate section of radiusd.conf
modcall: entering group Auth-Type for request 6
rlm_mschap: No User-Password configured. Cannot create LM-Password.
rlm_mschap: No User-Password configured. Cannot create NT-Password.
rlm_mschap: Told to do MS-CHAPv2 for XXXXXX with NT-Password
rlm_mschap: FAILED: No NT/LM-Password. Cannot perform authentication.
rlm_mschap: FAILED: MS-CHAP2-Response is incorrect
modcall[authenticate]: module "mschap" returns reject for request 6
modcall: group Auth-Type returns reject for request 6
rlm_eap: Freeing handler
modcall[authenticate]: module "eap" returns reject for request 6
modcall: group authenticate returns reject for request 6
auth: Failed to validate the user.
Login incorrect: [XXXXXX/<no User-Password attribute>] (from client localhost
port 0)
PEAP: Tunneled authentication was rejected.
rlm_eap_peap: FAILURE
modcall[authenticate]: module "eap" returns handled for request 6
modcall: group authenticate returns handled for request 6
Sending Access-Challenge of id 217 to XXXXXXXXXXXX:1307
EAP-Message =
0x010800261900170301001be9c4caca73a05af4f37fa50aaa02e8ba6841985721eb9a7438b101
Message-Authenticator = 0x00000000000000000000000000000000
State = 0x743914e8e7d79c0cda5fabbdf192affa
Finished request 6
Going to the next request
Waking up in 5 seconds...
rad_recv: Access-Request packet from host XXXXXXXXXXXX:1308, id=218, length=171
NAS-IP-Address = XXXXXXXXXXXX
NAS-Port-Type = Wireless-802.11
NAS-Port = 1
Framed-MTU = 1400
User-Name = "XXXXXX"
Calling-Station-Id = "000fb5377adc"
Called-Station-Id = "0001f47afc19"
NAS-Identifier = "RoamAbout3000"
State = 0x743914e8e7d79c0cda5fabbdf192affa
EAP-Message =
0x020800261900170301001b1ae61725e0f9b202563f4c31e0427c7b651f5e6bbaee8aa85536fa
Message-Authenticator = 0x316e992851885debb6c643a021075171
Processing the authorize section of radiusd.conf
modcall: entering group authorize for request 7
modcall[authorize]: module "preprocess" returns ok for request 7
radius_xlat: '/var/log/radius/radacct/XXXXXXXXXXXX/auth-detail-20050203'
rlm_detail: /var/log/radius/radacct/%{Client-IP-Address}/auth-detail-%Y%m%d
expands to /var/log/radius/radacct/XXXXXXXXXXXX/auth-detail-20050203
modcall[authorize]: module "auth_log" returns ok for request 7
modcall[authorize]: module "chap" returns noop for request 7
modcall[authorize]: module "mschap" returns noop for request 7
rlm_realm: No '@' in User-Name = "xxxxxx", looking up realm NULL
rlm_realm: No such realm "NULL"
modcall[authorize]: module "suffix" returns noop for request 7
rlm_eap: EAP packet type response id 8 length 38
rlm_eap: No EAP Start, assuming it's an on-going EAP conversation
modcall[authorize]: module "eap" returns updated for request 7
users: Matched DEFAULT at 162
modcall[authorize]: module "files" returns ok for request 7
rlm_ldap: - authorize
rlm_ldap: performing user authorization for xxxxxx
radius_xlat: '(uid=XXXXXX)'
radius_xlat: 'cn=xxxxxxxxxxx,ou=xxxxxxxxxxx,o=xxxxxxxxxxxxxxxxxxx,c=DE'
rlm_ldap: ldap_get_conn: Checking Id: 0
rlm_ldap: ldap_get_conn: Got Id: 0
rlm_ldap: performing search in cn=xxxxxxxxx,ou=xxxxxxxxx,o=xxxxxxxxxxxxxx,c=DE,
with filter (uid=XXXXXX)
rlm_ldap: looking for check items in directory...
rlm_ldap: looking for reply items in directory...
rlm_ldap: user XXXXXX authorized to use remote access
rlm_ldap: ldap_release_conn: Release Id: 0
modcall[authorize]: module "ldap" returns ok for request 7
modcall: group authorize returns updated for request 7
rad_check_password: Found Auth-Type EAP
auth: type "EAP"
Processing the authenticate section of radiusd.conf
modcall: entering group authenticate for request 7
rlm_eap: Request found, released from the list
rlm_eap: EAP/peap
rlm_eap: processing type peap
rlm_eap_peap: Authenticate
rlm_eap_tls: processing TLS
eaptls_verify returned 7
rlm_eap_tls: Done initial handshake
eaptls_process returned 7
rlm_eap_peap: EAPTLS_OK
rlm_eap_peap: Session established. Decoding tunneled attributes.
rlm_eap_peap: Received EAP-TLV response.
rlm_eap_peap: Tunneled data is valid.
rlm_eap_peap: Had sent TLV failure, rejecting.
rlm_eap: Handler failed in EAP/peap
rlm_eap: Failed in EAP select
modcall[authenticate]: module "eap" returns invalid for request 7
modcall: group authenticate returns invalid for request 7
auth: Failed to validate the user.
Login incorrect: [XXXXXX/<no User-Password attribute>] (from client
RoamAbout3000 port 1 cli 000fb5377adc)
Delaying request 7 for 1 seconds
Finished request 7
What does following section mean?
rlm_mschap: No User-Password configured. Cannot create LM-Password.
rlm_mschap: No User-Password configured. Cannot create NT-Password.
rlm_mschap: Told to do MS-CHAPv2 for xxxxxx with NT-Password
rlm_mschap: FAILED: No NT/LM-Password. Cannot perform authentication.
rlm_mschap: FAILED: MS-CHAP2-Response is incorrect
Please help me!
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html