Authentication by domain of company

2010-11-09 Thread zouzou
Hi, I am new to FreeRADIUS. I have two users: test1 test2 I would like to grant test1 access by this syntax of username ; Username: te...@domaine1 ( exp: domaine1= DRH) I would like to grant test2 access by this syntax of username; Username: te...@domaine2 ( exp: domaine1=DG) And I would not

Re: redundant SQL / WARNING: Unknown module sql in string expansion

2010-11-09 Thread Phil Mayers
On 09/11/10 11:28, Tom Teeuwen wrote: I used something like if (“%{sql:select …….. I receive the following error: *WARNING: Unknown module sql in string expansion %{sql:select* Yes. The redundant module group isn't a valid target for xlat i.e. %{name:} expansions. This would need source

redundant SQL / WARNING: Unknown module sql in string expansion

2010-11-09 Thread Tom Teeuwen
Hello, I configured my freeradius with redundant SQL config: In sql.conf: Sql sql1 { . } Sql sql2 { .. . .. } Radiusd.conf: Redundant sql { Sql1 Sql2 } And in my default site config: Authorize { ... Sql ... ... } Now I want to do some extra SQL-queries

RE: redundant SQL / WARNING: Unknown module sql in string expansion

2010-11-09 Thread Tom Teeuwen
Do you have an example of how to achive this ? Van: freeradius-users-bounces+t.teeuwen=petitverbindt...@lists.freeradius.org [freeradius-users-bounces+t.teeuwen=petitverbindt...@lists.freeradius.org] namens Phil Mayers [p.may...@imperial.ac.uk]

Setting group membership

2010-11-09 Thread inetjunkmail
I know I'm missing something obvious but I'm stuck here so I apologize in advance for the silly question. I'm using freeradius 2.1.7. I'm using the files option for all processes but I want to use user groups so I can reference them in my huntgroups definitions as groups of users permitted to

Re: redundant SQL / WARNING: Unknown module sql in string expansion

2010-11-09 Thread Phil Mayers
On 11/09/2010 05:39 PM, Tom Teeuwen wrote: Do you have an example of how to achive this ? You could maybe try something like: update request { Tmp-String-0 := %{sql1: ... query ...} } if (Tmp-String-0 =~ /^$/) { # empty string; try 2nd sql update request { Tmp-String-0 := %{sql2:

Re: Accounting Log

2010-11-09 Thread Alan DeKok
Breuer Nicolas wrote: I know that this is the correct behaviour concerning redundant groups but for me a Stop with zero session length isn't a SQL issue that needs to go on secondary SQL servers. The SQL module did not write the record to the database. This means that the record was

Re: LDAP Frontend with Support for RADIUS Schema

2010-11-09 Thread Alan DeKok
Holger Rauch wrote: thanks a lot for your reply. But apart for a suggestion for the LDAP frontend, I was also looking for a documentation on how FreeRADIUS can be used in conjunction with OpenLDAP for authenticating VPN users. LDAP stores usernames and passwords. FreeRADIUS looks up

Mikrotik Dictionaries

2010-11-09 Thread Ben Wiechman
It appears that the Mikrotik dictionary was removed from /usr/share/dictionary in commit 38cee089d7f88a4e517d when the Motorola WiMAX dictionaries were added. Was this intentional or an oversight? Ben - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Authentiacting eMail (courier) installation against a freeradius database

2010-11-09 Thread Philley Kalisha Mandiza
Hello, Authentiacting eMail (courier) installation against a freeradius database I have a mail installation using courier+postfix authenticating against a mysql database. I also have a freeradius installation. Both are working fine independently. Question:  How can I configure my mail