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.

sdwilkerson
Contributor

Thanks for your help Mick.

0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...