pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Cédric Mesnil <cedric.mesnil@trusted-logic.fr>
To: pgsql-admin@postgresql.org
Subject: hba_conf: only first line is checked
Date: Thu, 25 Jan 2001 19:23:41 +0100
Message-ID: <3A706F2D.4A912000@trusted-logic.fr> (raw)

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

Attachments:

cedric.mesnil.vcf (text/x-vcard, 308B) download 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

view thread (2+ messages)  latest in thread

Message-ID: <3A706F2D.4A912000@trusted-logic.fr>
Permalink:  ../3A706F2D.4A912000@trusted-logic.fr/
Also on:    postgresql.org/message-id/3A706F2D.4A912000@trusted-logic.fr

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: cedric.mesnil@trusted-logic.fr
  Subject: Re: hba_conf: only first line is checked
  In-Reply-To: <3A706F2D.4A912000@trusted-logic.fr>
  References: <3A706F2D.4A912000@trusted-logic.fr>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox