From 77ada978aa4a397c843c5b95062475c48282b12b Mon Sep 17 00:00:00 2001 From: Adam Glasgall Date: Tue, 7 May 2013 19:05:29 -0400 Subject: [PATCH] update config for pg 8.4 --- debian/changelog | 6 ++++++ pg_hba.conf.mako | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index db959cc..0e00b42 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +invirt-database (0.2.8~glasgall15) precise; urgency=low + + * sameuser is now the default for ident auth. + + -- Adam Glasgall Tue, 07 May 2013 19:05:01 -0400 + invirt-database (0.2.8~glasgall14) precise; urgency=low * Fix a reference I missed. diff --git a/pg_hba.conf.mako b/pg_hba.conf.mako index c79e124..09a87dc 100644 --- a/pg_hba.conf.mako +++ b/pg_hba.conf.mako @@ -72,12 +72,12 @@ # (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 +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 -- 1.7.9.5