hba_conf: only first line is checked

From: Cédric Mesnil <cedric(dot)mesnil(at)trusted-logic(dot)fr>
To: pgsql-admin(at)postgresql(dot)org
Subject: hba_conf: only first line is checked
Date: 2001-01-25 18:23:41
Message-ID: 3A706F2D.4A912000@trusted-logic.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi all,

My probleme is the following:
I want to allow some user to connect to my db with password authentication against
a first password file and allow other user against a second one. I ve writen the following pg_hba.conf:

host all 192.168.1.201 255.255.255.255 password passwd
host all 192.168.1.201 255.255.255.255 password passwd2

the Problem is if the user is present in the second password file, he is always rejected.
(If i comment the first line in the hba.conf, it works)

Is anyone have a solution?

Tanks a lot

Cedric

Attachment Content-Type Size
cedric.mesnil.vcf text/x-vcard 309 bytes

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message lbottorff 2001-01-25 19:00:46 pg_shadow problem
Previous Message The Hermit Hacker 2001-01-25 18:07:12 Re: Some thoughts on replication