LDAP Groups to Freeradius and then Ruckus Wireless?
Enrique Sainz Baixauli
enriquesainz.beca at intef.educacion.es
Mon Jun 9 11:53:48 CEST 2014
> sh: 1: gdb: not found
I know, I noticed I didn't have gdb installed right after sending that email :)
Now THIS is the full debug output:
Received Access-Request Id 39 from 192.168.60.1:1024 to 192.168.50.62:1812 length 190
User-Name = 'juan'
Calling-Station-Id = '00-26-C6-7C-C4-58'
NAS-IP-Address = 192.168.60.1
NAS-Port = 1
Called-Station-Id = '2C-E6-CC-1A-3E-5C:PROFESORES'
Service-Type = Framed-User
Framed-MTU = 1400
NAS-Port-Type = Wireless-802.11
NAS-Identifier = '2C-E6-CC-1A-3E-5C'
Connect-Info = 'CONNECT 802.11a/n'
EAP-Message = 0x02000009016a75616e
Attr-26.25053.3 = 0x50524f4645534f524553
Message-Authenticator = 0x6ccb32c7b00d65c7617e787ee0f8862b
(0) # Executing section authorize from file /etc/freeradius/sites-enabled/default
(0) authorize {
(0) [preprocess] = ok
(0) [chap] = noop
(0) [mschap] = noop
(0) [digest] = noop
(0) suffix : No '@' in User-Name = "juan", looking up realm NULL
(0) suffix : No such realm "NULL"
(0) [suffix] = noop
(0) eap : EAP packet type response id 0 length 9
(0) eap : EAP-Identity reply, returning 'ok' so we can short-circuit the rest of authorize
(0) [eap] = ok
(0) } # authorize = ok
(0) Found Auth-Type = EAP
(0) # Executing group from file /etc/freeradius/sites-enabled/default
(0) authenticate {
(0) eap : Peer sent Identity (1)
(0) eap : Calling eap_tls to process EAP data
(0) eap_tls : Flushing SSL sessions (of #0)
(0) eap_tls : Requiring client certificate
(0) eap_tls : Initiate
(0) eap_tls : Requiring client certificate
(0) eap_tls : Start returned 1
(0) eap : New EAP session, adding 'State' attribute to reply 0x4b06bc534b07b123
(0) [eap] = handled
(0) } # authenticate = handled
Sending Access-Challenge Id 39 from 192.168.50.62:1812 to 192.168.60.1:1024
EAP-Message = 0x010100060d20
Message-Authenticator = 0x00000000000000000000000000000000
State = 0x4b06bc534b07b123a5815ce5986a7061
(0) Finished request
Waking up in 0.3 seconds.
Received Access-Request Id 40 from 192.168.60.1:1024 to 192.168.50.62:1812 length 304
User-Name = 'juan'
Calling-Station-Id = '00-26-C6-7C-C4-58'
NAS-IP-Address = 192.168.60.1
NAS-Port = 1
Called-Station-Id = '2C-E6-CC-1A-3E-5C:PROFESORES'
Service-Type = Framed-User
Framed-MTU = 1400
NAS-Port-Type = Wireless-802.11
NAS-Identifier = '2C-E6-CC-1A-3E-5C'
Connect-Info = 'CONNECT 802.11a/n'
EAP-Message = 0x020100690d800000005f160301005a01000056030153957c5a9884652d6bb6c5d6bb19564d4010cad78f6021d6f9bb42a26c6332a0000018002f00350005000ac013c014c009c00a003200380013000401000015ff01000100000a0006000400170018000b00020100
State = 0x4b06bc534b07b123a5815ce5986a7061
Attr-26.25053.3 = 0x50524f4645534f524553
Message-Authenticator = 0x424c68d593e8b471a7168fa8f90c84aa
(1) # Executing section authorize from file /etc/freeradius/sites-enabled/default
(1) authorize {
(1) [preprocess] = ok
(1) [chap] = noop
(1) [mschap] = noop
(1) [digest] = noop
(1) suffix : No '@' in User-Name = "juan", looking up realm NULL
(1) suffix : No such realm "NULL"
(1) [suffix] = noop
(1) eap : EAP packet type response id 1 length 105
(1) eap : No EAP Start, assuming it's an on-going EAP conversation
(1) [eap] = updated
(1) [files] = noop
rlm_ldap (ldap): Reserved connection (4)
(1) ldap : EXPAND (uid=%{%{Stripped-User-Name}:-%{User-Name}})
(1) ldap : --> (uid=juan)
(1) ldap : EXPAND dc=ejemplo,dc=org
(1) ldap : --> dc=ejemplo,dc=org
(1) ldap : Performing search in 'dc=ejemplo,dc=org' with filter '(uid=juan)', scope 'sub'
(1) ldap : Waiting for search result...
(1) ldap : User object found at DN "uid=juan,ou=usuarios,dc=ejemplo,dc=org"
(1) ldap : No cacheable group memberships found in user object
(1) ldap : EXPAND (&(objectClass=groupOfNames)(member=%{control:Ldap-UserDn}))
(1) ldap : --> (&(objectClass=groupOfNames)(member=uid\3djuan\2cou\3dusuarios\2cdc\3dejemplo\2cdc\3dorg))
(1) ldap : EXPAND dc=ejemplo,dc=org
(1) ldap : --> dc=ejemplo,dc=org
(1) ldap : Performing search in 'dc=ejemplo,dc=org' with filter '(&(objectClass=groupOfNames)(member=uid\3djuan\2cou\3dusuarios\2cdc\3dejemplo\2cdc\3dorg))', scope 'sub'
(1) ldap : Waiting for search result...
(1) ldap : Added control:Ldap-Group with value "profesores"
(1) ldap : Processing user attributes
(1) ldap : control:Password-With-Header += ''1234''
rlm_ldap (ldap): Released connection (4)
(1) [ldap] = ok
(1) foreach &control:LDAP-Group
(1) update reply {
(1) EXPAND %{Foreach-Variable-0}
(1) --> profesores
(1) &Ruckus-User-Groups += '"profesores"'
(1) } # update reply = noop
(1) } # foreach &control:LDAP-Group = noop
(1) [expiration] = noop
(1) [logintime] = noop
(1) pap : No {...} in Password-With-Header, re-writing to Cleartext-Password
(1) WARNING: pap : Auth-Type already set. Not setting to PAP
(1) [pap] = noop
(1) } # authorize = updated
(1) Found Auth-Type = EAP
(1) # Executing group from file /etc/freeradius/sites-enabled/default
(1) authenticate {
(1) eap : Expiring EAP session with state 0x4b06bc534b07b123
(1) eap : Finished EAP session with state 0x4b06bc534b07b123
(1) eap : Previous EAP request found for state 0x4b06bc534b07b123, released from the list
(1) eap : Peer sent TLS (13)
(1) eap : EAP TLS (13)
(1) eap : Calling eap_tls to process EAP data
(1) eap_tls : Authenticate
(1) eap_tls : processing EAP-TLS
TLS Length 95
(1) eap_tls : Length Included
(1) eap_tls : eaptls_verify returned 11
(1) eap_tls : (other): before/accept initialization
(1) eap_tls : TLS_accept: before/accept initialization
(1) eap_tls : <<< TLS 1.0 Handshake [length 005a], ClientHello
(1) eap_tls : TLS_accept: SSLv3 read client hello A
(1) eap_tls : >>> TLS 1.0 Handshake [length 0051], ServerHello
(1) eap_tls : TLS_accept: SSLv3 write server hello A
(1) eap_tls : >>> TLS 1.0 Handshake [length 0707], Certificate
(1) eap_tls : TLS_accept: SSLv3 write certificate A
(1) eap_tls : >>> TLS 1.0 Handshake [length 0056], CertificateRequest
(1) eap_tls : TLS_accept: SSLv3 write certificate request A
(1) eap_tls : TLS_accept: SSLv3 flush data
(1) eap_tls : TLS_accept: Need to read more data: SSLv3 read client certificate A
In SSL Handshake Phase
In SSL Accept mode
(1) eap_tls : eaptls_process returned 13
(1) eap : New EAP session, adding 'State' attribute to reply 0x4b06bc534a04b123
(1) [eap] = handled
(1) } # authenticate = handled
Sending Access-Challenge Id 40 from 192.168.50.62:1812 to 192.168.60.1:1024
Ruckus-User-Groups += 'profesores'
EAP-Message = 0x010203ec0dc0000007bd16030100510200004d030153800d41db8bc00fc64e65976eef8ad505728f175a82585bb671517fa25b004220e538ae19205137b530866cbe9c73fda07251b82edf134c60a8556d5601036be8002f000005ff0100010016030107070b00070300070000039b308203973082027fa003020102020900c43f77feef6a22ef300d06092a864886f70d01010505003044310b3009060355040613024553310f300d06035504080c064d6164726964310e300c060355040a0c05494e5445463114301206035504030c0b656a656d706c6f2e6f7267301e170d3134303532303037313134325a170d3135303532303037313134325a3055310b3009060355040613024553310f300d06035504080c064d6164726964310f300d06035504070c064d6164726964310e300c060355040a0c05494e5445463114301206035504030c0b656a656d706c6f2e6f726730820122300d06092a864886f70d01010105000382010f003082010a0282010100d86d13ea2fa99efe3982e0ceface40d345221a17f49a4cbdf8774fc1cea663192790995f1df5c32c30ea86fe5190ff99a3012ff8e54e94de9d81e96fb282562e1264f059238606c51afebce65604a4902dcdfc803041f6240e2c7a03cca18c70238e9c0fda027487bcb8868c95850aae68986c068f737434eecdbbbdaabfd83780ce9
Message-Authenticator = 0x00000000000000000000000000000000
State = 0x4b06bc534a04b123a5815ce5986a7061
(1) Finished request
Waking up in 0.3 seconds.
Received Access-Request Id 41 from 192.168.60.1:1024 to 192.168.50.62:1812 length 205
User-Name = 'juan'
Calling-Station-Id = '00-26-C6-7C-C4-58'
NAS-IP-Address = 192.168.60.1
NAS-Port = 1
Called-Station-Id = '2C-E6-CC-1A-3E-5C:PROFESORES'
Service-Type = Framed-User
Framed-MTU = 1400
NAS-Port-Type = Wireless-802.11
NAS-Identifier = '2C-E6-CC-1A-3E-5C'
Connect-Info = 'CONNECT 802.11a/n'
EAP-Message = 0x020200060d00
State = 0x4b06bc534a04b123a5815ce5986a7061
Attr-26.25053.3 = 0x50524f4645534f524553
Message-Authenticator = 0x957db049fc1d0e94a5a57f9776395e30
(2) # Executing section authorize from file /etc/freeradius/sites-enabled/default
(2) authorize {
(2) [preprocess] = ok
(2) [chap] = noop
(2) [mschap] = noop
(2) [digest] = noop
(2) suffix : No '@' in User-Name = "juan", looking up realm NULL
(2) suffix : No such realm "NULL"
(2) [suffix] = noop
(2) eap : EAP packet type response id 2 length 6
(2) eap : No EAP Start, assuming it's an on-going EAP conversation
(2) [eap] = updated
(2) [files] = noop
rlm_ldap (ldap): Reserved connection (4)
(2) ldap : EXPAND (uid=%{%{Stripped-User-Name}:-%{User-Name}})
(2) ldap : --> (uid=juan)
(2) ldap : EXPAND dc=ejemplo,dc=org
(2) ldap : --> dc=ejemplo,dc=org
(2) ldap : Performing search in 'dc=ejemplo,dc=org' with filter '(uid=juan)', scope 'sub'
(2) ldap : Waiting for search result...
(2) ldap : User object found at DN "uid=juan,ou=usuarios,dc=ejemplo,dc=org"
(2) ldap : No cacheable group memberships found in user object
(2) ldap : EXPAND (&(objectClass=groupOfNames)(member=%{control:Ldap-UserDn}))
(2) ldap : --> (&(objectClass=groupOfNames)(member=uid\3djuan\2cou\3dusuarios\2cdc\3dejemplo\2cdc\3dorg))
(2) ldap : EXPAND dc=ejemplo,dc=org
(2) ldap : --> dc=ejemplo,dc=org
(2) ldap : Performing search in 'dc=ejemplo,dc=org' with filter '(&(objectClass=groupOfNames)(member=uid\3djuan\2cou\3dusuarios\2cdc\3dejemplo\2cdc\3dorg))', scope 'sub'
(2) ldap : Waiting for search result...
(2) ldap : Added control:Ldap-Group with value "profesores"
(2) ldap : Processing user attributes
(2) ldap : control:Password-With-Header += ''1234''
rlm_ldap (ldap): Released connection (4)
(2) [ldap] = ok
(2) foreach &control:LDAP-Group
(2) update reply {
(2) EXPAND %{Foreach-Variable-0}
(2) --> profesores
(2) &Ruckus-User-Groups += '"profesores"'
(2) } # update reply = noop
(2) } # foreach &control:LDAP-Group = noop
(2) [expiration] = noop
(2) [logintime] = noop
(2) pap : No {...} in Password-With-Header, re-writing to Cleartext-Password
(2) WARNING: pap : Auth-Type already set. Not setting to PAP
(2) [pap] = noop
(2) } # authorize = updated
(2) Found Auth-Type = EAP
(2) # Executing group from file /etc/freeradius/sites-enabled/default
(2) authenticate {
(2) eap : Expiring EAP session with state 0x4b06bc534a04b123
(2) eap : Finished EAP session with state 0x4b06bc534a04b123
(2) eap : Previous EAP request found for state 0x4b06bc534a04b123, released from the list
(2) eap : Peer sent TLS (13)
(2) eap : EAP TLS (13)
(2) eap : Calling eap_tls to process EAP data
(2) eap_tls : Authenticate
(2) eap_tls : processing EAP-TLS
(2) eap_tls : Received TLS ACK
(2) eap_tls : Received TLS ACK
(2) eap_tls : ACK handshake fragment handler
(2) eap_tls : eaptls_verify returned 1
(2) eap_tls : eaptls_process returned 13
(2) eap : New EAP session, adding 'State' attribute to reply 0x4b06bc534905b123
(2) [eap] = handled
(2) } # authenticate = handled
Sending Access-Challenge Id 41 from 192.168.50.62:1812 to 192.168.60.1:1024
Ruckus-User-Groups += 'profesores'
EAP-Message = 0x010303e50d80000007bd3849d248b1dfa322109bc7213dc7b995e11cf1ec9e393177e1d411f1b83700035f3082035b30820243a003020102020900c43f77feef6a22ee300d06092a864886f70d01010505003044310b3009060355040613024553310f300d06035504080c064d6164726964310e300c060355040a0c05494e5445463114301206035504030c0b656a656d706c6f2e6f7267301e170d3134303532303037303835355a170d3137303531393037303835355a3044310b3009060355040613024553310f300d06035504080c064d6164726964310e300c060355040a0c05494e5445463114301206035504030c0b656a656d706c6f2e6f726730820122300d06092a864886f70d01010105000382010f003082010a0282010100b34d31cc087201a6f5f91e1f411fbe7c8175e68364d88e7bc6fb454918d40aca5f65cb2caf0496d4c7ef1b62379ab4ddfc60338d8785d6f4b208091cda2f566d39b233c9a76cfcd2e14a21a5c1c1ad30c6c6734fb0024ef4511a78679f4b2e6085113cb24d3229fa288b7ae5a460348f253fa438172cfb0b2c66c005747d6b716d6e221e492e793c17439a19d638bc84ecde2aaf864e1b22007c29b5aa056637d4dd4bde4783dd1b2994b87522662742b8c5477ce8c39227a3bf8b71b2dce5323150b49cd27134e4a79f7f98d371cad38b0e72363efbc62
Message-Authenticator = 0x00000000000000000000000000000000
State = 0x4b06bc534905b123a5815ce5986a7061
(2) Finished request
Waking up in 0.2 seconds.
Received Access-Request Id 42 from 192.168.60.1:1024 to 192.168.50.62:1812 length 1701
User-Name = 'juan'
Calling-Station-Id = '00-26-C6-7C-C4-58'
NAS-IP-Address = 192.168.60.1
NAS-Port = 1
Called-Station-Id = '2C-E6-CC-1A-3E-5C:PROFESORES'
Service-Type = Framed-User
Framed-MTU = 1400
NAS-Port-Type = Wireless-802.11
NAS-Identifier = '2C-E6-CC-1A-3E-5C'
Connect-Info = 'CONNECT 802.11a/n'
EAP-Message = 0x020305d40dc0000005d916030105990b0003890003860003833082037f30820267a003020102020900c43f77feef6a22f0300d06092a864886f70d01010505003044310b3009060355040613024553310f300d06035504080c064d6164726964310e300c060355040a0c05494e5445463114301206035504030c0b656a656d706c6f2e6f7267301e170d3134303532313035323130335a170d3135303532313035323130335a303d310b3009060355040613024553310f300d06035504080c064d6164726964310e300c060355040a0c05494e544546310d300b06035504030c046a75616e30820122300d06092a864886f70d01010105000382010f003082010a0282010100d8fe45c46e4743d7ecaf6c82f5206a6d1683234f11e54af93501eba03aaadf6c4a123bb2aeebce0717b6930a3e550f9e75e38fb7f0057acebdeecb6d396c4547ed2cb496d887ae6973982c7b708898d3d4e080c44679ffc2eeea7b707f3d03aacfd8544465a96f0988366c5c8a8fd9e84bd38006f71b572a526759eaf147a20c21f42ef7c8f8c37915768eec7e41402c3869e8c06a06d6d53a3fac290b9db34a737a55ce6c3bc544396ee4f35ff28622c2318c57b0ce8b86aac710ed16e56960d4a2fafbe851afb250256e5b03cf37f52ace63f3eb801d78d6e2e3ebdb4ac5493bbca5129d60cbea4a1f7e96391a9216a
State = 0x4b06bc534905b123a5815ce5986a7061
Attr-26.25053.3 = 0x50524f4645534f524553
Message-Authenticator = 0x73f8a458222a4c6bb7eec10883f1b056
(3) # Executing section authorize from file /etc/freeradius/sites-enabled/default
(3) authorize {
(3) [preprocess] = ok
(3) [chap] = noop
(3) [mschap] = noop
(3) [digest] = noop
(3) suffix : No '@' in User-Name = "juan", looking up realm NULL
(3) suffix : No such realm "NULL"
(3) [suffix] = noop
(3) eap : EAP packet type response id 3 length 1492
(3) eap : No EAP Start, assuming it's an on-going EAP conversation
(3) [eap] = updated
(3) [files] = noop
rlm_ldap (ldap): Reserved connection (4)
(3) ldap : EXPAND (uid=%{%{Stripped-User-Name}:-%{User-Name}})
(3) ldap : --> (uid=juan)
(3) ldap : EXPAND dc=ejemplo,dc=org
(3) ldap : --> dc=ejemplo,dc=org
(3) ldap : Performing search in 'dc=ejemplo,dc=org' with filter '(uid=juan)', scope 'sub'
(3) ldap : Waiting for search result...
(3) ldap : User object found at DN "uid=juan,ou=usuarios,dc=ejemplo,dc=org"
(3) ldap : No cacheable group memberships found in user object
(3) ldap : EXPAND (&(objectClass=groupOfNames)(member=%{control:Ldap-UserDn}))
(3) ldap : --> (&(objectClass=groupOfNames)(member=uid\3djuan\2cou\3dusuarios\2cdc\3dejemplo\2cdc\3dorg))
(3) ldap : EXPAND dc=ejemplo,dc=org
(3) ldap : --> dc=ejemplo,dc=org
(3) ldap : Performing search in 'dc=ejemplo,dc=org' with filter '(&(objectClass=groupOfNames)(member=uid\3djuan\2cou\3dusuarios\2cdc\3dejemplo\2cdc\3dorg))', scope 'sub'
(3) ldap : Waiting for search result...
(3) ldap : Added control:Ldap-Group with value "profesores"
(3) ldap : Processing user attributes
(3) ldap : control:Password-With-Header += ''1234''
rlm_ldap (ldap): Released connection (4)
(3) [ldap] = ok
(3) foreach &control:LDAP-Group
(3) update reply {
(3) EXPAND %{Foreach-Variable-0}
(3) --> profesores
(3) &Ruckus-User-Groups += '"profesores"'
(3) } # update reply = noop
(3) } # foreach &control:LDAP-Group = noop
(3) [expiration] = noop
(3) [logintime] = noop
(3) pap : No {...} in Password-With-Header, re-writing to Cleartext-Password
(3) WARNING: pap : Auth-Type already set. Not setting to PAP
(3) [pap] = noop
(3) } # authorize = updated
(3) Found Auth-Type = EAP
(3) # Executing group from file /etc/freeradius/sites-enabled/default
(3) authenticate {
(3) eap : Expiring EAP session with state 0x4b06bc534905b123
(3) eap : Finished EAP session with state 0x4b06bc534905b123
(3) eap : Previous EAP request found for state 0x4b06bc534905b123, released from the list
(3) eap : Peer sent TLS (13)
(3) eap : EAP TLS (13)
(3) eap : Calling eap_tls to process EAP data
(3) eap_tls : Authenticate
(3) eap_tls : processing EAP-TLS
TLS Length 1497
(3) eap_tls : Received EAP-TLS First Fragment of the message
(3) eap_tls : eaptls_verify returned 9
(3) eap_tls : eaptls_process returned 13
(3) eap : New EAP session, adding 'State' attribute to reply 0x4b06bc534802b123
(3) [eap] = handled
(3) } # authenticate = handled
Sending Access-Challenge Id 42 from 192.168.50.62:1812 to 192.168.60.1:1024
Ruckus-User-Groups += 'profesores'
EAP-Message = 0x010400060d00
Message-Authenticator = 0x00000000000000000000000000000000
State = 0x4b06bc534802b123a5815ce5986a7061
(3) Finished request
Waking up in 0.2 seconds.
Received Access-Request Id 43 from 192.168.60.1:1024 to 192.168.50.62:1812 length 220
User-Name = 'juan'
Calling-Station-Id = '00-26-C6-7C-C4-58'
NAS-IP-Address = 192.168.60.1
NAS-Port = 1
Called-Station-Id = '2C-E6-CC-1A-3E-5C:PROFESORES'
Service-Type = Framed-User
Framed-MTU = 1400
NAS-Port-Type = Wireless-802.11
NAS-Identifier = '2C-E6-CC-1A-3E-5C'
Connect-Info = 'CONNECT 802.11a/n'
EAP-Message = 0x020400150d003739040f9689b4ab4612f7dce2d48e
State = 0x4b06bc534802b123a5815ce5986a7061
Attr-26.25053.3 = 0x50524f4645534f524553
Message-Authenticator = 0x39dbec026a12ec8acebb4f68297652a0
(4) # Executing section authorize from file /etc/freeradius/sites-enabled/default
(4) authorize {
(4) [preprocess] = ok
(4) [chap] = noop
(4) [mschap] = noop
(4) [digest] = noop
(4) suffix : No '@' in User-Name = "juan", looking up realm NULL
(4) suffix : No such realm "NULL"
(4) [suffix] = noop
(4) eap : EAP packet type response id 4 length 21
(4) eap : No EAP Start, assuming it's an on-going EAP conversation
(4) [eap] = updated
(4) [files] = noop
rlm_ldap (ldap): Reserved connection (4)
(4) ldap : EXPAND (uid=%{%{Stripped-User-Name}:-%{User-Name}})
(4) ldap : --> (uid=juan)
(4) ldap : EXPAND dc=ejemplo,dc=org
(4) ldap : --> dc=ejemplo,dc=org
(4) ldap : Performing search in 'dc=ejemplo,dc=org' with filter '(uid=juan)', scope 'sub'
(4) ldap : Waiting for search result...
(4) ldap : User object found at DN "uid=juan,ou=usuarios,dc=ejemplo,dc=org"
(4) ldap : No cacheable group memberships found in user object
(4) ldap : EXPAND (&(objectClass=groupOfNames)(member=%{control:Ldap-UserDn}))
(4) ldap : --> (&(objectClass=groupOfNames)(member=uid\3djuan\2cou\3dusuarios\2cdc\3dejemplo\2cdc\3dorg))
(4) ldap : EXPAND dc=ejemplo,dc=org
(4) ldap : --> dc=ejemplo,dc=org
(4) ldap : Performing search in 'dc=ejemplo,dc=org' with filter '(&(objectClass=groupOfNames)(member=uid\3djuan\2cou\3dusuarios\2cdc\3dejemplo\2cdc\3dorg))', scope 'sub'
(4) ldap : Waiting for search result...
(4) ldap : Added control:Ldap-Group with value "profesores"
(4) ldap : Processing user attributes
(4) ldap : control:Password-With-Header += ''1234''
rlm_ldap (ldap): Released connection (4)
(4) [ldap] = ok
(4) foreach &control:LDAP-Group
(4) update reply {
(4) EXPAND %{Foreach-Variable-0}
(4) --> profesores
(4) &Ruckus-User-Groups += '"profesores"'
(4) } # update reply = noop
(4) } # foreach &control:LDAP-Group = noop
(4) [expiration] = noop
(4) [logintime] = noop
(4) pap : No {...} in Password-With-Header, re-writing to Cleartext-Password
(4) WARNING: pap : Auth-Type already set. Not setting to PAP
(4) [pap] = noop
(4) } # authorize = updated
(4) Found Auth-Type = EAP
(4) # Executing group from file /etc/freeradius/sites-enabled/default
(4) authenticate {
(4) eap : Expiring EAP session with state 0x4b06bc534802b123
(4) eap : Finished EAP session with state 0x4b06bc534802b123
(4) eap : Previous EAP request found for state 0x4b06bc534802b123, released from the list
(4) eap : Peer sent TLS (13)
(4) eap : EAP TLS (13)
(4) eap : Calling eap_tls to process EAP data
(4) eap_tls : Authenticate
(4) eap_tls : processing EAP-TLS
(4) eap_tls : eaptls_verify returned 7
(4) eap_tls : Done initial handshake
(4) eap_tls : <<< TLS 1.0 Handshake [length 038d], Certificate
(4) eap_tls : chain-depth=1,
(4) eap_tls : error=0
(4) eap_tls : --> User-Name = juan
(4) eap_tls : --> BUF-Name = ejemplo.org
(4) eap_tls : --> subject = /C=ES/ST=Madrid/O=INTEF/CN=ejemplo.org
(4) eap_tls : --> issuer = /C=ES/ST=Madrid/O=INTEF/CN=ejemplo.org
(4) eap_tls : --> verify return:1
(4) eap_tls : chain-depth=0,
(4) eap_tls : error=0
(4) eap_tls : --> User-Name = juan
(4) eap_tls : --> BUF-Name = juan
(4) eap_tls : --> subject = /C=ES/ST=Madrid/O=INTEF/CN=juan
(4) eap_tls : --> issuer = /C=ES/ST=Madrid/O=INTEF/CN=ejemplo.org
(4) eap_tls : --> verify return:1
(4) eap_tls : TLS_accept: SSLv3 read client certificate A
(4) eap_tls : <<< TLS 1.0 Handshake [length 0106], ClientKeyExchange
(4) eap_tls : TLS_accept: SSLv3 read client key exchange A
(4) eap_tls : <<< TLS 1.0 Handshake [length 0106], CertificateVerify
(4) eap_tls : TLS_accept: SSLv3 read certificate verify A
(4) eap_tls : <<< TLS 1.0 ChangeCipherSpec [length 0001]
(4) eap_tls : <<< TLS 1.0 Handshake [length 0010], Finished
(4) eap_tls : TLS_accept: SSLv3 read finished A
(4) eap_tls : >>> TLS 1.0 ChangeCipherSpec [length 0001]
(4) eap_tls : TLS_accept: SSLv3 write change cipher spec A
(4) eap_tls : >>> TLS 1.0 Handshake [length 0010], Finished
(4) eap_tls : TLS_accept: SSLv3 write finished A
(4) eap_tls : TLS_accept: SSLv3 flush data
SSL: adding session e538ae19205137b530866cbe9c73fda07251b82edf134c60a8556d5601036be8 to cache
(4) eap_tls : (other): SSL negotiation finished successfully
SSL Connection Established
(4) eap_tls : eaptls_process returned 13
(4) eap : New EAP session, adding 'State' attribute to reply 0x4b06bc534f03b123
(4) [eap] = handled
(4) } # authenticate = handled
Sending Access-Challenge Id 43 from 192.168.50.62:1812 to 192.168.60.1:1024
Ruckus-User-Groups += 'profesores'
EAP-Message = 0x010500450d800000003b1403010001011603010030b6f41d63244fff84ccbe996ef0b09ff29df45c4049b85e335adae27b0653521c7719c521ec4e3b611d6c399e2458022b
Message-Authenticator = 0x00000000000000000000000000000000
State = 0x4b06bc534f03b123a5815ce5986a7061
(4) Finished request
Waking up in 0.2 seconds.
Received Access-Request Id 44 from 192.168.60.1:1024 to 192.168.50.62:1812 length 205
User-Name = 'juan'
Calling-Station-Id = '00-26-C6-7C-C4-58'
NAS-IP-Address = 192.168.60.1
NAS-Port = 1
Called-Station-Id = '2C-E6-CC-1A-3E-5C:PROFESORES'
Service-Type = Framed-User
Framed-MTU = 1400
NAS-Port-Type = Wireless-802.11
NAS-Identifier = '2C-E6-CC-1A-3E-5C'
Connect-Info = 'CONNECT 802.11a/n'
EAP-Message = 0x020500060d00
State = 0x4b06bc534f03b123a5815ce5986a7061
Attr-26.25053.3 = 0x50524f4645534f524553
Message-Authenticator = 0xe145b729ae7f53c07a05f6250273b5a5
(5) # Executing section authorize from file /etc/freeradius/sites-enabled/default
(5) authorize {
(5) [preprocess] = ok
(5) [chap] = noop
(5) [mschap] = noop
(5) [digest] = noop
(5) suffix : No '@' in User-Name = "juan", looking up realm NULL
(5) suffix : No such realm "NULL"
(5) [suffix] = noop
(5) eap : EAP packet type response id 5 length 6
(5) eap : No EAP Start, assuming it's an on-going EAP conversation
(5) [eap] = updated
(5) [files] = noop
rlm_ldap (ldap): Reserved connection (4)
(5) ldap : EXPAND (uid=%{%{Stripped-User-Name}:-%{User-Name}})
(5) ldap : --> (uid=juan)
(5) ldap : EXPAND dc=ejemplo,dc=org
(5) ldap : --> dc=ejemplo,dc=org
(5) ldap : Performing search in 'dc=ejemplo,dc=org' with filter '(uid=juan)', scope 'sub'
(5) ldap : Waiting for search result...
(5) ldap : User object found at DN "uid=juan,ou=usuarios,dc=ejemplo,dc=org"
(5) ldap : No cacheable group memberships found in user object
(5) ldap : EXPAND (&(objectClass=groupOfNames)(member=%{control:Ldap-UserDn}))
(5) ldap : --> (&(objectClass=groupOfNames)(member=uid\3djuan\2cou\3dusuarios\2cdc\3dejemplo\2cdc\3dorg))
(5) ldap : EXPAND dc=ejemplo,dc=org
(5) ldap : --> dc=ejemplo,dc=org
(5) ldap : Performing search in 'dc=ejemplo,dc=org' with filter '(&(objectClass=groupOfNames)(member=uid\3djuan\2cou\3dusuarios\2cdc\3dejemplo\2cdc\3dorg))', scope 'sub'
(5) ldap : Waiting for search result...
(5) ldap : Added control:Ldap-Group with value "profesores"
(5) ldap : Processing user attributes
(5) ldap : control:Password-With-Header += ''1234''
rlm_ldap (ldap): Released connection (4)
(5) [ldap] = ok
(5) foreach &control:LDAP-Group
(5) update reply {
(5) EXPAND %{Foreach-Variable-0}
(5) --> profesores
(5) &Ruckus-User-Groups += '"profesores"'
(5) } # update reply = noop
(5) } # foreach &control:LDAP-Group = noop
(5) [expiration] = noop
(5) [logintime] = noop
(5) pap : No {...} in Password-With-Header, re-writing to Cleartext-Password
(5) WARNING: pap : Auth-Type already set. Not setting to PAP
(5) [pap] = noop
(5) } # authorize = updated
(5) Found Auth-Type = EAP
(5) # Executing group from file /etc/freeradius/sites-enabled/default
(5) authenticate {
(5) eap : Expiring EAP session with state 0x4b06bc534f03b123
(5) eap : Finished EAP session with state 0x4b06bc534f03b123
(5) eap : Previous EAP request found for state 0x4b06bc534f03b123, released from the list
(5) eap : Peer sent TLS (13)
(5) eap : EAP TLS (13)
(5) eap : Calling eap_tls to process EAP data
(5) eap_tls : Authenticate
(5) eap_tls : processing EAP-TLS
(5) eap_tls : Received TLS ACK
(5) eap_tls : Received TLS ACK
(5) eap_tls : ACK handshake is finished
(5) eap_tls : eaptls_verify returned 3
(5) eap_tls : eaptls_process returned 3
(5) eap_tls : Saving session e538ae19205137b530866cbe9c73fda07251b82edf134c60a8556d5601036be8 vps 0x2886620 in the cache
(5) eap : Freeing handler
(5) [eap] = ok
(5) } # authenticate = ok
(5) # Executing section post-auth from file /etc/freeradius/sites-enabled/default
(5) post-auth {
(5) cache : EXPAND %{User-Name}
(5) cache : --> juan
(5) cache : Creating entry for "juan"
(5) cache : control:LDAP-Group += &control:LDAP-Group
(5) cache : Inserted entry, TTL 3600 seconds
(5) [cache] = updated
(5) foreach &control:LDAP-Group
(5) update reply {
CAUGHT SIGNAL: Segmentation fault
Backtrace of last 25 frames:
/usr/lib/freeradius/libfreeradius-radius.so(fr_fault+0x61)[0x7fbab66d2c51]
/lib/x86_64-linux-gnu/libpthread.so.0(+0xf030)[0x7fbab541c030]
/usr/lib/freeradius/libfreeradius-radius.so(+0x1505e)[0x7fbab66dd05e]
/usr/lib/freeradius/libfreeradius-server.so(+0x136b7)[0x7fbab69116b7]
/usr/lib/freeradius/libfreeradius-server.so(+0x13998)[0x7fbab6911998]
/usr/lib/freeradius/libfreeradius-server.so(+0x144c4)[0x7fbab69124c4]
/usr/lib/freeradius/libfreeradius-server.so(+0x14532)[0x7fbab6912532]
/usr/lib/freeradius/libfreeradius-server.so(radius_map2vp+0x1ef)[0x7fbab690cdef]
/usr/lib/freeradius/libfreeradius-server.so(radius_map2request+0xa6)[0x7fbab690c386]
freeradius[0x41f955]
freeradius[0x41fd1a]
freeradius[0x41f221]
freeradius[0x41f3de]
freeradius(modcall+0x3d)[0x4204fd]
freeradius(indexed_modcall+0xb3)[0x41dc03]
freeradius(rad_postauth+0x5e)[0x40f57e]
freeradius[0x42ca9c]
freeradius[0x429d05]
freeradius(request_receive+0x247)[0x42af27]
freeradius[0x4190a8]
freeradius[0x42966d]
/usr/lib/freeradius/libfreeradius-radius.so(fr_event_loop+0x2d9)[0x7fbab66ec629]
freeradius(main+0x65a)[0x40eb2a]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xfd)[0x7fbab4c22ead]
freeradius[0x40ee85]
Calling: gdb -silent -x /etc/freeradius/panic.gdb freeradius 3658 2>&1 | tee /var/log/freeradius/gdb-freeradius-3658.log
Temporarily setting PR_DUMPABLE to 1
Reading symbols from /usr/sbin/freeradius...Reading symbols from /usr/lib/debug/usr/sbin/freeradius...done.
done.
Attaching to program: /usr/sbin/freeradius, process 3658
Reading symbols from /usr/lib/freeradius/libfreeradius-server.so...Reading symbols from /usr/lib/debug/usr/lib/freeradius/libfreeradius-server.so...done.
done.
Loaded symbols for /usr/lib/freeradius/libfreeradius-server.so
Reading symbols from /usr/lib/freeradius/libfreeradius-radius.so...Reading symbols from /usr/lib/debug/usr/lib/freeradius/libfreeradius-radius.so...done.
done.
Loaded symbols for /usr/lib/freeradius/libfreeradius-radius.so
Reading symbols from /usr/lib/freeradius/libfreeradius-eap.so...Reading symbols from /usr/lib/debug/usr/lib/freeradius/libfreeradius-eap.so...done.
done.
Loaded symbols for /usr/lib/freeradius/libfreeradius-eap.so
Reading symbols from /usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
Reading symbols from /usr/lib/x86_64-linux-gnu/libssl.so.1.0.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libssl.so.1.0.0
Reading symbols from /usr/lib/x86_64-linux-gnu/libtalloc.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libtalloc.so.2
Reading symbols from /lib/x86_64-linux-gnu/libnsl.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libnsl.so.1
Reading symbols from /lib/x86_64-linux-gnu/libresolv.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libresolv.so.2
Reading symbols from /lib/x86_64-linux-gnu/libdl.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libdl.so.2
Reading symbols from /lib/x86_64-linux-gnu/libpthread.so.0...(no debugging symbols found)...done.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Loaded symbols for /lib/x86_64-linux-gnu/libpthread.so.0
Reading symbols from /lib/x86_64-linux-gnu/libreadline.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libreadline.so.6
Reading symbols from /lib/x86_64-linux-gnu/libcrypt.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libcrypt.so.1
Reading symbols from /lib/x86_64-linux-gnu/libc.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libc.so.6
Reading symbols from /usr/lib/x86_64-linux-gnu/libpcap.so.0.8...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libpcap.so.0.8
Reading symbols from /lib/x86_64-linux-gnu/libz.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libz.so.1
Reading symbols from /lib64/ld-linux-x86-64.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
Reading symbols from /lib/x86_64-linux-gnu/libtinfo.so.5...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libtinfo.so.5
Reading symbols from /lib/x86_64-linux-gnu/libnss_compat.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libnss_compat.so.2
Reading symbols from /lib/x86_64-linux-gnu/libnss_nis.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libnss_nis.so.2
Reading symbols from /lib/x86_64-linux-gnu/libnss_files.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libnss_files.so.2
Reading symbols from /usr/lib/freeradius/rlm_exec.so...Reading symbols from /usr/lib/debug/usr/lib/freeradius/rlm_exec.so...done.
done.
Loaded symbols for /usr/lib/freeradius/rlm_exec.so
Reading symbols from /usr/lib/freeradius/rlm_preprocess.so...Reading symbols from /usr/lib/debug/usr/lib/freeradius/rlm_preprocess.so...done.
done.
Loaded symbols for /usr/lib/freeradius/rlm_preprocess.so
Reading symbols from /usr/lib/freeradius/rlm_digest.so...Reading symbols from /usr/lib/debug/usr/lib/freeradius/rlm_digest.so...done.
done.
Loaded symbols for /usr/lib/freeradius/rlm_digest.so
Reading symbols from /usr/lib/freeradius/rlm_cache.so...Reading symbols from /usr/lib/debug/usr/lib/freeradius/rlm_cache.so...done.
done.
Loaded symbols for /usr/lib/freeradius/rlm_cache.so
Reading symbols from /usr/lib/freeradius/rlm_replicate.so...Reading symbols from /usr/lib/debug/usr/lib/freeradius/rlm_replicate.so...done.
done.
Loaded symbols for /usr/lib/freeradius/rlm_replicate.so
Reading symbols from /usr/lib/freeradius/rlm_dhcp.so...Reading symbols from /usr/lib/debug/usr/lib/freeradius/rlm_dhcp.so...done.
done.
Loaded symbols for /usr/lib/freeradius/rlm_dhcp.so
Reading symbols from /usr/lib/freeradius/rlm_detail.so...Reading symbols from /usr/lib/debug/usr/lib/freeradius/rlm_detail.so...done.
done.
Loaded symbols for /usr/lib/freeradius/rlm_detail.so
Reading symbols from /usr/lib/freeradius/rlm_linelog.so...Reading symbols from /usr/lib/debug/usr/lib/freeradius/rlm_linelog.so...done.
done.
Loaded symbols for /usr/lib/freeradius/rlm_linelog.so
Reading symbols from /usr/lib/freeradius/rlm_always.so...Reading symbols from /usr/lib/debug/usr/lib/freeradius/rlm_always.so...done.
done.
Loaded symbols for /usr/lib/freeradius/rlm_always.so
Reading symbols from /usr/lib/freeradius/rlm_chap.so...Reading symbols from /usr/lib/debug/usr/lib/freeradius/rlm_chap.so...done.
done.
Loaded symbols for /usr/lib/freeradius/rlm_chap.so
Reading symbols from /usr/lib/freeradius/rlm_mschap.so...Reading symbols from /usr/lib/debug/usr/lib/freeradius/rlm_mschap.so...done.
done.
Loaded symbols for /usr/lib/freeradius/rlm_mschap.so
Reading symbols from /usr/lib/freeradius/rlm_pap.so...Reading symbols from /usr/lib/debug/usr/lib/freeradius/rlm_pap.so...done.
done.
Loaded symbols for /usr/lib/freeradius/rlm_pap.so
Reading symbols from /usr/lib/freeradius/rlm_soh.so...Reading symbols from /usr/lib/debug/usr/lib/freeradius/rlm_soh.so...done.
done.
Loaded symbols for /usr/lib/freeradius/rlm_soh.so
Reading symbols from /usr/lib/freeradius/rlm_attr_filter.so...Reading symbols from /usr/lib/debug/usr/lib/freeradius/rlm_attr_filter.so...done.
done.
Loaded symbols for /usr/lib/freeradius/rlm_attr_filter.so
Reading symbols from /usr/lib/freeradius/rlm_eap.so...Reading symbols from /usr/lib/debug/usr/lib/freeradius/rlm_eap.so...done.
done.
Loaded symbols for /usr/lib/freeradius/rlm_eap.so
Reading symbols from /usr/lib/freeradius/rlm_eap_tls.so...Reading symbols from /usr/lib/debug/usr/lib/freeradius/rlm_eap_tls.so...done.
done.
Loaded symbols for /usr/lib/freeradius/rlm_eap_tls.so
Reading symbols from /usr/lib/freeradius/rlm_eap_ttls.so...Reading symbols from /usr/lib/debug/usr/lib/freeradius/rlm_eap_ttls.so...done.
done.
Loaded symbols for /usr/lib/freeradius/rlm_eap_ttls.so
Reading symbols from /usr/lib/freeradius/rlm_eap_peap.so...Reading symbols from /usr/lib/debug/usr/lib/freeradius/rlm_eap_peap.so...done.
done.
Loaded symbols for /usr/lib/freeradius/rlm_eap_peap.so
Reading symbols from /usr/lib/freeradius/rlm_eap_mschapv2.so...Reading symbols from /usr/lib/debug/usr/lib/freeradius/rlm_eap_mschapv2.so...done.
done.
Loaded symbols for /usr/lib/freeradius/rlm_eap_mschapv2.so
Reading symbols from /usr/lib/freeradius/rlm_passwd.so...Reading symbols from /usr/lib/debug/usr/lib/freeradius/rlm_passwd.so...done.
done.
Loaded symbols for /usr/lib/freeradius/rlm_passwd.so
Reading symbols from /usr/lib/freeradius/rlm_files.so...Reading symbols from /usr/lib/debug/usr/lib/freeradius/rlm_files.so...done.
done.
Loaded symbols for /usr/lib/freeradius/rlm_files.so
Reading symbols from /usr/lib/freeradius/rlm_logintime.so...Reading symbols from /usr/lib/debug/usr/lib/freeradius/rlm_logintime.so...done.
done.
Loaded symbols for /usr/lib/freeradius/rlm_logintime.so
Reading symbols from /usr/lib/freeradius/rlm_unix.so...Reading symbols from /usr/lib/debug/usr/lib/freeradius/rlm_unix.so...done.
done.
Loaded symbols for /usr/lib/freeradius/rlm_unix.so
Reading symbols from /usr/lib/freeradius/rlm_realm.so...Reading symbols from /usr/lib/debug/usr/lib/freeradius/rlm_realm.so...done.
done.
Loaded symbols for /usr/lib/freeradius/rlm_realm.so
Reading symbols from /usr/lib/freeradius/rlm_expiration.so...Reading symbols from /usr/lib/debug/usr/lib/freeradius/rlm_expiration.so...done.
done.
Loaded symbols for /usr/lib/freeradius/rlm_expiration.so
Reading symbols from /usr/lib/freeradius/rlm_radutmp.so...Reading symbols from /usr/lib/debug/usr/lib/freeradius/rlm_radutmp.so...done.
done.
Loaded symbols for /usr/lib/freeradius/rlm_radutmp.so
Reading symbols from /usr/lib/freeradius/rlm_ldap.so...Reading symbols from /usr/lib/debug/usr/lib/freeradius/rlm_ldap.so...done.
done.
Loaded symbols for /usr/lib/freeradius/rlm_ldap.so
Reading symbols from /usr/lib/x86_64-linux-gnu/libldap_r-2.4.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libldap_r-2.4.so.2
Reading symbols from /usr/lib/x86_64-linux-gnu/liblber-2.4.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/liblber-2.4.so.2
Reading symbols from /usr/lib/x86_64-linux-gnu/libsasl2.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libsasl2.so.2
Reading symbols from /usr/lib/x86_64-linux-gnu/libgnutls.so.26...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libgnutls.so.26
Reading symbols from /lib/x86_64-linux-gnu/libgcrypt.so.11...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libgcrypt.so.11
Reading symbols from /usr/lib/x86_64-linux-gnu/libtasn1.so.3...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libtasn1.so.3
Reading symbols from /usr/lib/x86_64-linux-gnu/libp11-kit.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libp11-kit.so.0
Reading symbols from /lib/x86_64-linux-gnu/libgpg-error.so.0...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libgpg-error.so.0
Reading symbols from /usr/lib/freeradius/rlm_utf8.so...Reading symbols from /usr/lib/debug/usr/lib/freeradius/rlm_utf8.so...done.
done.
Loaded symbols for /usr/lib/freeradius/rlm_utf8.so
Reading symbols from /usr/lib/freeradius/rlm_dynamic_clients.so...Reading symbols from /usr/lib/debug/usr/lib/freeradius/rlm_dynamic_clients.so...done.
done.
Loaded symbols for /usr/lib/freeradius/rlm_dynamic_clients.so
Reading symbols from /usr/lib/freeradius/rlm_unpack.so...Reading symbols from /usr/lib/debug/usr/lib/freeradius/rlm_unpack.so...done.
done.
Loaded symbols for /usr/lib/freeradius/rlm_unpack.so
Reading symbols from /usr/lib/freeradius/rlm_expr.so...Reading symbols from /usr/lib/debug/usr/lib/freeradius/rlm_expr.so...done.
done.
Loaded symbols for /usr/lib/freeradius/rlm_expr.so
Reading symbols from /lib/x86_64-linux-gnu/libgcc_s.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libgcc_s.so.1
0x00007fbab4cb01ee in waitpid () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
No symbol table info available.
Thread 1 (Thread 0x7fbab6cf3700 (LWP 3658)):
#0 0x00007fbab4cb01ee in waitpid () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#1 0x00007fbab4c43c99 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#2 0x00007fbab66d2e10 in fr_fault (sig=11) at src/lib/debug.c:495
disable = true
cmd = "gdb -silent -x /etc/freeradius/panic.gdb freeradius 3658 2>&1 | tee /var/log/freeradius/gdb-freeradius-3658.log\000\003\334A\000\000\000\000\000~\365@\000\000\000\000\000\234\312B\000\000\000\000\000\005\235B\000\000\000\000\000'\257B\000\000\000\000\000\250\220A\000\000\000\000\000m\226B\000\000\000\000\000)\306n\266\272\177\000\000*\353@\000\000\000\000\000\255.´\272\177\000\000\205\356@\000\000\000\000\000 %Զ\272\177\000\000\220h \233\377\177\000\000\340m϶\272\177\000\000\270h \233"...
out = 0x7fff9b2066bb ".log"
left = 425
ret = <optimized out>
p = 0x7fbab68fcc67 ".log"
q = 0x0
code = <optimized out>
#3 <signal handler called>
No symbol table info available.
#4 vp_prints_value (out=out at entry=0x1aefbe0 "", outlen=outlen at entry=1024,
vp=0x450, quote=quote at entry=0 '\000') at src/lib/print.c:329
v = <optimized out>
buf = "\320\300l\266\272\177\000\000\220\262l\266\272\177\000\000\000\000\000\000\001\000\000\000(\001\000\000\001", '\000' <repeats 11 times>"\240, \375Ӷ\272\177\000\000\340p \233\377\177\000\000\000\000\000\000\000\000\000\000\bq \233\377\177\000\000H\372Ӷ\272\177\000\000[\257\300i\000\000\000\000\002\254\262\266\272\177", '\000' <repeats 18 times>, "\001", '\000' <repeats 15 times>, "\001\000\000\000\377\177\000\000H\372Ӷ\272\177\000\000`p \233\001\000\000\000xp \233\377\177\000\000pp \233\001\000\000\000\243\345浺\177\000\000\000\000\000\000\000\000\000\000\240\375Ӷ\272\177\000\000\220p \233\377\177\000\000\250p \233\377\177\000\000A\000\000\000\001\000\000\000mt@\000\000\000\000\000\r\000\000\000\000\000\000\000\203\321l\266\272\177\000\000gIo\266\272\177\000\000\200\212\256\001\000\000\000\000h<L\266\272\177\000\000\000\000\000\000\000\000\000\000\320\365\r\266"...
a = <optimized out>
t = <optimized out>
s_tm = {tm_sec = 0, tm_min = 0, tm_hour = -1243180912,
tm_mday = 32698, tm_mon = 1851880810, tm_year = 32512,
tm_wday = 2239, tm_yday = 1, tm_isdst = 0, tm_gmtoff = 0,
tm_zone = 0x7fbab6d3fa48 ""}
len = <optimized out>
freespace = <optimized out>
#5 0x00007fbab66dd732 in vp_prints_value (out=out at entry=0x1aefbe0 "",
outlen=outlen at entry=1024, vp=<optimized out>, quote=quote at entry=0 '\000')
at src/lib/print.c:996
freespace = 1024
#6 0x00007fbab69116b7 in xlat_foreach (instance=<optimized out>,
request=0x1aed770, fmt=<optimized out>, out=0x1aefbe0 "", outlen=1024)
at src/main/xlat.c:387
pvp = <optimized out>
len = <optimized out>
#7 0x00007fbab6911998 in xlat_aprint (ctx=ctx at entry=0x1aed770,
request=0x1aed770, node=0x1ab3b70, escape=escape at entry=0,
escape_ctx=escape_ctx at entry=0x0, lvl=0) at src/main/xlat.c:1978
rcode = <optimized out>
str = 0x1aefbe0 ""
child = <optimized out>
ref = <optimized out>
#8 0x00007fbab69124c4 in xlat_process (out=0x7fff9b2074b8, request=0x1aed770,
head=<optimized out>, escape=0, escape_ctx=0x0) at src/main/xlat.c:2075
i = <optimized out>
list = <optimized out>
total = <optimized out>
array = <optimized out>
answer = <optimized out>
node = <optimized out>
#9 0x00007fbab6912532 in xlat_expand_struct (out=0x7fff9b207508, outlen=0,
request=<optimized out>, node=<optimized out>, escape=<optimized out>,
escape_ctx=<optimized out>) at src/main/xlat.c:2147
buff = 0x0
len = <optimized out>
#10 0x00007fbab690cdef in radius_map2vp (out=0x7fff9b207580,
request=0x1aed770, map=0x1ab0530, ctx=<optimized out>)
at src/main/valuepair.c:1384
slen = <optimized out>
str = 0x0
rcode = 0
vp = 0x1af0830
found = <optimized out>
from = 0x0
da = 0x197afe0
context = 0x1aed770
cursor = {first = 0x7fff9b207a40, found = 0x7fbab6913faf, last = 0x0,
current = 0x3000000020, next = 0x7fff9b207600}
#11 0x00007fbab690c386 in radius_map2request (request=request at entry=0x1aed770,
map=map at entry=0x1ab0530, src=src at entry=0x4402d4 "update",
func=func at entry=0x7fbab690cc00 <radius_map2vp>, ctx=ctx at entry=0x0)
at src/main/valuepair.c:982
rcode = <optimized out>
num = <optimized out>
list = 0x1aed960
vp = <optimized out>
head = 0x0
context = 0x1aed770
parent = 0x1aed8f0
cursor = {first = 0x7fbab4f897a0, found = 0x7fbab4c47870, last = 0x32,
current = 0x1, next = 0x1}
#12 0x000000000041f955 in modcall_recurse (request=request at entry=0x1aed770,
component=component at entry=RLM_COMPONENT_POST_AUTH, depth=depth at entry=2,
entry=entry at entry=0x7fff9b207a40) at src/main/modcall.c:593
rcode = <optimized out>
map = 0x1ab0530
if_taken = false
was_if = false
c = <optimized out>
priority = <optimized out>
result = RLM_MODULE_UNKNOWN
#13 0x000000000041fd1a in modcall_recurse (request=0x1aed770,
component=RLM_COMPONENT_POST_AUTH, depth=1,
entry=entry at entry=0x7fff9b207a28) at src/main/modcall.c:698
i = <optimized out>
vps = 0x1af0700
tail = <optimized out>
vp = 0x7fff9b207298
cursor = {first = 0x7fff9b2077a0, found = 0x0, last = 0x0,
current = 0x1af0700, next = 0x0}
foreach_depth = 1
next = 0x7fff9b207a40
if_taken = false
was_if = false
c = <optimized out>
priority = <optimized out>
result = RLM_MODULE_UPDATED
#14 0x000000000041f221 in modcall_child (request=<optimized out>,
component=<optimized out>, depth=<optimized out>, entry=0x7fff9b207a10,
c=<optimized out>, result=0x7fff9b20790c) at src/main/modcall.c:409
next = 0x7fff9b207a28
#15 0x000000000041f3de in modcall_recurse (request=request at entry=0x1aed770,
component=component at entry=RLM_COMPONENT_POST_AUTH, depth=depth at entry=0,
entry=entry at entry=0x7fff9b207a10) at src/main/modcall.c:779
if_taken = false
was_if = false
c = <optimized out>
priority = <optimized out>
result = RLM_MODULE_UNKNOWN
#16 0x00000000004204fd in modcall (
component=component at entry=RLM_COMPONENT_POST_AUTH, c=c at entry=0x1ab0260,
request=request at entry=0x1aed770) at src/main/modcall.c:1089
stack = {{result = RLM_MODULE_NOOP, priority = 0, unwind = 0,
c = 0x1ab0260}, {result = RLM_MODULE_UPDATED, priority = 4,
unwind = 0, c = 0x1ab0450}, {result = RLM_MODULE_UPDATED,
priority = 0, unwind = 0, c = 0x1ab0760}, {result = 34,
priority = 0, unwind = 28256031, c = 0x67ed4b8300000003}, {
result = 197336782, priority = -1996055297, unwind = -93018346,
c = 0x80}, {result = RLM_MODULE_REJECT, priority = 0,
unwind = 28256045, c = 0x0}, {result = 28255024, priority = 0,
unwind = 25204016, c = 0x10}, {result = 16, priority = 0,
unwind = -1692370200, c = 0xc}, {result = RLM_MODULE_REJECT,
priority = 0, unwind = -1692370136, c = 0x10}, {result = 28223840,
priority = 0, unwind = -1692369904, c = 0x7fff9b207cd0}, {
result = 2602597584, priority = 32767, unwind = 27084624,
c = 0xcd}, {result = 3060646811, priority = 32698, unwind = 640,
c = 0x7fff9b207b70}, {result = 2602597584, priority = 32767,
unwind = -1692369984, c = 0xb0}, {result = 3036196536,
priority = 32698, unwind = -1258770744, c = 0x1af2670}, {
result = 96, priority = 0, unwind = -1258770848, c = 0xd0}, {
result = 909522437, priority = 11, unwind = 86, c = 0x1af2330}, {
result = 3036196448, priority = 32698, unwind = 160,
c = 0x7fbab66f4967}, {result = 28223024, priority = 0,
unwind = -1258770848, c = 0x56}, {result = RLM_MODULE_NOTFOUND,
priority = 0, unwind = 86, c = 0x1af273d}, {result = 3033005056,
priority = 32698, unwind = -1234220697, c = 0x1aea630}, {
result = 3060737701, priority = 32698, unwind = 0, c = 0x6}, {
result = 28235632, priority = 0, unwind = 7, c = 0x7}, {
result = 27974944, priority = 0, unwind = 27984480, c = 0x43b6da},
{result = 3062972335, priority = 32698, unwind = 16,
c = 0x3000000020}, {result = 2602597664, priority = 32767,
unwind = -1692369824, c = 0x0}, {result = 3060670126,
priority = 32698, unwind = 0, c = 0x12}, {result = 4437722,
priority = 0, unwind = 27298224, c = 0x1aea968}, {
result = 3060670671, priority = 32698, unwind = 205,
c = 0x1af2330}, {result = RLM_MODULE_REJECT, priority = 0,
unwind = 27084624, c = 0x1aee4a0}, {result = RLM_MODULE_REJECT,
priority = 0, unwind = -2050928176, c = 0x7fbab66e7c5a}, {
result = 3036196552, priority = 32698, unwind = 28239008,
c = 0x80}, {result = 4312016, priority = 0, unwind = -1692369688,
c = 0x1aed770}}
#17 0x000000000041dc03 in indexed_modcall (
comp=comp at entry=RLM_COMPONENT_POST_AUTH, idx=idx at entry=0,
request=request at entry=0x1aed770) at src/main/modules.c:818
rcode = <optimized out>
list = 0x1ab0260
server = 0x1aadd20
#18 0x000000000041e89f in process_post_auth (
postauth_type=postauth_type at entry=0, request=request at entry=0x1aed770)
at src/main/modules.c:1864
No locals.
#19 0x000000000040f57e in rad_postauth (request=request at entry=0x1aed770)
at src/main/auth.c:303
result = <optimized out>
postauth_type = 0
vp = <optimized out>
#20 0x000000000042ca9c in request_finish (action=<optimized out>,
request=0x1aed770) at src/main/process.c:1277
vp = <optimized out>
#21 request_running (action=<optimized out>, request=0x1aed770)
at src/main/process.c:1452
No locals.
#22 request_running (request=0x1aed770, action=<optimized out>)
at src/main/process.c:1373
No locals.
#23 0x0000000000429d05 in request_queue_or_run (request=0x1aed770,
process=process at entry=0x42c5c0 <request_running>) at src/main/process.c:965
No locals.
#24 0x000000000042af27 in request_receive (listener=listener at entry=0x1ab2f10,
packet=0x1af2330, client=client at entry=0x19d3f60,
fun=fun at entry=0x40f5c0 <rad_authenticate>) at src/main/process.c:1632
count = <optimized out>
packet_p = <optimized out>
request = 0x1aed770
now = {tv_sec = 1400902544, tv_usec = 680450}
sock = <optimized out>
#25 0x00000000004190a8 in auth_socket_recv (listener=0x1ab2f10)
at src/main/listen.c:1532
rcode = <optimized out>
code = 1
src_port = 1024
packet = 0x1af2330
fun = 0x40f5c0 <rad_authenticate>
client = 0x19d3f60
src_ipaddr = {af = 2, ipaddr = {ip4addr = {s_addr = 20752576},
ip6addr = {__in6_u = {
__u6_addr8 = "\300\250<\001\036\304\374\003\000\000\000\000\\\222l\266", __u6_addr16 = {43200, 316, 50206, 1020, 0, 0, 37468, 46700},
__u6_addr32 = {20752576, 66896926, 0, 3060568668}}}},
scope = 32698}
#26 0x000000000042966d in event_socket_handler (xel=<optimized out>,
fd=<optimized out>, ctx=<optimized out>) at src/main/process.c:3842
listener = <optimized out>
#27 0x00007fbab66ec629 in fr_event_loop (el=0x17fe190) at src/lib/event.c:495
ef = 0x17fe1f8
i = <optimized out>
rcode = 1
maxfd = 16
when = {tv_sec = 1400902544, tv_usec = 887485}
wake = <optimized out>
read_fds = {fds_bits = {16384, 0 <repeats 15 times>}}
master_fds = {fds_bits = {124928, 0 <repeats 15 times>}}
#28 0x000000000042e2f1 in radius_event_process () at src/main/process.c:4726
No locals.
#29 0x000000000040eb2a in main (argc=<optimized out>, argv=<optimized out>)
at src/main/radiusd.c:544
rcode = 0
status = <optimized out>
argval = <optimized out>
spawn_flag = false
write_pid = false
flag = 0
from_child = {-1, -1}
autofree = 0x17fe060
A debugging session is active.
Inferior 1 [process 3658] will be detached.
Quit anyway? (y or n) [answered Y; input not from terminal]
Resetting PR_DUMPABLE to 0
Panic action exited with 0
More information about the Freeradius-Users
mailing list