X-Original-To: pgsql-odbc-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id C6B8E9FA65C for ; Wed, 21 Jun 2006 15:01:46 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 24177-10 for ; Wed, 21 Jun 2006 15:01:38 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from fuse1.mailanyone.net (unknown [69.31.1.141]) by postgresql.org (Postfix) with ESMTP id E92DA9F9CC1 for ; Wed, 21 Jun 2006 15:01:37 -0300 (ADT) Received: from mailanyone.net by fuse1.mailanyone.net with asmtp (MailAnyone extSMTP kkempter) id 1Ft718-0006uO-VZ; Wed, 21 Jun 2006 13:01:30 -0500 Received: from 63.214.184.6 (FuseMail web AccountID 164106) by webmail.fusemail.com with HTTP; Wed, 21 Jun 2006 13:01:37 -0500 (CDT) Message-ID: <1150912897.v2.fusewebmail-164106@f> Date: Wed, 21 Jun 2006 13:01:37 -0500 (CDT) Subject: Re: Oracle Heterogenous Services Error From: "LLC" To: "Ludek Finstrle" ,pgsql-odbc@postgresql.org Cc: pgsql-odbc@postgresql.org Reply-To: kevin@kevinkempterllc.com User-Agent: FuseMail W MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 X-Priority: 3 Importance: Normal X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200606/153 X-Sequence-Number: 7901 ----- Original Message ----- Subject: Re: [ODBC] Oracle Heterogenous Services Error From: "Ludek Finstrle" Date: Wed, June 21, 2006 10:45 Wed, Jun 21, 2006 at 11:29:28AM -0500, LLC napsal(a): > We are able to connect via sql server to postgres. Also, we are > providing the username in lowercase, the Oracle error always > returns it in uppercase. Could you get the exact connection string? Could you post here the mylog output? Regards, Luf > ----- Original Message ----- > > > Subject: Re: [ODBC] Oracle Heterogenous Services Error > > > From: "Ludek Finstrle" >;luf@pzkagis.cz> > > > Date: Wed, June 21, 2006 2:15 > > > > > > > I've setup a user 'pgadmin' for testing. I've added an entry in the > > pg_hba.conf file as follows: > > Here is username lowercase. > > > When we try and connect we get this error: > > > > (0) ORACLE GENERIC GATEWAY Log File Started at 2006-06-20T15:05:18 > > (0) hoainit (3): ; hoainit Exited with retcode = 0. > > (0) hoalgon (7): ; hoalgon Entered. name = PGADMIN. > > (0) DB_ODBC_INTERFACE (2085): ; FATAL: password authentication failed > > for user > > (0) "PGADMIN" (SQL State: 28000; SQL Code: 210 > > Here is username uppercase. I think postgresql is case-sensitive. > Could you connect via odbc the postgresql from another app? > > Regards, > > Luf > > ---------------------------(end of broadcast)--------------------------- > TIP 2: Don't 'kill -9' the postmaster ---------------------------(end of broadcast)--------------------------- TIP 2: Don't 'kill -9' the postmaster Here's the trace file from Oracle, does this help? (0) hoagprd (2): ; hoagprd Entered. (0) HOACONN.C (244): ; [Generic Connectivity Using ODBC] version: 4.6.1.0.0070 (0) HOACONN.C (295): ; Class version: 200 (0) hoagprd (2): ; hoagprd Exited with retcode = 0. (0) hoainit (3): ; hoainit Entered. (0) (0): ; connect string is: defTdpName=hsodbc;SYNTAX=(ORACLE8_HOA, (0) BASED_ON=ORACLE8, IDENTIFIER_QUOTE_CHAR="", (0) CASE_SENSITIVE=CASE_SENSITIVE_QUOTE);BINDING= (0) ORACLE GENERIC GATEWAY Log File Started at 2006-06-20T15:05:18 (0) hoainit (3): ; hoainit Exited with retcode = 0. (0) hoalgon (7): ; hoalgon Entered. name = PGADMIN. (0) DB_ODBC_INTERFACE (2085): ; FATAL: password authentication failed for user (0) "PGADMIN" (SQL State: 28000; SQL Code: 210) (0) DRV_InitTdp: DB_ODBC_INTERFACE (2085): ; FATAL: password authentication failed (0) for user "PGADMIN" (SQL State: 28000; SQL Code: 210) (0) (0) nvRETURN (F:\Work\Connect_4_6_3\src\drv\DRV_BIND.C 356): -2220 (0) nvRETURN (F:\Work\Connect_4_6_3\src\nav\NAV_BIND.C 293): -2220 (0) hoalgon (7): ; hoalgon Exited with retcode = 28500. (0) hoaexit (6): ; hoaexit Entered. (0) hoaexit (6): ; hoaexit Exited with retcode = 0. (0) (0): ; Closing log file at TUE JUN 20 15:05:19 2006.