Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gybmc-0001oH-PI for pgsql-general@arkaria.postgresql.org; Tue, 26 Feb 2019 12:24:26 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gybmb-00009E-8K for pgsql-general@arkaria.postgresql.org; Tue, 26 Feb 2019 12:24:25 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gybma-0008Vf-SK for pgsql-general@lists.postgresql.org; Tue, 26 Feb 2019 12:24:25 +0000 Received: from tamriel.snowman.net ([2001:470:e38f::11]) by makus.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gybmY-0003EB-Ed for pgsql-general@postgresql.org; Tue, 26 Feb 2019 12:24:23 +0000 Received: by tamriel.snowman.net (Postfix, from userid 1000) id 1E0145F79E; Tue, 26 Feb 2019 07:24:22 -0500 (EST) Date: Tue, 26 Feb 2019 07:24:21 -0500 From: Stephen Frost To: Mike Yeap Cc: Thomas Munro , Tom Lane , Laurenz Albe , pgsql-general@postgresql.org Subject: Re: LDAP authenticated session terminated by signal 11: Segmentation fault, PostgresSQL server terminates other active server processes Message-ID: <20190226122421.GM6197@tamriel.snowman.net> References: <82aa3583d44584fa3d3a3761e8df1fa48d68d8e2.camel@cybertec.at> <2280.1550672218@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="9nNJoMgwsgIbRE0A" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --9nNJoMgwsgIbRE0A Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 --9nNJoMgwsgIbRE0A Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJcdS/1AAoJEO1sijiDR2RVHAUP/2xYfAqE0BVPCXnEhSZ1iQEl V2e8L+3St1dRDWRxbjqZQvTbWa6RmOndNtUsVSsrEu7/LUIXzYZMb0CML4C8zDRS pji4vdDT1BNpTMTsabj4N2IBoQPn4zUztTGO7Ib/xY4ViwWfKnFZ8A3mNneB7iW+ 29Ps7fTUHkKX1cQkl1Dum7YeDy80aNh9TUAszEOuX+Dj4Nt1nz9eY6Ct6DGDPFR1 fssJZAnXgWJ/ALZ5DS97zaUu297L0zO3LlzbyDScHs/BrKlBWDV+hQEI8RCjBD87 nxq9GLZ+DJMYgRvthV/JZLbhErb7054N6J/RvoE2+Y45bokFcK+OeIfcIjxev+Nc hLE+meRHA5n4qUvbqppk/ClOBgkO769vk+fe8UBffrzd7w9i9nwsguis1xyQytPz En5J1WmMxuMMGG6xJbM4lYt6D++8MByLjjqJ3JxK7q+gox58mNFzqz4EfXtM6wzz WGqiihmLIRevorJE2Hi8SKtPUgg3NHtaUqLanJEKhk1hFtyY+OKhvPB+oqtpJHFL M93y/OFOgpy13MrSW0dDYIgwlRAF/4zC2h04lZcEEcTVBfq4mq/wnaAwJ2m0CYzn j5hQW3dwRvAyXy1SimDmV2kPoCNCQo+OLUMxON+Uxecflnf6JMRNK+1kdBy3/chJ cBxgYOp57Svu9WzPCJWD =aoQU -----END PGP SIGNATURE----- --9nNJoMgwsgIbRE0A--