What version is best for checking passwords, etc, for instance imap looking in the backend db, via ldap for passwd and user info, samba should be able to do the same. Is this possible and which version would be to prefer?