Re: Patch to include PAM support... - Mailing list pgsql-patches

From Tom Lane
Subject Re: Patch to include PAM support...
Date
Msg-id 13156.992372854@sss.pgh.pa.us
Whole thread Raw
In response to Re: Patch to include PAM support...  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: Patch to include PAM support...  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-patches
Peter Eisentraut <peter_e@gmx.net> writes:
> ... More importantly, though, if the PAM configuration requires
> more than one password (perhaps the password is due to be changed), this
> implementation will fail (to authenticate).

I *think* that the FE protocol will support more than one round of
password challenge, although given the lack of any way for the PAM
module to direct what prompt is given, that is unlikely to work
pleasantly.

The larger issue is how a PAM auth method of unknown characteristics
is going to fit into our existing FE/BE protocol.  It would seem to me
that a protocol extension will be required.  Lying to the frontend about
what is happening is very unlikely to prove workable in the long run.
What if the selected PAM auth method requires the client side to respond
in some special way?

            regards, tom lane

pgsql-patches by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Patch to include PAM support...
Next
From: "Dominic J. Eidson"
Date:
Subject: Re: Patch to include PAM support...