Re: [RADIATOR] If-then-else logic for AuthBy

2013-12-09 Thread Christopher Bongaarts
Thanks for the suggestions; the key hint you and Hugh gave me is that both DUO and RADIUS always return IGNORE (or REJECT in certain failure modes), never ACCEPT. What I came up with looks like a combination of your suggestions: AuthByPolicy ContinueWhileAccept AuthByPolicy

Re: [RADIATOR] If-then-else logic for AuthBy

2013-11-09 Thread Hugh Irvine
Hello again - Actually, I think Heikki’s answer is correct, due to the AuthBy DUO returning IGNORE. Its simpler too, although if the AuthBy DUO returns REJECT you’ll still call the AuthBy RADIUS. regards Hugh On 9 Nov 2013, at 10:40, Hugh Irvine wrote: > > Hello Christopher - > > What

Re: [RADIATOR] If-then-else logic for AuthBy

2013-11-08 Thread Hugh Irvine
Hello Christopher - What are the possible return values from your LDAP2 and DUO clauses? If I understand what you describe correctly you should be able to do this: AuthByPolicy ContinueWhileIgnore AuthByPolicy ContinueWhileAc

Re: [RADIATOR] If-then-else logic for AuthBy

2013-11-08 Thread Heikki Vatiainen
Hello Christopher, here's my take: AuthByPolicy ContinueWhileReject AuthByPolicy ContinueWhileAccept AuthBy LDAP2 AuthBy DUO # DUO is async, returns IGNORE, just like RADIUS AuthBy RADIUS If LDAP happens to be down or returns an error, AuthBy

Re: [RADIATOR] If-then-else logic for AuthBy

2013-11-07 Thread Christopher Bongaarts
That would seem to yield the effective logic: AuthBy LDAP2 if result = ACCEPT then AuthBy DUO if result != ACCEPT then AuthBy RADIUS endif endif which is not what I want - either DUO or RADIUS should be invoked, never both; which one is invoked is determined by the result of LDA

Re: [RADIATOR] If-then-else logic for AuthBy

2013-11-06 Thread Hugh Irvine
Hello Christopher - Something like this: AuthByPolicy ContinueWhileAccept AuthBy LDAP2 AuthByPolicy ContinueUntilAccept AuthBy DUO AuthBy RADIUS

[RADIATOR] If-then-else logic for AuthBy

2013-11-06 Thread Christopher Bongaarts
I have a need to handle multiple authentication methods which returns something like this: AuthBy LDAP2 if result = ACCEPT then AuthBy DUO else AuthBy RADIUS with the ultimate authentication result coming from either the DUO or RADIUS module. I tried to figure out a way to arrange