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
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 tech.subscriptions@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.
http://www.regular-expressions.info/ User-Name =~ "^([^@]+)(@isp.com)?$" Regards, Arran
Regards, Chris - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
- -- Arran Cudbard-Bell (A.Cudbard-Bell@sussex.ac.uk), Authentication, Authorisation and Accounting Officer, Infrastructure Services (IT Services), E1-1-08, Engineering 1, University Of Sussex, Brighton, BN1 9QT DDI+FAX: +44 1273 873900 | INT: 3900 GPG: 86FF A285 1AA1 EE40 D228 7C2E 71A9 25BB 1E68 54A2 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkl93NIACgkQcaklux5oVKJl/ACfd260NpQQGGE69hsFRPfNoNt8 Db4Anjf5NRbI6/8Dt0Ux4eZ1WC7etxZM =9vi7 -----END PGP SIGNATURE-----
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 doesn't expand with single quotes, only double: User-Name := "%{1}" With single quotes %{1} is treated as an ordinary string. Is that how things should be? Ivan Kalik Kalik Informatika ISP
participants (3)
-
Arran Cudbard-Bell -
tech.subscriptions@shepherdhill.biz -
tnt@kalik.net