pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Torsten Mager <mager@nugmbh.de>
To: pgsql-interfaces@postgresql.org
Subject: [libpq] Password authentication failed for user
Date: Thu, 12 Jan 2006 14:53:53 +0100
Message-ID: <43C65F71.7060407@nugmbh.de> (raw)

Hello!

I have two different programs written in C. Both programs are compilied 
and linked to the same liqpq. Postgresql-7.4.7 is installed and used.

In both programs similar connections to the same database are made over 
network. On the server runs postgresql-7.3.4.

In one case everything is ok and the connection to the database works.

The other program does not work fine, the error-message "Password 
authentication failed for user" appears. If i change the configuration 
of the server in "pg_hba.conf" from "md5" to "password", everything 
works fine too.

What is the problem?!?



view thread (2+ messages)  latest in thread

Message-ID: <43C65F71.7060407@nugmbh.de>
Permalink:  ../43C65F71.7060407@nugmbh.de/
Also on:    postgresql.org/message-id/43C65F71.7060407@nugmbh.de

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: mager@nugmbh.de
  Subject: Re: [libpq] Password authentication failed for user
  In-Reply-To: <43C65F71.7060407@nugmbh.de>

* 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