Unix Technical Forum

Re: Authentication problem

This is a discussion on Re: Authentication problem within the pgsql Novice forums, part of the PostgreSQL category; --> I'm sure it's using that pg_hba.conf, although I don't see anything in the log file that indicates the file ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Novice

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-17-2008, 08:43 PM
Walker, Jed S
 
Posts: n/a
Default Re: Authentication problem

I'm sure it's using that pg_hba.conf, although I don't see anything in the
log file that indicates the file it is actually using. I shut the postmaster
down, modified it, and started the postmaster.

I tried using 'trust' and the clients are able to connect. Could it be a
case-sensitivity problem with the database name (seeing as it's all caps)?



-----Original Message-----
From: Tom Lane [mailto:tgl@sss.pgh.pa.us]
Sent: Monday, April 18, 2005 1:45 PM
To: Walker, Jed S
Cc: 'pgsql-novice@postgresql.org'
Subject: Re: [NOVICE] Authentication problem

"Walker, Jed S" <Jed_Walker@cable.comcast.com> writes:
> I have the postgresql.conf listen_addresses='*'
> and in pg_hba.conf I have
> host VRNJED all 2.30.0.0 255.255.0.0 md5


That looks fine ...

> I have three clients on Windows PCs each on a different subnet
> (2.30.50, 2.30.190, 2.30.31). One of them connects just fine, the
> password is asked for and the logon succeeds, but the other two get


> C:\dev\PostgreSQL>psql -h robux -d VRNJED -U vrngui
> psql: FATAL: password authentication failed for user "vrngui"


> I'm not sure why these two fail when the others work.


Odd. One possibility is that the postmaster isn't using the pg_hba.conf
file you think it is (did you signal it to reload its configuration, or else
stop and restart it, after editing the file?). Another idea that comes to
mind is some sort of packet filtering at the network or OS level ... though
I'm not sure how packet filtering could cause this particular error message.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-17-2008, 08:43 PM
Tom Lane
 
Posts: n/a
Default Re: Authentication problem

"Walker, Jed S" <Jed_Walker@cable.comcast.com> writes:
> I tried using 'trust' and the clients are able to connect. Could it be a
> case-sensitivity problem with the database name (seeing as it's all caps)?


Maybe. You didn't show us what other entries are in your pg_hba file.
If the line you showed us failed to match for some reason, what would
it fall through to using?

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 10:05 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com