projects
/
invirt/packages/invirt-database.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Adding model to NIC table
[invirt/packages/invirt-database.git]
/
pg_hba.conf.mako
diff --git
a/pg_hba.conf.mako
b/pg_hba.conf.mako
index
ea5fde5
..
09a87dc
100644
(file)
--- a/
pg_hba.conf.mako
+++ b/
pg_hba.conf.mako
@@
-72,16
+72,12
@@
# (autovacuum, daily cronjob, replication, and similar tasks).
#
# Database administrative login by UNIX sockets
# (autovacuum, daily cronjob, replication, and similar tasks).
#
# Database administrative login by UNIX sockets
-local all postgres ident sameuser
+local all postgres ident
# TYPE DATABASE USER CIDR-ADDRESS METHOD
# "local" is for Unix domain socket connections only
# TYPE DATABASE USER CIDR-ADDRESS METHOD
# "local" is for Unix domain socket connections only
-local all all ident sameuser
-# IPv4 local connections:
-host all all 127.0.0.1/32 md5
-# IPv6 local connections:
-host all all ::1/128 md5
+local all all ident
% for m in cfg.hosts + [cfg.db, cfg.remote, cfg.console]:
host ${cfg.db.dbname} ${cfg.db.user} ${m.ip}/32 trust
% endfor
% for m in cfg.hosts + [cfg.db, cfg.remote, cfg.console]:
host ${cfg.db.dbname} ${cfg.db.user} ${m.ip}/32 trust
% endfor