pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: David Hartwig <daybee@bellatlantic.net>
To: Dave Thorson <dthorson@grwolf.com>
Cc: pgsql-interfaces@postgreSQL.org
Subject: Re: [INTERFACES] odbc failed authentication message
Date: Tue, 08 Sep 1998 18:18:32 -0400
Message-ID: <35F5AD38.267577B7@bellatlantic.net> (raw)
References: <19980908211100.82353ae7.in@grwolf.com>

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






view thread (2+ messages)  latest in thread

Message-ID: <35F5AD38.267577B7@bellatlantic.net>
Permalink:  ../35F5AD38.267577B7@bellatlantic.net/
Also on:    postgresql.org/message-id/35F5AD38.267577B7@bellatlantic.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: daybee@bellatlantic.net, dthorson@grwolf.com
  Subject: Re: [INTERFACES] odbc failed authentication message
  In-Reply-To: <35F5AD38.267577B7@bellatlantic.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox