Archive
Highlighted

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

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)
Highlighted

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

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

Highlighted

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

Contributor

Thanks for your help Mick.

0 Karma
Highlighted

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

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.

Highlighted

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

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