Wildcard Login
Alan DeKok
aland at ox.org
Thu Jun 23 18:42:01 CEST 2005
"Hassan Wahid" <hassanwahid at hotmail.com> wrote:
> I was wondering if there was a way to allow wildcards for logins. For
> example, *@company.com? Rather than adding thousands of users in the users
> file. This is only for a test environment.
>
> I have looked through the users file and older archives but not come accross
> a way to do this. Any help would be greatly appreciated.
Regular expressions
DEFAULT User-Name =~ "@company\.com$", Auth-Type := Accept
It won't work for EAP, or MS-CHAP, but it will work for PAP and CHAP.
Alan DeKok.
More information about the Freeradius-Users
mailing list