Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rlm_lua: Update the sample src/modules/rlm_lua/example.lua #2564

Merged
merged 1 commit into from Mar 10, 2019

Conversation

jpereira
Copy link
Member

@jpereira jpereira commented Mar 9, 2019

No description provided.

@jpereira
Copy link
Member Author

jpereira commented Mar 9, 2019

Better sample using the 'request' list.

Debug : (0)    lua - Calling authorize() in interpreter 0x556f6340f560
example.lua/authorize(): <list_request>
    Service-Type: "2" (number)
    User-Name: "jorge" (string)
    NAS-IP-Address: "10.1.5.53" (string)
    NAS-Port: "7" (number)
    Framed-IP-Address: "10.240.200.10" (string)
    Framed-MTU: "576" (number)
    Called-Station-Id: "MD" (string)
    Calling-Station-Id: "04:d6:aa:27:7d:a2" (string)
    NAS-Identifier: "ip-10-1-5-53" (string)
    NAS-Port-Type: "19" (number)
    EAP-Message: "" (string)
    NAS-Port-Id: "capwap_90000004" (string)
    Airespace-Wlan-Id: "6" (number)
    Cisco-AVPair: "service-type=Framed" (string)
    Cisco-AVPair: "audit-session-id=350501000000001414413EE112" (string)
    Cisco-AVPair: "addrv6=fe80::646:aaaff:fe27:7da2" (string)
    Cisco-AVPair: "client-iff-id=66666666666666" (string)
    Cisco-AVPair: "vlan-id=200" (string)
    Cisco-AVPair: "cisco-wlan-ssid=tsunami-3" (string)
example.lua/authorize: </list_request>

@alandekok alandekok merged commit dd4248d into FreeRADIUS:master Mar 10, 2019
@jpereira jpereira deleted the v4/rlm_lua-update branch March 11, 2019 09:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants