aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--modules/postgresql/templates/pg_hba.conf2
-rw-r--r--modules/postgresql/templates/pg_ident.conf2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/postgresql/templates/pg_hba.conf b/modules/postgresql/templates/pg_hba.conf
index 1ad0ec41..f2896f30 100644
--- a/modules/postgresql/templates/pg_hba.conf
+++ b/modules/postgresql/templates/pg_hba.conf
@@ -89,7 +89,7 @@ host transifex transifex 212.85.158.146/32 md5
host transifex transifex 2a02:2178:2:7::2/128 md5
# "local" is for Unix domain socket connections only
-local all all ident
+local all all ident map=local
# IPv4 local connections:
host all all 127.0.0.1/32 pam
# IPv6 local connections:
diff --git a/modules/postgresql/templates/pg_ident.conf b/modules/postgresql/templates/pg_ident.conf
index d2ed717f..e1adda10 100644
--- a/modules/postgresql/templates/pg_ident.conf
+++ b/modules/postgresql/templates/pg_ident.conf
@@ -40,4 +40,4 @@
# ----------------------------------
# MAPNAME SYSTEM-USERNAME PG-USERNAME
-any root postgres
+local root postgres