Security

Why does radiusScripted.py wrap radclient and not use a module?

sdwilkerson
Contributor

Is there a reason why the bundled radiudScripted.py script to auth to radius calls "radclient" instead of leveraging a radius module?

Is this just because Splunk did not want to distribute a non-Splunk module as part of the bundle or is there a functional reason?

Thank you,

Sean

Tags (2)
1 Solution

Mick
Splunk Employee
Splunk Employee

From the Dev side of the house -

It's likely just how it was written that way because we didn't want to package an extra module, that stuff isn't native to python. The originator of these sample scripts has left the company so he's not around to clarify, but that's our best guess.

This is an example script so if you want to use a radius module, go for it.

View solution in original post

jrodman
Splunk Employee
Splunk Employee

The watchword for the example auth scripts was almost certainly expediency. Please do modify them as desired, but be mindful to use a different filename for upgrade overwrite purposes.

sdwilkerson
Contributor

Thanks Josh. Step 1 is to get it working as is. Step 2 is to use a more efficient radius module. I'll report what we find out.

0 Karma

Mick
Splunk Employee
Splunk Employee

From the Dev side of the house -

It's likely just how it was written that way because we didn't want to package an extra module, that stuff isn't native to python. The originator of these sample scripts has left the company so he's not around to clarify, but that's our best guess.

This is an example script so if you want to use a radius module, go for it.

View solution in original post

sdwilkerson
Contributor

Thanks for your help Mick.

0 Karma
Did you miss .conf21 Virtual?

Good news! The event's keynotes and many of its breakout sessions are now available online, and still totally FREE!