pg.ddx.io pgsql-interfaces@postgresql.org mailing list archive
help / color / mirror / Atom feedRe: [INTERFACES] odbc failed authentication message
2+ messages / 2 participants
[nested] [flat]
* odbc failed authentication message
@ 1998-09-09 02:04 Dave Thorson <dthorson@grwolf.com>
1998-09-08 22:18 ` Re: [INTERFACES] odbc failed authentication message David Hartwig <daybee@bellatlantic.net>
0 siblings, 1 reply; 2+ messages in thread
From: Dave Thorson @ 1998-09-09 02:04 UTC (permalink / raw)
To: pgsql-interfaces
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
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: [INTERFACES] odbc failed authentication message
1998-09-09 02:04 odbc failed authentication message Dave Thorson <dthorson@grwolf.com>
@ 1998-09-08 22:18 ` David Hartwig <daybee@bellatlantic.net>
0 siblings, 0 replies; 2+ messages in thread
From: David Hartwig @ 1998-09-08 22:18 UTC (permalink / raw)
To: Dave Thorson <dthorson@grwolf.com>; +Cc: pgsql-interfaces
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
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~1998-09-09 02:04 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
1998-09-09 02:04 odbc failed authentication message Dave Thorson <dthorson@grwolf.com>
1998-09-08 22:18 ` David Hartwig <daybee@bellatlantic.net>
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