From: Greg Price Date: Mon, 29 Dec 2008 05:04:47 +0000 (-0500) Subject: pg_hba.conf: remove password-auth localhost lines X-Git-Tag: invirt-database-server/0.0.9~2 X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-database.git/commitdiff_plain/1cf5c63d23290d3b22a235db7ade1c675fc3f831?ds=inline pg_hba.conf: remove password-auth localhost lines These interfere with the case where config.db.host is localhost, and we don't use passwords anyway. svn path=/trunk/packages/invirt-database-server/; revision=1942 --- diff --git a/debian/changelog b/debian/changelog index 40c7e7b..ec66821 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +invirt-database-server (0.0.8) unstable; urgency=low + + * pg_hba.conf: remove password-auth localhost lines, which interfere + with the case where config.db.host is localhost. + + -- Greg Price Mon, 29 Dec 2008 00:03:36 -0500 + invirt-database-server (0.0.7) unstable; urgency=low * Don't depend on invirt-mail-config diff --git a/pg_hba.conf.mako b/pg_hba.conf.mako index ea5fde5..c79e124 100644 --- a/pg_hba.conf.mako +++ b/pg_hba.conf.mako @@ -78,10 +78,6 @@ local all postgres ident sameuser # "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 % for m in cfg.hosts + [cfg.db, cfg.remote, cfg.console]: host ${cfg.db.dbname} ${cfg.db.user} ${m.ip}/32 trust % endfor