pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: Tang, Ronald K CIV FNMOC, N6 <ronald.k.tang@navy.mil>
To: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Re: Postgres user authentication with secure LDAP
Date: Thu, 10 Aug 2017 23:04:48 -0400
Message-ID: <aa8d6819-77b8-b712-0056-66420b9328ed@2ndquadrant.com> (raw)
In-Reply-To: <DBF3E054DB2B404ABFD101589632D6521E02E0E7@NAWEMUGUXM02V.nadsuswe.nads.navy.mil>
References: <DBF3E054DB2B404ABFD101589632D6521E02E0E7@NAWEMUGUXM02V.nadsuswe.nads.navy.mil>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>

On 8/10/17 17:02, Tang, Ronald K CIV FNMOC, N6 wrote:
> I am trying to configure my Postgres server to use LDAP for authentication. My pg_hba.conf config line is:
> 
> ldap ldapserver=ldaps://myldaps.company.com ldapport=636 ldaptls=1  ldapprefix="uid=" ldapsuffix=",ou=People,o=my.company.com"

The ldapserver= attribute takes a host name, not a URL.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


-- 
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin



view thread (8+ messages)  latest in thread

Message-ID: <aa8d6819-77b8-b712-0056-66420b9328ed@2ndquadrant.com>
Permalink:  ../aa8d6819-77b8-b712-0056-66420b9328ed@2ndquadrant.com/
Also on:    postgresql.org/message-id/aa8d6819-77b8-b712-0056-66420b9328ed@2ndquadrant.com

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: peter.eisentraut@2ndquadrant.com, ronald.k.tang@navy.mil
  Subject: Re: Postgres user authentication with secure LDAP
  In-Reply-To: <aa8d6819-77b8-b712-0056-66420b9328ed@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