User-Name - Reg Expr - auth-type accept

Nicolas Baradakis nbk at sitadelle.com
Tue Aug 16 17:50:49 CEST 2005


Michael Poser wrote:

> The regular expression match with the Mac-Address, but 4 lines behind it,
> the log says: "auth: No authenticate method (Auth-Type) configuration found
> for the request:" I am confused, in the users file is the statement
> "Auth-Type := Accept,". What is wrong?

All the check items should be on the first line.

--8<--
DEFAULT User-Name =~ "^([0-9a-fA-F]){6}-([0-9a-fA-F]{6})$", Auth-Type := Accept
	Reply-Message = "Hallo Regulaerer Ausdruck `%{User-Name}`"
--8<--

-- 
Nicolas Baradakis




More information about the Freeradius-Users mailing list