I configured the pg_hba.conf of Postgresql 10 with following

host Tom Tom XXX.XX.XXX.XX/32 ldap ldapserver=XX.XX.XXX.XX ldap ldapbasedn="ou=People,dc=example,dc=com" ldapbinddn="cn=Tom,ou=People,dc=example,dc=com" ldapbindpasswd="Test123#" ldapport=389

And then I restarted the postgresql 10 and when I am trying to connect to Postgresql from another box with Active Directory credentails, I am getting the above message.

I created the ldap account and 1 user account in Active Directory and also created the same User Account in the Postgresql database.

Can any one guide me where I am doing wrong.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.