They told me:
Insted of writing (and having to deply) your own client plugin you probably can reuse the cleartext client side plugin, specially because it’s available in a number of mysql clients already. Check sql-common/client.c on MySQL 5.5+ for details.
This is very useful because you only need to put the plugin in server side, and in the client side you only need to check if the clear password plugin is enabled.
Now, I present the updated code with the only server side plugin, and I reused the cleartext client side plugin from MySql, it’s more short and very focused in LDAP authentication:
/* Author: Ignacio Ocampo …[Read more]