Ana Gallardo wrote: > Hello, I'm using Debian and Freeradius 2.0.4-3 > > I want to use the hints file to add an attribute named Intentos-Reject. > I would like to use only one DEFAULT entry to match with @domain.es > and with @temp.domain.es
Don't use "hints" for that. > If I use this DEFAULT entry the request don't match: > > #/etc/freeradius/hints > > DEFAULT Suffix =~ "@(temp\.)?domain.es$", > Strip-User-Name = Yes > Intentos-Reject = ... The Suffix attribute matches a suffix, not a regular expression. Use "unlang" for this kind of matching. See "man unlang" Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html