pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedmd5 authentication fails
2+ messages / 2 participants
[nested] [flat]
* md5 authentication fails
@ 2003-02-16 23:06 Randolph Jones <jonesrf1@qwest.net>
0 siblings, 1 reply; 2+ messages in thread
From: Randolph Jones @ 2003-02-16 23:06 UTC (permalink / raw)
To: pgsql-admin
I have pg 7.3.2 running on rh8 2.4.19.
I have pg_hba.conf with line
host testt user xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx md5
I can log on as user thru psql -h xxx.xxx.xxx.xxx testt
pgsql asks for password, allows logon to testt
I have a java program using user password that gets
authentication failed for user user error
username and passwd are the same as used in psql
on another machine the java program works ok
something is not set up right on the box that is failing
I set up the good box by trial and error, hacking/stumbling around until
something worked, then stagger on to the next debacle
no clue to what the difference might be
Any suggestions greatly appreciated
TIA
rfjones
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: md5 authentication fails
@ 2003-02-17 18:54 Bruce Momjian <pgman@candle.pha.pa.us>
parent: Randolph Jones <jonesrf1@qwest.net>
0 siblings, 0 replies; 2+ messages in thread
From: Bruce Momjian @ 2003-02-17 18:54 UTC (permalink / raw)
To: Randolph Jones <jonesrf1@qwest.net>; +Cc: pgsql-admin
Do you perhaps have an old version of jdbc on that machine?
---------------------------------------------------------------------------
Randolph Jones wrote:
> I have pg 7.3.2 running on rh8 2.4.19.
> I have pg_hba.conf with line
> host testt user xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx md5
>
> I can log on as user thru psql -h xxx.xxx.xxx.xxx testt
> pgsql asks for password, allows logon to testt
>
> I have a java program using user password that gets
> authentication failed for user user error
>
> username and passwd are the same as used in psql
> on another machine the java program works ok
> something is not set up right on the box that is failing
>
> I set up the good box by trial and error, hacking/stumbling around until
> something worked, then stagger on to the next debacle
> no clue to what the difference might be
>
> Any suggestions greatly appreciated
>
> TIA
> rfjones
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
>
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2003-02-17 18:54 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-02-16 23:06 md5 authentication fails Randolph Jones <jonesrf1@qwest.net>
2003-02-17 18:54 ` Bruce Momjian <pgman@candle.pha.pa.us>
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