Ldap query in FR3

Arran Cudbard-Bell a.cudbardb at freeradius.org
Tue Jul 23 19:21:45 CEST 2013


On 23 Jul 2013, at 17:52, Phil Mayers <p.mayers at imperial.ac.uk> wrote:

> On 23/07/13 17:19, Franks Andy (RLZ) IT Systems Engineer wrote:
>> This will probably be obvious, but I can’t see it!
> 
> Looks like a bug - the code here:
> 
> https://github.com/FreeRADIUS/freeradius-server/blob/master/src/modules/rlm_ldap/groups.c#L495
> 
> ...passes NULL for the "result" argument to rlm_ldap_search, which means this code:
> 
> https://github.com/FreeRADIUS/freeradius-server/blob/master/src/modules/rlm_ldap/ldap.c#L679
> 
> ...doesn't get run, so 0 results is "ok".

Nice catch. Fixed.

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



More information about the Freeradius-Users mailing list