Returning duplicate response attributes

Siddiqui Najam Najam.Siddiqui at gemalto.com
Wed Oct 4 16:30:19 CEST 2017


Hi,

We are having an issue where we need to return duplicate radius attributes with different values in the response but the server includes only the first attribute.

For example for the following attributes:

Attr-25  = '0x7465737431'
Attr-25 = '0x7465737432'

Only the first attribute is returned in the response by the server. Response logs shown below.

Please help.

Response logs =====================================================
Wed Oct  4 14:26:09 2017 : Debug: (8) example: ::: FROM 1 TO 0 MAX 1
Wed Oct  4 14:26:09 2017 : Debug: (8) example: ::: Examining Class
Wed Oct  4 14:26:09 2017 : Debug: (8) example: ::: APPENDING Class FROM 0 TO 0
Wed Oct  4 14:26:09 2017 : Debug: (8) example: ::: TO in 0 out 0
Wed Oct  4 14:26:09 2017 : Debug: authenticate - 'reply:Attr-25' = '0x7465737432'
Wed Oct  4 14:26:09 2017 : Debug: (8) example: ::: FROM 1 TO 1 MAX 2
Wed Oct  4 14:26:09 2017 : Debug: (8) example: ::: Examining Class
Wed Oct  4 14:26:09 2017 : Debug: (8) example: ::: TO in 1 out 1
Wed Oct  4 14:26:09 2017 : Debug: (8) example: ::: to[0] = Class
Wed Oct  4 14:26:09 2017 : Debug: authenticate - 'config:Auth-Type' = 'example'
Wed Oct  4 14:26:09 2017 : Debug: (8) example: ::: FROM 1 TO 1 MAX 2
Wed Oct  4 14:26:09 2017 : Debug: (8) example: ::: Examining Auth-Type
Wed Oct  4 14:26:09 2017 : Debug: (8) example: ::: TO in 1 out 1
Wed Oct  4 14:26:09 2017 : Debug: (8) example: ::: to[0] = Auth-Type
Wed Oct  4 14:26:09 2017 : Debug: (8)     modsingle[authenticate]: returned from example (rlm_python)
Wed Oct  4 14:26:09 2017 : Debug: (8)     [example] = ok
Wed Oct  4 14:26:09 2017 : Debug: (8)   } # Auth-Type sasagent = ok
Wed Oct  4 14:26:09 2017 : Debug: (8) # Executing section post-auth from file /etc/raddb/sites-enabled/default
Wed Oct  4 14:26:09 2017 : Debug: (8)   post-auth {
Wed Oct  4 14:26:09 2017 : Debug: (8)     modsingle[post-auth]: calling exec (rlm_exec)
Wed Oct  4 14:26:09 2017 : Debug: (8)     modsingle[post-auth]: returned from exec (rlm_exec)
Wed Oct  4 14:26:09 2017 : Debug: (8)     [exec] = noop
Wed Oct  4 14:26:09 2017 : Debug: (8)   } # post-auth = noop
Wed Oct  4 14:26:09 2017 : Auth: (8) Login OK: [testuser] (from client Radius Local port 0)
Wed Oct  4 14:26:09 2017 : Debug: (8) Sent Access-Accept Id 13 from 172.17.0.2:1812 to 192.168.99.1:50726 length 0
Wed Oct  4 14:26:09 2017 : Debug: (8)   Class = 0x7465737431
Wed Oct  4 14:26:09 2017 : Debug: (8) Finished request
Wed Oct  4 14:26:09 2017 : Debug: Waking up in 4.9 seconds.
Wed Oct  4 14:26:14 2017 : Debug: (8) Cleaning up request packet ID 13 with timestamp +1674
Wed Oct  4 14:26:14 2017 : Info: Ready to process requests

________________________________
This message and any attachments are intended solely for the addressees and may contain confidential information. Any unauthorized use or disclosure, either whole or partial, is prohibited.
E-mails are susceptible to alteration. Our company shall not be liable for the message if altered, changed or falsified. If you are not the intended recipient of this message, please delete it and notify the sender.
Although all reasonable efforts have been made to keep this transmission free from viruses, the sender will not be liable for damages caused by a transmitted virus.


More information about the Freeradius-Users mailing list