From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: Kumar, Virendra <Virendra.Kumar@guycarp.com>
To: pgsql-general@postgresql.org <pgsql-general@postgresql.org>
Subject: Re: LDAP Bind Password
Date: Wed, 4 Apr 2018 20:40:58 -0400
Message-ID: <bf7fe692-41ea-6241-b9a5-20582b76b0a6@2ndquadrant.com> (raw)
In-Reply-To: <b2fc2cad945949b096dc8f3c5bc4224f@USFKL11XG20CN01.mercer.com>
References: <b2fc2cad945949b096dc8f3c5bc4224f@USFKL11XG20CN01.mercer.com>
On 4/3/18 16:12, Kumar, Virendra wrote:
> Is anybody aware of how to encrypt bind password for ldap authentication
> in pg_hba.conf. Anonymous bind is disabled in our organization so we
> have to use bind ID and password but to keep them as plaintext in
> pg_hba.conf defeat security purposes. We want to either encrypt it or
> authenticate without binding. Any insights into this is appreciated.
You can use the "simple bind" method that is described in the
documentation. That one doesn't involve a second bind step.
--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
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-general@postgresql.org
Cc: peter.eisentraut@2ndquadrant.com, Virendra.Kumar@guycarp.com
Subject: Re: LDAP Bind Password
In-Reply-To: <bf7fe692-41ea-6241-b9a5-20582b76b0a6@2ndquadrant.com>
References: <b2fc2cad945949b096dc8f3c5bc4224f@USFKL11XG20CN01.mercer.com> <bf7fe692-41ea-6241-b9a5-20582b76b0a6@2ndquadrant.com>
* 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