Ldap query in FR3

Franks Andy (RLZ) IT Systems Engineer Andy.Franks at sath.nhs.uk
Tue Jul 23 19:06:37 CEST 2013


Ah, Thanks Phil. I'll have to get out the "teach yourself C in half an
hour" book!
Maybe one of the friendly devs will have a fix..
:-)
Thanks
Andy

-----Original Message-----
From:
freeradius-users-bounces+andy.franks=sath.nhs.uk at lists.freeradius.org
[mailto:freeradius-users-bounces+andy.franks=sath.nhs.uk at lists.freeradiu
s.org] On Behalf Of Phil Mayers
Sent: 23 July 2013 17:53
To: freeradius-users at lists.freeradius.org
Subject: Re: Ldap query in FR3

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".
-
List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html


More information about the Freeradius-Users mailing list