Add BSD authentication method

Enterprise / PostgreSQL - Tom Lane [sss.pgh.pa.us] - 8 April 2016 12:52 UTC

Create a "bsd" auth method that works the same as "password" so far as clients are concerned, but calls the BSD Authentication service to check the password. This is currently only available on OpenBSD.

Marisa Emerson, reviewed by Thomas Munro

34c33a1 Add BSD authentication method.
configure | 48 +++++++++++++++++++++++++++++++++++
configure.in | 14 +++++++++++
doc/src/sgml/client-auth.sgml | 45 +++++++++++++++++++++++++++++++++
doc/src/sgml/installation.sgml | 11 ++++++++
src/backend/libpq/auth.c | 54 ++++++++++++++++++++++++++++++++++++++++
src/backend/libpq/hba.c | 6 +++++
src/bin/initdb/initdb.c | 6 +++++
src/include/libpq/hba.h | 1 +
src/include/pg_config.h.in | 3 +++
src/include/pg_config.h.win32 | 3 +++
10 files changed, 191 insertions(+)

Upstream: git.postgresql.org


  • Share