Installed openldap from here
https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-a-basic-ldap-server-on-an-ubuntu-12-04-vps
root@srv013:/etc/pam.d# diff common-password common-password.bak
26c26
< password [success=1 user_unknown=ignore default=die] pam_ldap.so try_first_pass
---
> password [success=1 user_unknown=ignore default=die] pam_ldap.so use_authtok try_first_pass