2.x.x regression: custom SQL queries

Arran Cudbard-Bell a.cudbardb at freeradius.org
Fri Jul 5 14:49:31 CEST 2013


On 5 Jul 2013, at 13:42, Arran Cudbard-Bell <a.cudbardb at freeradius.org> wrote:

> 
> On 5 Jul 2013, at 08:00, Stefan Winter <stefan.winter at restena.lu> wrote:
> 
>> Hi again,
>> 
>> uh, more things seem not to be in order in 2.x.x at the moment. With 
>> yesterday's checkout, I notice that %md5 doesn't exist?
>> 
>>> grep md5 konsoleXxx.txt
>> 
>> Fri Jul  5 08:41:31 2013 : Info: WARNING: Unknown module "md5" in string expansion "%"
>> Fri Jul  5 08:41:32 2013 : Info: WARNING: Unknown module "md5" in string expansion "%%{md5:%rand:1000000%Y%m%d%h%M%S}%{md5:%rand:1000000%Y%m%d%h%M%S}"
>> Fri Jul  5 08:41:35 2013 : Info: WARNING: Unknown module "md5" in string expansion "%"
>> Fri Jul  5 08:41:40 2013 : Info: WARNING: Unknown module "md5" in string expansion "%%{md5:%rand:1000000%Y%m%d%h%M%S}%{md5:%rand:1000000%Y%m%d%h%M%S}"
>> Fri Jul  5 08:41:41 2013 : Info: WARNING: Unknown module "md5" in string expansion "%"
>> Fri Jul  5 08:41:43 2013 : Info: WARNING: Unknown module "md5" in string expansion "%"
>> Fri Jul  5 08:41:43 2013 : Info: WARNING: Unknown module "md5" in string expansion "%"
> 
> 
> Is rlm_expr listed in instantiate?

Also:

%{md5:%rand:1000000%Y%m%d%h%M%S}%{md5:%rand:1000000%Y%m%d%h%M%S}

Is wrong. It should be:

%{md5:%{rand:1000000}%Y%m%d%h%M%S}%{md5:%{rand:1000000}%Y%m%d%h%M%S}

Arran Cudbard-Bell <a.cudbardb at freeradius.org>
FreeRADIUS Development Team



More information about the Freeradius-Devel mailing list