rlm_ldap.c

Alan DeKok aland at deployingradius.com
Tue Feb 5 10:36:47 CET 2008


Kevin J wrote:
> In ldap.c:2660, there is a condition check to see if vals_idx is zero
> 
> 2660                                if (!vals_idx){
> 2661                                        pairdelete(pairs,
> newpair->attribute);
> 2662                                }
> 2663                                pairadd(&pairlist, newpair);
> 
> 
> this code line makes Radius not appending any reply attribute if the
> number of attribute is greater than 1. any thought in why we need this here?

  No... it deletes all existing attributes of that type the first time
through the loop.

  Alan DeKok.



More information about the Freeradius-Users mailing list