From 1cf5c63d23290d3b22a235db7ade1c675fc3f831 Mon Sep 17 00:00:00 2001 From: Greg Price Date: Mon, 29 Dec 2008 00:04:47 -0500 Subject: [PATCH] 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 --- debian/changelog | 7 +++++++ pg_hba.conf.mako | 4 ---- 2 files changed, 7 insertions(+), 4 deletions(-) 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 -- 1.7.9.5