[Openvpn-devel] [PATCH] Allow auth plugins not to be invoked if other auth plugins fail

2024-11-06 Thread Michael Clarke
The current authentication process loops through all plugins, invoking them each in turn, then returning a combined result from each invocation. This causes a challenge if multiple plugins are configured and a later plugin should only be executed if an earlier plugin succeeds - such as sending a Mu

Re: [Openvpn-devel] [PATCH] Allow auth plugins not to be invoked if other auth plugins fail

2024-11-06 Thread Michael Clarke
Hi, Thanks for the feedback. I should have made it clear that this was a request for comment about the concept. Whilst the functionality works for the setup I've tested with, I've not reviewed cases of admin or auth-user-pass-verify scripts so there are potential gaps I'll need to go back and fil