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

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 = ...

###DEFAULT Suffix == "@domain.es"
###        Intentos-Reject = ...

###DEFAULT Suffix == "@temp.domain.es"
###        Intentos-Reject = ...


If I use this other DEFAULT entry the request match but Freeradius doesn't
add Stripped-User-Name and I can't authenticate:

DEFAULT User-Name =~ "@(temp\.)?domain.es$", Strip-User-Name = Yes
        Intentos-Reject = ...

###DEFAULT Suffix == "@domain.es"
###        Intentos-Reject = ...

###DEFAULT Suffix == "@temp.domain.es"
###        Intentos-Reject = ...

I don't know if I can use regular expressions with Suffix/Preffix atributes.

Thank you very much and sorry for my english.


-- 
____________________

 Ana Gallardo Gómez
____________________
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to