plugin API: allow for temporary failure
Posted: Mon Jun 30, 2014 2:02 pm
I notice in the plugin api that we can only return success and failure, not something like temporary failure (retry later).
the idea is that you want auth-retry to be none, because you don't want clients to keep retrying when they are set with wrong passwords.
however, when you need maintenance on your ldap server (with the auth-ldap) plugin, or via the verify script, and you turn off the ldap server for a few minutes, reconnects of existing tunnels will fail and exit.
i like the plugin api (and the verify script) to be able to return a 3rd state (temporary failure), which still registers as failed, but still allows the authentication to retry after some time, even if the auth-retry is off.
This allows for example: maintenance on a authentication server.
thanks in advance.
the idea is that you want auth-retry to be none, because you don't want clients to keep retrying when they are set with wrong passwords.
however, when you need maintenance on your ldap server (with the auth-ldap) plugin, or via the verify script, and you turn off the ldap server for a few minutes, reconnects of existing tunnels will fail and exit.
i like the plugin api (and the verify script) to be able to return a 3rd state (temporary failure), which still registers as failed, but still allows the authentication to retry after some time, even if the auth-retry is off.
This allows for example: maintenance on a authentication server.
thanks in advance.