Re: Realms Extraction

2009-01-26 Thread tnt
>> That is the assistance I need - writing the correct regular expression. > >http://www.regular-expressions.info/ > >User-Name =~ "^([...@]+)(@isp.com)?$" > Double quotes don't work for me (2.1.3). Single work OK: DEFAULT User-Name =~ '^([...@]+)(@isp.com)?$' also, in second statement, it doe

Re: Realms Extraction

2009-01-26 Thread Arran Cudbard-Bell
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 tech.subscripti...@shepherdhill.biz wrote: >>> and failed authentication. Kindly assist. >> >> Write a *correct* regular expression that matches the incoming >> User-Name. > > That is the assistance I need - writing the correct regular expression.

Re: Realms Extraction

2009-01-26 Thread tech . subscriptions
and failed authentication. Kindly assist. Write a *correct* regular expression that matches the incoming User-Name. That is the assistance I need - writing the correct regular expression. Regards, Chris - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: Realms Extraction

2009-01-26 Thread Alan DeKok
tech.subscripti...@shepherdhill.biz wrote: > DEFAULT User-Name =~ "^([...@]+)@isp.com", NAS-IP-Address == "127.0.0.1" > User-Name := "%{1}" > > and this is my debug: > rad_recv: Access-Request packet from host 127.0.0.1 port 36732, id=6, > length=59 > User-Name = "4371104" > User

Realms Extraction

2009-01-26 Thread tech . subscriptions
Hi, I added: DEFAULT User-Name =~ "^([...@]+)@isp.com", NAS-IP-Address == "127.0.0.1" User-Name := "%{1}" and this is my debug: rad_recv: Access-Request packet from host 127.0.0.1 port 36732, id=6, length=59 User-Name = "4371104" User-Password = "4371104" NAS-IP