Using Active Directory for Authentication can be done (check archives of this list it's, been covered). Honestly outside of what has already been covered in other posts, I don't think I have much to add. Most of what you need to do is external to Postgres (such as determining your ldap search criteria and verifying connection details). Once you have all of that, updating the pg_hba.conf file is straight forward.