For server setup, including the search + bind mode, visit http://www.postgresql.org/docs/current/static/auth-methods.html#AUTH-LDAP For client setup, visit http://www.postgresql.org/docs/current/static/libpq-ldap.html