Received: from mail.postgresql.org (webmail.postgresql.org [216.126.85.28]) by mail.postgresql.org (8.11.1/8.11.1) with SMTP id f0R0vWq69444 for ; Fri, 26 Jan 2001 19:57:32 -0500 (EST) (envelope-from pgsql-admin-owner@postgresql.org) Received: from ouessant.trusted-logic.fr (c2fa9605.adsl.oleane.fr [194.250.150.5]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id f0PHM7q75641 for ; Thu, 25 Jan 2001 12:22:07 -0500 (EST) (envelope-from cedric.mesnil@trusted-logic.fr) Received: from trusted-logic.fr (IDENT:cedric@tatihou.trusted-logic.fr [192.168.1.7]) by ouessant.trusted-logic.fr (8.9.3/8.9.3) with ESMTP id SAA26087 for ; Thu, 25 Jan 2001 18:22:04 +0100 Message-ID: <3A706F2D.4A912000@trusted-logic.fr> Date: Thu, 25 Jan 2001 19:23:41 +0100 From: =?iso-8859-1?Q?C=E9dric?= Mesnil Reply-To: cedric.mesnil@trusted-logic.fr, pgsql-admin@postgresql.org X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.12-21 i686) X-Accept-Language: en MIME-Version: 1.0 To: pgsql-admin@postgresql.org Subject: hba_conf: only first line is checked Content-Type: multipart/mixed; boundary="------------583D57B3B582803425AA4825" X-Archive-Number: 200101/165 X-Sequence-Number: 542 This is a multi-part message in MIME format. --------------583D57B3B582803425AA4825 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 --------------583D57B3B582803425AA4825 Content-Type: text/x-vcard; charset=us-ascii; name="cedric.mesnil.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Cédric Mesnil Content-Disposition: attachment; filename="cedric.mesnil.vcf" begin:vcard n:Mesnil;Cedric tel;cell:+33 6 84 30 17 04 tel;fax:+33 1 30 97 25 19 tel;work:+33 1 30 97 25 05 x-mozilla-html:TRUE org:Trusted Logic S.A. adr:;;5, rue du Bailliage;Versailles;;78000;FRANCE version:2.1 email;internet:Cedric.Mesnil@trusted-logic.fr x-mozilla-cpt:;-9504 fn:Cedric Mesnil end:vcard --------------583D57B3B582803425AA4825--