Adding model to NIC table
[invirt/packages/invirt-database.git] / pg_hba.conf.mako
index ea5fde5..09a87dc 100644 (file)
 # (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
-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