pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stephen Frost <sfrost@snowman.net>
To: Mike Yeap <wkk1020@gmail.com>
Cc: Thomas Munro <thomas.munro@gmail.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Laurenz Albe <laurenz.albe@cybertec.at>
Cc: pgsql-general@postgresql.org
Subject: Re: LDAP authenticated session terminated by signal 11: Segmentation fault, PostgresSQL server terminates other active server processes
Date: Tue, 26 Feb 2019 07:24:21 -0500
Message-ID: <20190226122421.GM6197@tamriel.snowman.net> (raw)
In-Reply-To: <CAMVYW_5wCrPb-zroQftV9_gF5ebqjjNyszBT1qodZnb-29fBFw@mail.gmail.com>
References: <CAMVYW_6Ee-cYdpZ++VLnab_-3hmcorOA_kmBtsnw2R+n0nVxMw@mail.gmail.com>
	<82aa3583d44584fa3d3a3761e8df1fa48d68d8e2.camel@cybertec.at>
	<2280.1550672218@sss.pgh.pa.us>
	<CAMVYW_6XyjFM1JCg3Rs32ocFZf_zHqhyxQcnx8mrFsnxDm-1uA@mail.gmail.com>
	<CA+hUKG+m5XbDDUNQwZB1=edGdrmm30OJHR3Dit6mMwyX-54FRg@mail.gmail.com>
	<CAMVYW_7F2=CtgDuAOjXQyOt6_h5sqyDSdJz9eBZemzSxotz86g@mail.gmail.com>
	<CA+hUKGLeWiHCwq00GbLJ0ZLfqei89L8suj1R1PGZ=niJEfaXzg@mail.gmail.com>
	<CAMVYW_5wCrPb-zroQftV9_gF5ebqjjNyszBT1qodZnb-29fBFw@mail.gmail.com>

Greetings Mike,

* Mike Yeap (wkk1020@gmail.com) wrote:
> Hi Thomas, I see..... guess I can't use LDAP authentication for now, :-(

If you're in an active directory environment, you should really be using
Kerberos for authentication and NOT LDAP anyway.  LDAP-based
authentication involves sending the user's password (cleartext) to the
PG server, which is really bad security.  Hopefully you're at least
connecting to PG with SSL, and from PG to LDAP with SSL, but you still
run the issue that a compromised server would expose the password of
everyone connecting to that server, and when you're using a centralized
authentication system like LDAP, that one password gets you access to
everything that account has access to.

Thanks!

Stephen

Attachments:

  signature.asc (application/pgp-signature, 818B) download

view thread (27+ messages)  latest in thread

Message-ID: <20190226122421.GM6197@tamriel.snowman.net>
Permalink:  ../20190226122421.GM6197@tamriel.snowman.net/
Also on:    postgresql.org/message-id/20190226122421.GM6197@tamriel.snowman.net

 · 

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 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: sfrost@snowman.net, wkk1020@gmail.com, thomas.munro@gmail.com, tgl@sss.pgh.pa.us, laurenz.albe@cybertec.at
  Subject: Re: LDAP authenticated session terminated by signal 11: Segmentation fault, PostgresSQL server terminates other active server processes
  In-Reply-To: <20190226122421.GM6197@tamriel.snowman.net>
  References: <CAMVYW_6Ee-cYdpZ++VLnab_-3hmcorOA_kmBtsnw2R+n0nVxMw@mail.gmail.com> <82aa3583d44584fa3d3a3761e8df1fa48d68d8e2.camel@cybertec.at> <2280.1550672218@sss.pgh.pa.us> <CAMVYW_6XyjFM1JCg3Rs32ocFZf_zHqhyxQcnx8mrFsnxDm-1uA@mail.gmail.com> <CA+hUKG+m5XbDDUNQwZB1=edGdrmm30OJHR3Dit6mMwyX-54FRg@mail.gmail.com> <CAMVYW_7F2=CtgDuAOjXQyOt6_h5sqyDSdJz9eBZemzSxotz86g@mail.gmail.com> <CA+hUKGLeWiHCwq00GbLJ0ZLfqei89L8suj1R1PGZ=niJEfaXzg@mail.gmail.com> <CAMVYW_5wCrPb-zroQftV9_gF5ebqjjNyszBT1qodZnb-29fBFw@mail.gmail.com> <20190226122421.GM6197@tamriel.snowman.net>

* 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