Revision 10123
Added by Aaron Marcuse-Kubitza over 11 years ago
schemas/pg_hba.Mac.conf | ||
---|---|---|
79 | 79 |
|
80 | 80 |
|
81 | 81 |
# Database administrative login by UNIX sockets |
82 |
local all _postgres ident
|
|
83 |
host all _postgres 127.0.0.1/32 md5
|
|
84 |
host all _postgres ::1/128 md5
|
|
82 |
local all postgres ident map=postgres
|
|
83 |
host all postgres 127.0.0.1/32 md5
|
|
84 |
host all postgres ::1/128 md5
|
|
85 | 85 |
|
86 | 86 |
# TYPE DATABASE USER ADDRESS METHOD |
87 | 87 |
|
... | ... | |
93 | 93 |
#host all all ::1/128 trust |
94 | 94 |
# Allow replication connections from localhost, by a user with the |
95 | 95 |
# replication privilege. |
96 |
#local replication _postgres trust
|
|
97 |
#host replication _postgres 127.0.0.1/32 trust
|
|
98 |
#host replication _postgres ::1/128 trust
|
|
96 |
#local replication postgres trust
|
|
97 |
#host replication postgres 127.0.0.1/32 trust
|
|
98 |
#host replication postgres ::1/128 trust
|
|
99 | 99 |
|
100 | 100 |
local template1,vegbien public_ trust |
101 | 101 |
host template1,vegbien public_ 0.0.0.0/0 trust |
102 | 102 |
host template1,vegbien public_ ::/0 trust |
103 | 103 |
|
104 |
local all +bien ident |
|
104 |
local all +bien ident map=postgres
|
|
105 | 105 |
local all +bien md5 |
106 | 106 |
host all +bien 0.0.0.0/0 md5 |
107 | 107 |
host all +bien ::/0 md5 |
Also available in: Unified diff
bugfix: schemas/pg_hba.Mac.conf: use new postgres ident map instead of changing user to _postgres, because the DB user is still named postgres