ldap connection status
Chitrang Srivastava
chitrang.srivastava at gmail.com
Mon Mar 25 13:41:46 CET 2013
Even with ldap_secondary I get same error
redundant {
ldap_primary
ldap_secondary
fail = 1
}
On Mon, Mar 25, 2013 at 5:57 PM, Olivier Beytrison <olivier at heliosnet.org>wrote:
> 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
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/**
> list/users.html <http://www.freeradius.org/list/users.html>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20130325/27cdfe82/attachment-0001.html>
More information about the Freeradius-Users
mailing list