Dieter Klünter wrote:
$ ldapwhomai -Y OTP -X dn:${user_dn}
The main problem with SASL/OTP is that clients have to implement special support for it.
There will be a talk about OATH-LDAP at LDAPcon 2015:
http://ldapcon.org/2015/?page_id=185
Similar to password/totp it also works for LDAP simple bind but with some policy parameters enforced.
Ciao, Michael.