From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: k.yudhveer@gmail.com
Subject: BUG #16064: Ldap Authentication failing with pg_hba.conf entry
Date: Thu, 17 Oct 2019 17:58:50 +0000
Message-ID: <16064-9dd182cda52e2eef@postgresql.org> (raw)
The following bug has been logged on the website:
Bug reference: 16064
Logged by: Yudhveer Kandukuri
Email address: k.yudhveer@gmail.com
PostgreSQL version: 10.10
Operating system: Ubuntu 18.04
Description:
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: noreply@postgresql.org, k.yudhveer@gmail.com
Subject: Re: BUG #16064: Ldap Authentication failing with pg_hba.conf entry
In-Reply-To: <16064-9dd182cda52e2eef@postgresql.org>
References: <16064-9dd182cda52e2eef@postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox