diff options
| author | Magnus Hagander <magnus@hagander.net> | 2011-03-19 18:44:35 +0100 |
|---|---|---|
| committer | Magnus Hagander <magnus@hagander.net> | 2011-03-19 18:44:35 +0100 |
| commit | 6f9192df61e183826211ad2eaf325c6de5cf3656 (patch) | |
| tree | 98fc926f92e7073432cc813c1a69646be6301bb9 /src/include/libpq | |
| parent | 4a0014806d909bbb490f568af0b8f1ede06149ed (diff) | |
| download | postgresql-6f9192df61e183826211ad2eaf325c6de5cf3656.tar.gz | |
Rename ident authentication over local connections to peer
This removes an overloading of two authentication options where
one is very secure (peer) and one is often insecure (ident). Peer
is also the name used in libpq from 9.1 to specify the same type
of authentication.
Also make initdb select peer for local connections when ident is
chosen, and ident for TCP connections when peer is chosen.
ident keyword in pg_hba.conf is still accepted and maps to peer
authentication.
Diffstat (limited to 'src/include/libpq')
| -rw-r--r-- | src/include/libpq/hba.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/libpq/hba.h b/src/include/libpq/hba.h index aa60d8d4f1..b92dc0d3a4 100644 --- a/src/include/libpq/hba.h +++ b/src/include/libpq/hba.h @@ -29,7 +29,8 @@ typedef enum UserAuth uaPAM, uaLDAP, uaCert, - uaRADIUS + uaRADIUS, + uaPeer } UserAuth; typedef enum IPCompareMethod |
