14 Nov
2007
14 Nov
'07
9:24 a.m.
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.