From: Blaine Simpson <blaine.simpson@admc.com>
To: pgsql-jdbc@postgresql.org
Subject: Re: JDBC connection issue
Date: Wed, 21 Jul 2004 18:35:36 -0400
Message-ID: <40FEEFB8.8080603@admc.com> (raw)
In-Reply-To: <Pine.BSO.4.56.0407211706450.9870@leary.csoft.net>
References: <581C48EBC132FF459E62A6809D0D72AE22C749@mail.sharedmarketing.com>
<1ac22fd7.0407190027.53d75925@posting.google.com>
<40FEE48C.3010208@admc.com>
<Pine.BSO.4.56.0407211706450.9870@leary.csoft.net>
Kris Jurka wrote:
>On Wed, 21 Jul 2004, Blaine Simpson wrote:
>
>
>
>>Use "md5" instead of "trust". Besides trust having all sorts of
>>problems to do with ident daemons, I don't even know if the JDBC driver
>>will work with ident, since JDBC network drivers generally pass a
>>username and password.
>>
>>
>
>"trust" has nothing to do with "ident" authentication, trust does not do
>any authentication at all and just lets you in. Using ident
>authentication can be a little tricky with JDBC simply because it uses
>tcp/ip to connect as opposed to unix sockets. On the server side these
>use different code paths for ident authentication with unix sockets
>requiring kernel support for passing user information and tcp/ip sockets
>requiring an ident server.
>
>
Thanks for the correction. I understand now that ident should work if
you can satisfy
the ident requirements.
I still stand by what I said about trust. If you use TCP/IP, with or
without JDBC,
then if you use "trust" you will have to deal with "... problems to do
with ident
deamons". You just said that if you use "trust" with TCP/IP you need
an ident
server (due to differences in local vs. network socket handling in
server code).
Therefore, if you're running TCP/IP, "trust" has a lot to do with
"ident" authentication.
You don't need an ident server if you use "md5", you do need an ident
server if you
use "trust".
>In any case the JDBC driver works fine with both trust and ident
>authentication, as far as I know the only authentication method that are
>unsupported by the JDBC driver is kerberos.
>
>Kris Jurka
>
>
--
ICF: 703-934-3692 Cell: 703-944-9317
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: blaine.simpson@admc.com
Subject: Re: JDBC connection issue
In-Reply-To: <40FEEFB8.8080603@admc.com>
References: <581C48EBC132FF459E62A6809D0D72AE22C749@mail.sharedmarketing.com> <1ac22fd7.0407190027.53d75925@posting.google.com> <40FEE48C.3010208@admc.com> <Pine.BSO.4.56.0407211706450.9870@leary.csoft.net> <40FEEFB8.8080603@admc.com>
* 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