Hi All Sorry for what I'm sure is hopefully a simple question... Is it possible to have wildcards in a username? e.g. remote* Cleartext-Password = "password" to match remote101 and remote102 etc? Addressing is being done via DHCP pools but I need to have a few common attributes sent - I know passwords will be common but that's fine I don't want to type out 500 or so identical usernames with a three character variance ! :) Cheers Darren
On 6 Feb 2014, at 23:00, Darren Ward (darrward) <darrward@cisco.com> wrote:
Hi All
Sorry for what I’m sure is hopefully a simple question…
Is it possible to have wildcards in a username?
e.g.
remote* Cleartext-Password = “password”
to match remote101 and remote102 etc?
DEFAULT User-Name =~ '^remote', Cleartext-Password := 'password' Arran Cudbard-Bell <a.cudbardb@freeradius.org> FreeRADIUS Development Team FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2
Fantastic thank you :) -----Original Message----- From: freeradius-users-bounces+darrward=cisco.com@lists.freeradius.org [mailto:freeradius-users-bounces+darrward=cisco.com@lists.freeradius.org] On Behalf Of Arran Cudbard-Bell Sent: Friday, 7 February 2014 10:19 AM To: FreeRadius users mailing list Subject: Re: Username Wildcards? On 6 Feb 2014, at 23:00, Darren Ward (darrward) <darrward@cisco.com> wrote:
Hi All
Sorry for what I'm sure is hopefully a simple question...
Is it possible to have wildcards in a username?
e.g.
remote* Cleartext-Password = "password"
to match remote101 and remote102 etc?
DEFAULT User-Name =~ '^remote', Cleartext-Password := 'password' Arran Cudbard-Bell <a.cudbardb@freeradius.org> FreeRADIUS Development Team FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2
You could use SQL for this and change the query used to select the user/pass to a 'like' rather than = Alan
participants (4)
-
Alan Buxey -
Arran Cudbard-Bell -
Darren Ward (darrward) -
Phil Mayers