Hello all, I wanna write an authentication script which will control the username&password pair from an IMAP server. Acutally the script is about ready but, i couldt find a way to execute from radius. I first tried rlm_perl which i thouhgt it will be better and easier But i had the error "undefined symbol: Perl_Tstack_sp_ptr (failed! run '/usr/sbin/freeradius -x' to find out why.)" Then i reinstalled freeradius checked the updates of perl etc but no solution.. And i decided to use rlm_exec for that. But i am not sure how will i use it as authentication. Anybody has an example regarding to that? Or even a solution for my rlm_perl Thank u Oguzhan Kayhan
On Monday 03 December 2007 12:56:07 Alan DeKok wrote:
Oguzhan Kayhan wrote:
I wanna write an authentication script which will control the username&password pair from an IMAP server. Acutally the script is about ready but, i couldt find a way to execute from radius.
scripts/exec-program-wait
Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Hi Alan, Thanks for ur reply but i am pretty new about freeradius. So... Where is that scripts folder..Or do i have to make settings under radiusd.conf file? An example config file will help me a lot for sure.. Or a documentation about it with examples.
Oguzhan Kayhan wrote:
Thanks for ur reply but i am pretty new about freeradius. So... Where is that scripts folder..Or do i have to make settings under radiusd.conf file?
The file is in the distribution "tar" file. It contains comments explainint how to use it.
An example config file will help me a lot for sure.. Or a documentation about it with examples.
The file has documentation. The server comes with documentation for the "exec" module, which is another method of achieving the same goal. Do you have a *specific* question about the documentation? Alan DeKok.
participants (2)
-
Alan DeKok -
Oguzhan Kayhan