Received: from localhost (unknown [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id E9CB22E2DCF for ; Sun, 10 Feb 2008 18:50:54 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 99039-02 for ; Sun, 10 Feb 2008 18:50:46 -0400 (AST) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by postgresql.org (Postfix) with SMTP id 0B7122E00CF for ; Sun, 10 Feb 2008 18:50:50 -0400 (AST) Received: (qmail invoked by alias); 10 Feb 2008 22:50:48 -0000 Received: from adsl_plus_245129-174.etb.net.co (EHLO [192.168.1.72]) [201.245.129.174] by mail.gmx.net (mp027) with SMTP; 10 Feb 2008 23:50:48 +0100 X-Authenticated: #32973627 X-Provags-ID: V01U2FsdGVkX1+YFIk1R2CYnH4IahQ2nr9X8TQhnOCFp1INN/4tDS j7jilgX1AhurXI Subject: can't connect with md5 encrypted pw From: Thomas Schuster To: pgsql-admin@postgresql.org Content-Type: text/plain Date: Sun, 10 Feb 2008 17:50:46 -0500 Message-Id: <1202683846.15629.19.camel@boa> Mime-Version: 1.0 X-Mailer: Evolution 2.12.1 Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.001 tagged_above=0 required=5 tests=BAYES_50=0.001 X-Spam-Level: X-Archive-Number: 200802/133 X-Sequence-Number: 28207 hi all i tried to explain my problem in the following lines. for me it is necessary to connect my db with the unix user and md5 encryption on my local machine. i couldn't found a solution. thx for any idea! my system: PostgreSQL 8.2.6 on i486-pc-linux-gnu, compiled by GCC cc (GCC) 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2) my problem: createdb test psql -U john -d test -W password:****** psql: FATAL: password authentication failed for user "john" my pg_hba.conf: #TYPE DATABASE USER CIDR-ADDRESS METHOD local all all md5 my roles: rolname | rolsuper | rolcanlogin | rolpassword ---------+----------+-------------+------------------------------------- postgres | t | t | md5xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx john | f | t | md5xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx my description: -john is my unix user -postgresql server is reloaded -connecting with my postgres user and md5 works fine -connecting with "john" and METHOD ident sameuser works although fine -why can't i connect with my unix user using md5 in pg_hba.conf ? -- Best regards, Thomas Schuster