Changing Reply-Message for expired Password
Alan DeKok
aland at deployingradius.com
Tue Feb 26 10:00:02 CET 2008
Tim White wrote:
>>> I'm using Freeradius, with MySQL (rlm_sql) as the backend for Coova
>>> Chilli (and it's JSON interface). Unfortunately, the reply-message
>>> when the password is expired, contains a newline at the end, which
>>> breaks chilli (due to the newline being in the JSON object, which
>>> breaks).
Then Chillispot is buggy. People have been putting newlines in
Reply-Message for well over a decade.
> I've now got the sources, and it appears to be in the src that the
> problem is.
> freeradius-1.1.7/src/main/auth.c:84
> "Password Has Expired\r\n",
Yes.
> Looking the the 2.0.2 sources, I see the same problem, except I
> understand seeing as this code is in rlm_expiration now, that it can be
> overridden in config files.
> freeradius-2.0.2/src/modules/rlm_expiration/rlm_expiration.c:54
> NULL, "Password Has Expired\r\n"},
Yes.
> So from my quick look, is there no way to fix this in 1.1.7 without
> recompiling freeradius? If not, anyone know of a package for 2.0.2 for
> Ubuntu?
Download 2.0.2, and follow the instructions on the Wiki for building a
Debian package.
Alan DeKok.
More information about the Freeradius-Users
mailing list