Re: $INCLUDE ignored by freeradius

2012-08-23 Thread Krzysztof Grobelak
Kris On 22/08/12 23:54, Arran Cudbard-Bell wrote: On 22 Aug 2012, at 17:42, Arran Cudbard-Bell a.cudba...@freeradius.org wrote: On 22 Aug 2012, at 17:26, Klaus Klein k.kl...@gmx.de wrote: Am 22.08.2012 13:48, schrieb Alan DeKok: Krzysztof Grobelak wrote: What I expect to happen

Re: $INCLUDE ignored by freeradius

2012-08-23 Thread Krzysztof Grobelak
On 23/08/12 10:51, Arran Cudbard-Bell wrote: On 23 Aug 2012, at 10:41, Krzysztof Grobelak kgrobe...@airspeed.ie wrote: Hello and thanks for assistance. I just compiled freeRadius with those debug entries and the radiusd -X now shows: Module: Instantiating module files from file /usr/local

Re: $INCLUDE ignored by freeradius

2012-08-23 Thread Krzysztof Grobelak
Hi Alan, freeradius1:/usr/local/etc/raddb # ls -lZ users* -rw-r--r-- 1 root root ? 10859 Aug 23 11:20 users -rw-r--r-- 1 root root ? 11979 Aug 22 13:19 users.group1 -rw-r--r-- 1 root root ? 3241 Aug 23 11:20 users.group2 Kris On 23/08/12 12:18, alan buxey wrote: Hi, So freeradius

Re: $INCLUDE ignored by freeradius

2012-08-23 Thread Krzysztof Grobelak
KVM/Qemu and OpenSUSE 12.1 (64bits) on physical server and it only manifests itself on OpenSUSE. Also tried it on OpenSUSE 11.4(32 bits) but no issue there. Thanks all, Kris On 23/08/12 12:45, Krzysztof Grobelak wrote: Hi Alan, freeradius1:/usr/local/etc/raddb # ls -lZ users* -rw-r--r-- 1

Re: $INCLUDE ignored by freeradius

2012-08-22 Thread Krzysztof Grobelak
users.group1 to the main users file the authentication fails as it never finds a match in users file. Could you please advice. Regards, Kris On 20/08/12 19:01, Krzysztof Grobelak wrote: Ok, please dont mind this email. freeradius is not ignoring anything:-) It was my mistake. Kris On 20/08/12 18:08

Re: $INCLUDE ignored by freeradius

2012-08-22 Thread Krzysztof Grobelak
the chance. Thanks, Kris On 22/08/12 11:28, Alan DeKok wrote: Krzysztof Grobelak wrote: Users will be authenticated if their profile is present in the users file but when i place the profile in external file users.group1 and then add $INCLUDE users.group1 to the main users file the authentication

Re: $INCLUDE ignored by freeradius

2012-08-22 Thread Krzysztof Grobelak
Hello, I looked at the log output I see what is wrong but dont understand why. The user gets rejected because no password was found. It was not found because the $INCLUDE directive did not include the users.group1 into the users file. Alan you said that the include directive is ignored if

$INCLUDE ignored by freeradius

2012-08-20 Thread Krzysztof Grobelak
Hello all, It seems that the $INCLUDE filename command is ignored by freeradius during authentication. I have three groups of users in three different files and those three files are added to the main users file in raddb directory using $INCLUDE users.group1 $INCLUDE users.group2 $INCLUDE

Re: $INCLUDE ignored by freeradius

2012-08-20 Thread Krzysztof Grobelak
Ok, please dont mind this email. freeradius is not ignoring anything:-) It was my mistake. Kris On 20/08/12 18:08, Krzysztof Grobelak wrote: Hello all, It seems that the $INCLUDE filename command is ignored by freeradius during authentication. I have three groups of users in three

Question about WARNING in rlm_sql_mysql

2012-01-31 Thread Krzysztof Grobelak
Hello all, Can somebody shed some light what the 'You probably need to lower min' means. I just installed fresh freeradius from git. All my settings are the same as in the last version but apart from the radiusd -X not working (but the radiusd -lxx -l stdout is) radius.log displays this

Re: Using sql and userfile together

2012-01-24 Thread Krzysztof Grobelak
Thanks very much for that Alan. On 23/01/12 20:16, Alan Buxey wrote: Hi, Hello all, I just wanted to ask how could I make FR to use either users file or sql to send attributes based on the NAS ip address. I suspect that I would need to use ulang for that. Something like:

Using sql and userfile together

2012-01-23 Thread Krzysztof Grobelak
Hello all, I just wanted to ask how could I make FR to use either users file or sql to send attributes based on the NAS ip address. I suspect that I would need to use ulang for that. Something like: if(NAS-IP-Address == NAS A IP) { use sql } else { use users file } I'm just wondering

Creating templates for users

2011-10-20 Thread Krzysztof Grobelak
Hello, I am having some troubles creating templates with wimax attributes for users. I created files with atributes in them in the form: Alvarion-R3-IF-Name += CPEL3Mgmt, Alvarion-PDFID += 1,

Re: Creating templates for users

2011-10-20 Thread Krzysztof Grobelak
Thank you for the reply. I understand why $template didn't work but I am not sure why the $INCLUDE file is not working or is its usage also limited to radiusd.conf Kind regards, Krzysztof On 20/10/11 17:20, Fred wrote: extracted from templates.conf : # For now, you can use

No connection after access-accept.

2011-10-19 Thread Krzysztof Grobelak
Hello. I am trying to configure freeradius to work with Alvarion devices. It is working fine with Extreme but for some reason it does not work with 4motion. I installed the master version from git and I edited the dictionary files. My problem is that i see access-accept being sent but the