Passing radius messages to script

2009-08-06 Thread Dejan Markic
Hello! Is it possible, that FreeRadius would open n instances of one script, which would read from stdin (or such), to which it would send it's Radius messages and script would return the Radius reply? I do not want to run script everytime I receive a message on Radius, I'd like to keep it

Re: DEAFAULT keyword??

2009-08-06 Thread Alan DeKok
Marlon Duksa wrote: I've been reading through WiKi pages but still not clear. I need to evaluate two attributes and I'm doing this with the =~ operator. But the second attribute is not evaluated but instead returned as reg expr (exactly as stated below) DEFAULT *User-Name =~

reinstalling freeradius .............while gmake giveing problme

2009-08-06 Thread shivashankar
hi , i installed freeradius 2.1.6 on solaris 10 and i installed and configure mysql5.0.. now it workign fine . second time when i am tring to install freeradius2.1.6. i am facing below problem while gmake. see below error. help me did i do any mistake gmake[6]: Leaving directory

Re: Passing radius messages to script

2009-08-06 Thread Alan DeKok
Dejan Markic wrote: Hello! Is it possible, that FreeRadius would open n instances of one script, which would read from stdin (or such), to which it would send it's Radius messages and script would return the Radius reply? I do not want to run script everytime I receive a message on

Re: Freeradius-Users Digest, Vol 52, Issue 31

2009-08-06 Thread Gilbert Lo
Thank you for your message. I am away until August 7th. I will respond to your message on my return . For urgent matters, please contact helpd...@stgeorges.bc.ca . Cheers, Gilbert Lo - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

AW: EAP errors in 2.1.1

2009-08-06 Thread Wegener, Norbert
-Ursprüngliche Nachricht- Von: freeradius-users-bounces+norbert.wegener=siemens@lists.freeradius.org [mailto:freeradius-users-bounces+norbert.wegener=siemens@lists.freeradius.org] Im Auftrag von Alan DeKok Gesendet: Donnerstag, 30. Juli 2009 15:21 An: FreeRadius users mailing

Re: AW: EAP errors in 2.1.1

2009-08-06 Thread Alan DeKok
Wegener, Norbert wrote: We noticed at one of the involved windows clients that for an unknown reason its system clock changed while the eap session has been started. Might such a change of system time also lead to that kind of problem? I wouldn't be surprised. I don't know enough about

Re: Simple username password text file

2009-08-06 Thread Paul Blalock
On Wed, Aug 05, 2009 at 09:44:55AM -0500, Paul Blalock wrote: Is it possible to have a simplistic username and password setup in freeradius? For example. user, pass user1, pass1 Or is it possible to have the users file point to a file that does this? If not, is it possible to have this

Re: AW: EAP errors in 2.1.1

2009-08-06 Thread Arran Cudbard-Bell
On 06/08/2009 16:03, Alan DeKok wrote: Wegener, Norbert wrote: We noticed at one of the involved windows clients that for an unknown reason its system clock changed while the eap session has been started. Might such a change of system time also lead to that kind of problem? I wouldn't be

Re: DEAFAULT keyword??

2009-08-06 Thread Marlon Duksa
Thanks. But how do you invoke 'man' for the users? If I type what you did above in Ubuntu, I get some other 'users' :NAME users - print the user names of users currently logged in to the current host when I do 'man freeradius' then I get the correct man pages for freeradius but very

Re: DEAFAULT keyword??

2009-08-06 Thread Alan DeKok
Marlon Duksa wrote: Thanks. But how do you invoke 'man' for the users? If I type what you did above in Ubuntu, I get some other 'users' : NAME users - print the user names of users currently logged in to the current host OK... $ man 5 users Or, you could try reading the users

Re: DEAFAULT keyword??

2009-08-06 Thread Marlon Duksa
ok, thanks. It is more clear now. Marlon On Thu, Aug 6, 2009 at 9:42 AM, Alan DeKok al...@deployingradius.comwrote: Marlon Duksa wrote: Thanks. But how do you invoke 'man' for the users? If I type what you did above in Ubuntu, I get some other 'users' : NAME users - print the

Re: Error: rlm_eap: Failed to store handler

2009-08-06 Thread Rokkhan
Thanks for all, I installed freeradius 2.1.6 and it seems that eap works correctly, Thanks! 2009/7/28 Rokkhan rokk...@gmail.com: Ok, I'll try to update 2.1.6. I have not found newer rpm packages than i installed in my server on freeradius.org, because when I go to the download section and I

conditional variable assignment

2009-08-06 Thread Marlon Duksa
Hi - if there any way to conditionally assign returned variables in users file? For example: DEFAULT User-Name =~ ^([aA-zZ]+)-([aA-zZ]+)$, Cleartext-Password := csetestp Alc-Subsc-ID-Str := %{NAS-Port-Id}, Alc-Subsc-Prof-Str := %{1}, Now I want to do

regex not evaluated?

2009-08-06 Thread Marlon Duksa
Hi - does anyone know why this does not work: basic-TPUser-Password == csetestp User-Name =~ ^([aA-zZ]+)-([aA-zZ]+)$, Alc-Subsc-ID-Str := %{NAS-Port-Id}, Alc-Subsc-Prof-Str := %{1}, Alc-SLA-Prof-Str := %{2}, Alc-MSAP-Serv-Id := 100,

gmake giving --------ld: fatal: file .libs/sql_mysql.o: wrong ELF class: ELFCLASS32

2009-08-06 Thread shivashankar
hi, i using freeradius 2.1.7 while gmake ..i am getting gcc -shared -Wl,-h -Wl,rlm_sql_mysql-2.1.6.so -o .libs/rlm_sql_mysql-2.1.6.so .libs/sql_mysql.o -L/opt/mysql/mysql/lib -lmysqlclient_r -lz -lposix4 -lresolv -lgen -lsocket -lnsl -lm -lpthread -lthread -lc -m64 ld: fatal: file

rlm_sql module won't compile under Solaris 10

2009-08-06 Thread shivashankar
hi, i am using Freeradius 2.1.6. gcc -shared -Wl,-h -Wl,rlm_sql_mysql-2.1.6.so -o .libs/rlm_sql_mysql-2.1.6.so .libs/sql_mysql.o -L/opt/mysql/mysql/lib -lmysqlclient_r -lz -lposix4 -lresolv -lgen -lsocket -lnsl -lm -lpthread -lthread -lc -m64 ld: fatal: file .libs/sql_mysql.o: wrong ELF