Received: from iconmail.bellatlantic.net (iconmail.bellatlantic.net [199.173.162.30]) by hub.org (8.8.8/8.7.5) with ESMTP id XAA03530 for ; Tue, 8 Sep 1998 23:41:15 -0400 (EDT) Received: from bellatlantic.net (client196-126-87.bellatlantic.net [151.196.126.87]) by iconmail.bellatlantic.net (IConNet Sendmail) with ESMTP id WAA15302; Tue, 8 Sep 1998 22:41:31 -0400 (EDT) Sender: postgres@iconmail.bellatlantic.net Message-ID: <35F5AD38.267577B7@bellatlantic.net> Date: Tue, 08 Sep 1998 18:18:32 -0400 From: David Hartwig Organization: Insight Distribution Systems X-Mailer: Mozilla 4.04 [en] (X11; I; Linux 2.0.29 i586) MIME-Version: 1.0 To: Dave Thorson CC: pgsql-interfaces@postgreSQL.org Subject: Re: [INTERFACES] odbc failed authentication message References: <19980908211100.82353ae7.in@grwolf.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Please refer to the check list cantained in the FAQ at the psqlodbc web site. I see two issues. Postmaster must start withe -i option. man postmaster It looks as though you only allow localhost access in pg_hba.conf. You will need to open up to some remote host(s) man pg_hba.conf example of wide open with password required: host all 0.0.0.0 0.0.0.0 password example of class C wide open host all 200.100.5.0 255.255.255.0 trust Dave Thorson wrote: > I receive a "failed authentication" message when I attempt to make and ODBC > connection. My server is fir, database name is foo, name is dave with a > password of dave. I have set up the user using psql with a create user > command. > > Any help for a poor novice would be greatly appreciated! > > I have attempted an ODBC connection with the Insite driver (6.30.0249). I > am using Red Hat Linux 5.1 which included postgres. I have been able to > make pgaccess and psql work. ODBC is alluding me. > > The postgres .bash_profile looks like this: > #!/bin/sh > #This Script changes the term type > > TERM=vt100 > export TERM > echo $TERM > PATH=$PATH:/usr/local/pgsql/bin > MANPATH=$MANPATH:/usr/local/pgsql/man > PGLIB=/usr/lib/pgsql > > PGDATA=/usr/local/pgsql/data > export PATH MANPATH PGLIB PGDATA > > The pg_hba.conf file located in /usr/local/pgsql/data contains the following. > # By default, allow anything over UNIX domain sockets and localhost. > > local all trust > host all 127.0.0.1 255.255.255.255 trust