Alan,
re: "Do you have a *specific* question about the documentation? I'm
unwilling to re-post it here, as that is not helpful."
Perhaps we (the craigs) are thinking about it from the wrong (old) angle?
What I am missing is how to connect the entries in the users file to the
specific auth program I wish to use via the 'new and improved' method?
Simple fictional example, assume I have two (2) auth programs (auth1 and
auth2), and two NAS devices (NAS1 and NAS2). In users I can used default
entries and specify the source NAS in an entry like,
Default NAS-IP-Address=="192.168.1.1", Auth-Type:=Accept,
<- What goes here to replace the deprecated
Exec-Program-Wait for auth1 construct?
Fall-Through = No
Default NAS-IP-Address=="192.168.1.2", Auth-Type:=Accept,
<- What goes here to replace the deprecated
Exec-Program-Wait for auth2 construct?
Fall-Through = No
I suspect this is a case of you knowing the system so well that you are
making a trivial logic leap we are failing to see.
Thanks,
-craig(II)
----- Original Message -----
From: "Alan DeKok" <[email protected]>
To: "FreeRadius users mailing list" <[email protected]>
Sent: Monday, March 21, 2011 12:34 PM
Subject: Re: $75.00 USD Bounty
Craig Smith wrote:
I am also finding the documentation semi helpful. So I put:
In 2.1.x, you can *still* use Exec-Program-Wait. So no change is
necessary.
exec {
program = "/path/to/program/exec-program-wait" <-- I know I need to
change this
Change it to the path of the program you want to run. This should be
Unix 101.
wait = yes
input_pairs = request
output_pairs = reply
}
In /etc/freeradius/modules/exec.
Now how do make my authentication request use exec?
You read the documentation in raddb/modules/exec.
Do you have a *specific* question about the documentation? I'm
unwilling to re-post it here, as that is not helpful.
Alan DeKok.
-
List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html
__________ Information from ESET Smart Security, version of virus
signature database 5971 (20110321) __________
The message was checked by ESET Smart Security.
http://www.eset.com
__________ Information from ESET Smart Security, version of virus signature
database 5971 (20110321) __________
The message was checked by ESET Smart Security.
http://www.eset.com
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html