Change configuratin file for PostgreSQL to be valid in both SL5 and SL6.
authorFrantišek Dvořák <valtri@civ.zcu.cz>
Wed, 23 Nov 2011 01:31:16 +0000 (01:31 +0000)
committerFrantišek Dvořák <valtri@civ.zcu.cz>
Wed, 23 Nov 2011 01:31:16 +0000 (01:31 +0000)
org.glite.testsuites.ctb/LB/tests/lb-common-testbeds.sh

index 5e41061..eef2c81 100755 (executable)
@@ -50,8 +50,8 @@ yum install -q -y bc
 mv /var/lib/pgsql/data/pg_hba.conf /var/lib/pgsql/data/pg_hba.conf.orig
 cat >/var/lib/pgsql/data/pg_hba.conf <<EOF
 local all all trust
-host all all 127.0.0.1 ident sameuser
-host all all ::1/128 ident sameuser
+host all all 127.0.0.1/32 ident
+host all all ::1/128 ident
 EOF
 /etc/init.d/postgresql reload
 createuser -U postgres -S -R -D rtm