ldap connection status

Olivier Beytrison olivier at heliosnet.org
Mon Mar 25 13:27:27 CET 2013


On 25.03.2013 13:00, Chitrang Srivastava wrote:
> I am trying to do similar but radius is giving error
>   group {
>                  redundant {
>                          ldap_primary
>                          fail = return  <-----*Entry with no value is
> invalid*
>                  }
>          if(fail){
>                  files_local
>          }
>          else {
>                  files
>          }
>          }
>
> Why this could be ?

you have only one ldap instance. you don't need the redundant block

authorize {

	#usual authorize stuff, preprocess, suffix, ect

	ldap_primary {
		fail = return
	}
         if(fail){
                 files_local
         }
         else {
                 files
         }
}

this *should* work.

Olivier
-- 
  Olivier Beytrison
  Network & Security Engineer, HES-SO Fribourg
  Mail: olivier at heliosnet.org


More information about the Freeradius-Users mailing list