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 1gxJx8-0005sV-Uk for pgsql-general@arkaria.postgresql.org; Fri, 22 Feb 2019 23:09:59 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gxJx7-0008Mm-Mx for pgsql-general@arkaria.postgresql.org; Fri, 22 Feb 2019 23:09:57 +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 1gxJx7-0008Bn-AI for pgsql-general@lists.postgresql.org; Fri, 22 Feb 2019 23:09:57 +0000 Received: from tamriel.snowman.net ([96.255.250.162]) by makus.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gxJx4-0000EF-GW for pgsql-general@lists.postgresql.org; Fri, 22 Feb 2019 23:09:55 +0000 Received: by tamriel.snowman.net (Postfix, from userid 1000) id DF9655F79E; Fri, 22 Feb 2019 18:09:53 -0500 (EST) Date: Fri, 22 Feb 2019 18:09:53 -0500 From: Stephen Frost To: Zachary Hanson-Hart Cc: pgsql-general@lists.postgresql.org Subject: Re: streaming replication authentication Message-ID: <20190222230953.GC6197@tamriel.snowman.net> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="4OxkfA0LVqADv3Vx" 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 --4OxkfA0LVqADv3Vx Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Greetings, * Zachary Hanson-Hart (zachhh@temple.edu) wrote: > I know that the requirement for replication is that a user be allowed = to > connect to the "replication" database. My question is how to configure t= he > streaming replication client to use a particular authentication method. I > haven't been able to find examples of streaming replication using any > authentication other than trust or md5. >=20 > Specifically, I'm interested in using kerberos (via gssapi) with a keytab. > I'm able to authenticate from the command line with gss after doing kinit, > but that's not practical for replication. Can gss authentication be used > in replication? Yes, GSS auth can be used in replication. Why do you think it's not practical...? > FWIW, I'm using RedHat 7's version of Postgresql 9.2. PG 9.2 is no longer supported by this community, I strongly encourage you to upgrade to a supported version. Thanks! Stephen --4OxkfA0LVqADv3Vx Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJccIFBAAoJEO1sijiDR2RV+nEP/0Ej//W9fh8gx6A7omh2kWsJ MgTzJOxAnXFX68y37osABartUOGr7xFks8uDkigBJre8IqynAooM6NzJXrZitN0A 6Lh2ZvE/8njawkqhqFVEaciRUUlloNYPBJjvi9XsX6UgCaC1TefibdYvNFbkxr0C 3v8+l0jhR3Vi9hx9bSsxY+4l7FmcQzV+dQ00SfiowYCyZITTTZxaQXsc8TjcsuvT c+fV9k+o+m3/0OlTHjySiOI4PeT+Ozr++6zxXo/9XsY+yhPGBc0yj8dwPDdGlps3 vJNCliogxeIoh1Kee7/nY7UmJjAnW0FG9EIwdm+nXl62F9rbUodwhlCN6YmEQ3CM +ADACt9BXHzVtTnv5xBCeyRKUAl/JOwFZOvX9i+zhJRMZBzIPv8lWQRGDGoC+sZk oiRqi0ACXIxZcDmAjqH4L+IJLr/yQdFy11aH6gQWjte83xURoHaFW8OAWFj6GiDc 8nErbRW7fWePAAARTuZoUG24MYsPv7VbeOLDYKi9S/nM9xDDj0Efyx8w7YQzpwbk 6spPkXA309hZnCKYPoSUEPEokd1uahzG8wjBJU1BW+x6vNFgsN9SvTp5eXNrkUFX LStYcQkfK8+3X3lzAW8tfPlrpgCIXpytud4yc0eMyUQaodzXV9F7BeUYk7PfVIcG /gT1DoZ+DB6hKEz3IODu =GJYY -----END PGP SIGNATURE----- --4OxkfA0LVqADv3Vx--