13 LDAP queries for one authorize!

Turbo Fredriksson turbo at dagdrivarn.se
Thu Aug 23 20:54:30 CEST 2007


Quoting Phil Mayers <p.mayers at imperial.ac.uk>:

> On Wed, 2007-08-22 at 19:29 +0200, Turbo Fredriksson wrote:
>> I'm working on fine tuning my radiusd.conf file, and found that
>> I get 13 authorize request to the LDAP server for one XXX (client,
>> request, logon?!).
>
> You can reduce this somewhat by doing this:
>
> authorize {
>   preprocess
>   eap
>   files
>   Autz-Type INNER {
>     ldap
>   }
> }
>
> ...then in /etc/raddb/users:
>
> DEFAULT	FreeRadius-Proxied-To == 127.0.0.1, Autz-Type := "INNER"
>
> ...which will only run the LDAP auth for the EAP inner request. You'll
> still see two queries though for PEAP/MSCHAP

I see. I'll try that as soon as my girlfriend leaves again, I can only
fiddle with the WiFi router when she's not home :)


In the mean time, what does all this do, and why didn't my work? Will
this also solve my problem with the ldap query?



More information about the Freeradius-Users mailing list