host all all 10.10.117.43/32 ldap ldapserver=10.10.117.43 ldapbasedn="ou=People,dc=internal,dc=com" ldapbinddn="cn=Tom,ou=People,dc=internal,dc=com" ldapbindpasswd="Test123#" ldapport=389
Can any one please guide me what is the issue with my ldap authentication on Postgresql 10.10. Here is the Entry for ldap in pg_hba.conf file
host all all XX.XX.XXX.XX/32 ldap ldapserver=XX.XX.XXX.XX ldapbasedn="ou=People,dc=internal,dc=com" ldapbinddn="cn=Tom,ou=People,dc=internal,dc=com" ldapbindpasswd="Test123#" ldapport=389
I created the same user "Tom" in the Postgres database too . Also created the User "Tom" other user "svc-ldap" in active directory too.
When I am trying to connect to PostgreSQL server from other remote server, the authentication is failing with
psql: FATAL: no pg_hba.conf entry for host "XXX.XX.XXX.XXX", user "Tom", database "Tom", SSL off
Just by counting the placeholders, we know that XX.XX.XXX.XX cannot be the same thing as XXX.XX.XXX.XXX.