From: Stephen Frost <sfrost@snowman.net>
To: Zachary Hanson-Hart <zachhh@temple.edu>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: streaming replication authentication
Date: Fri, 22 Feb 2019 18:09:53 -0500
Message-ID: <20190222230953.GC6197@tamriel.snowman.net> (raw)
In-Reply-To: <CAF-2CQGv7r01Kx19CNTJM2MArD3jHcUbW7t2Wu6KzpUwX+cRoQ@mail.gmail.com>
References: <CAF-2CQGv7r01Kx19CNTJM2MArD3jHcUbW7t2Wu6KzpUwX+cRoQ@mail.gmail.com>
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 the
> 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.
>
> 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
Attachments:
signature.asc (application/pgp-signature, 818B) download
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, zachhh@temple.edu
Subject: Re: streaming replication authentication
In-Reply-To: <20190222230953.GC6197@tamriel.snowman.net>
References: <CAF-2CQGv7r01Kx19CNTJM2MArD3jHcUbW7t2Wu6KzpUwX+cRoQ@mail.gmail.com> <20190222230953.GC6197@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