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 Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...