Ldap query in FR3

Phil Mayers p.mayers at imperial.ac.uk
Tue Jul 23 18:52:30 CEST 2013


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".


More information about the Freeradius-Users mailing list