X-Original-To: pgsql-interfaces-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 1CE179DC949 for ; Thu, 12 Jan 2006 10:01:01 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 41982-04 for ; Thu, 12 Jan 2006 10:01:04 -0400 (AST) X-Greylist: delayed 00:06:37.730519 by SQLgrey- Received: from petra.mux.nu (petra.mux.nu [82.100.209.143]) by postgresql.org (Postfix) with ESMTP id 310F39DC80F for ; Thu, 12 Jan 2006 10:00:57 -0400 (AST) Received: (qmail 28311 invoked by uid 505); 12 Jan 2006 13:54:22 -0000 Received: from mager@nugmbh.de by petra by uid 502 with qmail-scanner-1.16 (. Clear:. Processed in 0.107968 secs); 12 Jan 2006 13:54:22 -0000 Received: from unknown (HELO liznt) ([10.1.24.254]) (envelope-sender ) by petra.mux.nu (qmail-ldap-1.03) with SMTP for ; 12 Jan 2006 13:54:22 -0000 Received: (qmail 24294 invoked by uid 104); 12 Jan 2006 13:54:04 -0000 Received: from mager@nugmbh.de by liznt by uid 101 with qmail-scanner-1.15 ( Clear:. Processed in 0.233562 secs); 12 Jan 2006 13:54:04 -0000 Received: from nusphere2323.nuhq.nunet (HELO ?10.1.24.237?) (10.1.24.237) by liznt with SMTP; 12 Jan 2006 13:54:03 -0000 Message-ID: <43C65F71.7060407@nugmbh.de> Date: Thu, 12 Jan 2006 14:53:53 +0100 From: Torsten Mager User-Agent: Mozilla Thunderbird 1.0.2-1 (X11/20050429) X-Accept-Language: en-us, en MIME-Version: 1.0 To: pgsql-interfaces@postgresql.org Subject: [libpq] Password authentication failed for user Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0 required=5 tests=[none] X-Spam-Score: 0 X-Spam-Level: X-Archive-Number: 200601/26 X-Sequence-Number: 5942 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?!?