On Thu, 19 May 2005, Thomas Boutell wrote: > Alan DeKok wrote: > > > You can always have a shell script do the authentication for you. > > It can run ntlm_auth, and if that returns "notfound", it can then run > > "radclient" to send the request to another RADIUS server. It's ugly, > > but it will work. > > Actually that would be very sraightforward for me. But how do > I arrange for FreeRADIUS to run a shell script for authentication, > and how does the script receive the parameters and so on that will > need to be passed to radclient? and finally, how does the script > convey the outcome to FreeRADIUS? > > I've done some googling this morning and I'm not finding much discussion > of this or any HOWTOs on the subject (of course I could be suffering from > the usual "if you knew the answer you'd know what keywords to search for" > problem). Also haven't found it in the doc folder. >
Check out exec echo in radiusd.conf. That is an example using exec to run a script. Read variables.txt in doc/ For your first script, make it this. #!/bin/sh printenv > /tmp/example It passes all the variables to your script as environmental variables. This will show you. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html