>> 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
-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.
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
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
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
5 matches
Mail list logo