Re: [Openvpn-users] DUO plugin loads/runs even if previous plugin fails

2022-03-17 Thread Gert Doering
Hi, On Fri, Jul 09, 2021 at 06:17:14PM +0100, Duarte Rocha wrote: > I'm loading the openvpn-auth-ldap.so for user validation and then > loading the duo plugin for 2FA. It works, except it has an unwanted > behaviour if a user is not on the allowed groups in LDAP the > openvpn-auth-ldap.so will fai

Re: [Openvpn-users] DUO plugin loads/runs even if previous plugin fails

2021-07-22 Thread Duarte Rocha
Any idea if we can change the plugin call behavior? On Mon, Jul 12, 2021 at 12:24 PM Duarte Rocha wrote: > > On Mon, Jul 12, 2021 at 12:17 PM Duarte Rocha wrote: > > > > > On Fri, Jul 9, 2021 at 7:35 PM Gert Doering wrote: > > > > > > Hi, > > > > > > On Fri, Jul 09, 2021 at 06:17:14PM +0100, Du

Re: [Openvpn-users] DUO plugin loads/runs even if previous plugin fails

2021-07-12 Thread Duarte Rocha
On Mon, Jul 12, 2021 at 12:17 PM Duarte Rocha wrote: > > > On Fri, Jul 9, 2021 at 7:35 PM Gert Doering wrote: > > > > Hi, > > > > On Fri, Jul 09, 2021 at 06:17:14PM +0100, Duarte Rocha wrote: > > > I'm loading the openvpn-auth-ldap.so for user validation and then > > > loading the duo plugin for

Re: [Openvpn-users] DUO plugin loads/runs even if previous plugin fails

2021-07-12 Thread Duarte Rocha
> On Fri, Jul 9, 2021 at 7:35 PM Gert Doering wrote: > > Hi, > > On Fri, Jul 09, 2021 at 06:17:14PM +0100, Duarte Rocha wrote: > > I'm loading the openvpn-auth-ldap.so for user validation and then > > loading the duo plugin for 2FA. It works, except it has an unwanted > > behaviour if a user is no

Re: [Openvpn-users] DUO plugin loads/runs even if previous plugin fails

2021-07-09 Thread Gert Doering
Hi, On Fri, Jul 09, 2021 at 06:17:14PM +0100, Duarte Rocha wrote: > I'm loading the openvpn-auth-ldap.so for user validation and then > loading the duo plugin for 2FA. It works, except it has an unwanted > behaviour if a user is not on the allowed groups in LDAP the > openvpn-auth-ldap.so will fai

[Openvpn-users] DUO plugin loads/runs even if previous plugin fails

2021-07-09 Thread Duarte Rocha
Hi, I'm loading the openvpn-auth-ldap.so for user validation and then loading the duo plugin for 2FA. It works, except it has an unwanted behaviour if a user is not on the allowed groups in LDAP the openvpn-auth-ldap.so will fail but will still trigger the push notification. Shouldn't the 2nd plug