Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 7921C64FD00 for ; Fri, 8 Aug 2008 04:00:10 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 00101-04 for ; Fri, 8 Aug 2008 03:59:55 -0300 (ADT) X-Greylist: delayed 00:34:34.988428 by SQLgrey-1.7.6 Received: from mail5.hc.ru (mail5.hc.ru [89.111.176.249]) by postgresql.org (Postfix) with ESMTP id B240664FCF6 for ; Fri, 8 Aug 2008 03:59:43 -0300 (ADT) Received: from [78.107.77.34] (helo=dnk) by mail5.hc.ru with esmtpa (Exim 4.69 (FreeBSD)) (envelope-from ) id 1KRLPS-0006Yz-5h for pgsql-admin@postgresql.org; Fri, 08 Aug 2008 10:25:11 +0400 Date: Fri, 8 Aug 2008 10:21:22 +0400 From: =?windows-1251?B?yvPw4Pjq6O0gxOzo8vDo6Q==?= X-Mailer: The Bat! (v4.0.24) UNREG Reply-To: =?windows-1251?B?yvPw4Pjq6O0gxOzo8vDo6SDN6Oru6+Dl4uj3?= Organization: =?windows-1251?B?xO7r4+7i7uUgwOPl7fLx8uLuICLK7u3x8+si?= X-Priority: 3 (Normal) Message-ID: <18810370276.20080808102122@dolg.su> To: pgsql-admin@postgresql.org Subject: Problems with connection In-Reply-To: <1894788884.20080807162245@dolg.su> References: <1894788884.20080807162245@dolg.su> MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: quoted-printable X-SpamTest-Envelope-From: dnk@dolg.su X-SpamTest-Group-ID: 00000000 X-SpamTest-Info: Profiles 4672 [Aug 8 2008] X-SpamTest-Info: helo_type=3 X-SpamTest-Method: none X-SpamTest-Rate: 0 X-SpamTest-SPF: none X-SpamTest-Status: Not detected X-SpamTest-Status-Extended: not_detected X-SpamTest-Version: SMTP-Filter Version 3.0.0 [0284], KAS30/Release X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200808/32 X-Sequence-Number: 29877 Hi to all! I have following systems: 1. Local machine with Windows XP SP2 and PostgreSQL 8.2 - test system. 2. Work server in local network (FreeBSD + PostgreSQL 8.2) - work system. I write client with Delphi 7 IDE and use Zeos Lib 6.6.2 (http://zeos.firmos.at/) for database access. When I tried to connect to server I recieve error message: "SQL Error: fe_sendauth: authentication type 5 not supported." After searching in internet I found solution: set authentication method "password" instead of "md5". In file pg_hba.conf on local machine I wrote: # TYPE DATABASE USER CIDR-ADDRESS METHOD host all all 127.0.0.1/32 password and on server: # TYPE DATABASE USER CIDR-ADDRESS METHOD host all all 192.168.3.0/24 password My IP-address in local network is 192.168.3.16... After that I can to connect to test PostgreSQL server on localhost, and connection works fine, but attempt to connect to work server finishes by same error message "SQL Error: fe_sendauth: authentication type 5 not supported." I tried to place string in pg_hba.conf on first and last positions, wrote names of databases and users instead of "all" but it doesn't work. As I understand, my main problem is to force PostgreSQL server allow me to connect with password authentication method, isn't it? And how I can do that? P. S. Sorry for poor english...