Re: LDAP for postgres - Mailing list pgsql-admin

From Stephen Frost
Subject Re: LDAP for postgres
Date
Msg-id 20180207211848.GV2416@tamriel.snowman.net
Whole thread Raw
In response to Re: LDAP for postgres  (John Scalia <jayknowsunix@gmail.com>)
List pgsql-admin
Greetings,

Please don't top-post.  I'd also suggest not cross-posting.

* John Scalia (jayknowsunix@gmail.com) wrote:
> You’ll need to setup your pg_hba.conf file for LDAP. There are several different ways to do this, but a lot depends
onhow your LDAP server is setup. It’s impossible to really accurately say what you’ll need in that file. 

If you are working in an Active Directory environment, you should really
be using Kerberos/GSSAPI, not LDAP.  This is done by specifying 'gssapi'
in your pg_hba.conf.

Using LDAP for auth isn't secure and isn't necessary in an Active
Directory environment.  If you are running an LDAP-only environment then
you should really be considering deployment of a proper authentication
system, such as MIT Kerberos or Heimdal Kerberos.

Thanks!

Stephen

Attachment

pgsql-admin by date:

Previous
From: John Scalia
Date:
Subject: Re: LDAP for postgres
Next
From: "dbyzaa@163.com"
Date:
Subject: great difference between the query execution time and the log record time