Remove Domain from User-Name

2010-08-04 Thread benoit.bianchi
Hi, I've successfully set up freeradius for EAP-PEAP Authentication with MSCHAP on my AD Domain, but I'm facing a problem on accounting: I'm using SQL accounting and can't get rid of the DOMAIN\ part for the sql_user_name, I've tried using the Stripped-User-Name variable but it

Re: Tag and Untag a port in several VLAN

2010-08-04 Thread Fabien COMBERNOUS
Fabien COMBERNOUS wrote: [...] So i used the other possibility with Egress-VLAN-Name instead of Egress-VLANID. It is easier to understand the meaning of the value and it works with my version of FreeRadius. About the dynamic vlan assignment i use the two methods explained in [1] : - some

Re: Tag and Untag a port in several VLAN

2010-08-04 Thread Arran Cudbard-Bell
On Aug 4, 2010, at 1:01 AM, Fabien COMBERNOUS wrote: Fabien COMBERNOUS wrote: [...] So i used the other possibility with Egress-VLAN-Name instead of Egress-VLANID. It is easier to understand the meaning of the value and it works with my version of FreeRadius. About the dynamic vlan

RE: Remove Domain from User-Name

2010-08-04 Thread benoit.bianchi
I've found the following searching in the mailing list, that may solve my issue, but I don't know where I have to insert it within the conf files (and which one ...): if (User-Name =~ /^DOMAIN\\(.*)/) { update request { Stripped-User-Name := %{1}

Fwd: FreeRadius2MySQL

2010-08-04 Thread Student University
Dears , I am planing to migrate from Aradial to FreeRadius2 and i currently have 1 subscribers so can please guide me of how i can setup the freeradius 2 with MYSQL to be 100% ready for such production Thanks in advanced ,,, - List info/subscribe/unsubscribe? See

Re: Fwd: FreeRadius2MySQL

2010-08-04 Thread Johan Meiring
On 2010/08/04 01:35 PM, Student University wrote: so can please guide me of how i can setup the freeradius 2 with MYSQL to be 100% ready for such production That's easy. All you need to do is read the documentation. -- Johan Meiring Cape PC Services CC Tel: (021) 883-8271 Fax:

Multiple LDAP search

2010-08-04 Thread Wayne Van der Merwe
Hi all I got LDAP working on FreeRADIUS Version 2.1.8, with SUSE 10.1 Now i need to do the following if the user is not found in the 1st LDAP search, that searches in o=EC, then it must search again in o=HLT. I would like to know where to create these files. Thank you Wayne van der Merwe -

Re: Multiple LDAP search

2010-08-04 Thread Alan DeKok
Wayne Van der Merwe wrote: Hi all I got LDAP working on FreeRADIUS Version 2.1.8, with SUSE 10.1 Now i need to do the following if the user is not found in the 1st LDAP search, that searches in o=EC, then it must search again in o=HLT. I would like to know where to create these files.

Prevent logging of testusers?

2010-08-04 Thread Jens Weibler
Hi, I'm searching for a way to prevent testlogins getting logged. Is this possible? How? ;) -- Jens Weibler IT Services Hochschule Darmstadt www.h-da.de University of Applied Sciences Fachbereich Informatik www.fbi.h-da.de Schöfferstr. 8b D-64295 Darmstadt Tel +49 6151 16-8425 Fax +49 6151

freeradius, rlm_sql and tagged attributes

2010-08-04 Thread Evgeniy Kozhuhovskiy
I need to reply to NAS with same attributes with different tags. All works ok when i'm using users file. But when i'm migrating to rlm_sql, only first instance of attribute goes in reply: mysql SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'test' ORDER BY id;

Re: freeradius, rlm_sql and tagged attributes

2010-08-04 Thread Evgeniy Kozhuhovskiy
Sorry, solved.. Changed = to += Evgeniy Kozhuhovskiy пишет: I need to reply to NAS with same attributes with different tags. All works ok when i'm using users file. But when i'm migrating to rlm_sql, only first instance of attribute goes in reply: | 19 | test | Service-Name:1|

Re: freeradius, rlm_sql and tagged attributes

2010-08-04 Thread Alan DeKok
Evgeniy Kozhuhovskiy wrote: I need to reply to NAS with same attributes with different tags. All works ok when i'm using users file. But when i'm migrating to rlm_sql, only first instance of attribute goes in reply: This is documented. See doc/rlm_sql. You need to use +=, not =. Alan

Re: Multiple LDAP search

2010-08-04 Thread Gary Prosser
Our setup (see below) works in the way you describe: if a valid username is found in ldap1 return ok otherwise (notfound) OR (fail) look in ldap2; if found return ok otherwise (notfound) OR (fail) look in ldap3 etc modules ldap ldap1 { server = localhost

Trouble migrating EAP TLS authentication from Free Radius 1.1.8 to 2.1.9

2010-08-04 Thread SEELEMANN, Sven
Hi, I've been trying to migrate the FreeRadius server from 1.1.8 to the latest (stable) release (2.1.9 at the last try, 2.1.8 before that). I'm using EAP TLS to authenticate modem connection to our DSLAM (using 2 way authentication). The 1.1.8 server has no trouble performing the task,

Re: Fwd: FreeRadius2MySQL

2010-08-04 Thread shark_l
//I am planing to migrate from Aradial to FreeRadius2 //and i currently have 1 subscribers A piece of advice: DO NOT deploy Freeradius2 now! I am using FreeRadius 2.1.9 + Mysql 5.3 on FreeBSD 8.1, and the radiusd exits abnormally (although it says info: exiting normally by itself ) many