hints and non-DEFAULT entries

Alan DeKok aland at deployingradius.com
Wed Nov 14 15:24:16 CET 2007


Stefan Winter wrote:
> Instead, this line matched all incoming usernames, just as if there was 
> DEFAULT instead of theguy at the beginning of the line. I.e. it attached the 
> attribute to *everyone* coming in from that IP.

  Yup.  rlm_preprocess doesn't check the name.  Oops.

> I changed the entry to match with DEFAULT User-Name == "theguy", which worked. 
> I suggest to add documentation to hints that the usual "users" way of adding 
> entries with the user name at the beginning of the line doesn't work.

  Or, fixing the code.

  Alan DeKok.



More information about the Freeradius-Users mailing list