Handle both libpam_ldap and libpam_ldapd
Fetch username, password and baseDN automatically