pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Can't create DSN using SSPI authentication WinXP to WinXP
10+ messages / 4 participants
[nested] [flat]

* Can't create DSN using SSPI authentication WinXP to WinXP
@ 2008-03-25 14:03 Roger Quincy <Roger.Quincy@twdb.state.tx.us>
  2008-03-31 03:36 ` Re: Can't create DSN using SSPI authentication WinXP to WinXP Hiroshi Inoue <inoue@tpf.co.jp>
  0 siblings, 1 reply; 10+ messages in thread

From: Roger Quincy @ 2008-03-25 14:03 UTC (permalink / raw)
  To: pgsql-odbc

I have PostgreSQL 8.3.1 w32 running on Windows XP sp2 server.
I want to authenticate using sspi for my Windows XP clients (domained) but while creating a DSN, I get an "authentication method 9 not supported" error message. However, connecting with the pgAdmin III works fine.
Here is a screenshot of the error message on the client while trying to create a DSN: 
http://pages.suddenlink.net/lt1/scnshot.jpg 
The error message dialog box pops up after clicking the Test button.

If I change the entry in the pg_hba.conf file to from "sspi" to "trust", I can create the DSN with no problem. But, using trust for multiple users is not secure enough. I am using the latest psqlODBC verson (8.03.01.00).

I am not a programmer so I need to know if there is an easy fix for this.
Can anyone help me?

Roger








^ permalink  raw  reply  [nested|flat] 10+ messages in thread

* Re: Can't create DSN using SSPI authentication WinXP to WinXP
  2008-03-25 14:03 Can't create DSN using SSPI authentication WinXP to WinXP Roger Quincy <Roger.Quincy@twdb.state.tx.us>
@ 2008-03-31 03:36 ` Hiroshi Inoue <inoue@tpf.co.jp>
  0 siblings, 0 replies; 10+ messages in thread

From: Hiroshi Inoue @ 2008-03-31 03:36 UTC (permalink / raw)
  To: Roger Quincy <Roger.Quincy@twdb.state.tx.us>; +Cc: pgsql-odbc

Roger Quincy wrote:
> I have PostgreSQL 8.3.1 w32 running on Windows XP sp2 server.
> I want to authenticate using sspi for my Windows XP clients (domained) but while creating a DSN, I get an "authentication method 9 not supported" error message. However, connecting with the pgAdmin III works fine.
> Here is a screenshot of the error message on the client while trying to create a DSN: 
> http://pages.suddenlink.net/lt1/scnshot.jpg 
> The error message dialog box pops up after clicking the Test button.
> 
> If I change the entry in the pg_hba.conf file to from "sspi" to "trust", I can create the DSN with no problem. But, using trust for multiple users is not secure enough. I am using the latest psqlODBC verson (8.03.01.00).
> 
> I am not a programmer so I need to know if there is an easy fix for this.
> Can anyone help me?

Could you try to select the *allow* SSL Mode ?

regards,
Hiroshi Inoue




^ permalink  raw  reply  [nested|flat] 10+ messages in thread

* Can't create DSN using SSPI authentication WinXP to WinXP
@ 2008-04-29 20:10 Roger Quincy <Roger.Quincy@twdb.state.tx.us>
  2008-04-29 22:22 ` Re: Can't create DSN using SSPI authentication WinXP to WinXP Hiroshi Saito <z-saito@guitar.ocn.ne.jp>
  0 siblings, 1 reply; 10+ messages in thread

From: Roger Quincy @ 2008-04-29 20:10 UTC (permalink / raw)
  To: pgsql-odbc

I have posted this before and have a little more info but am still needing help.

I have PostgreSQL 8.3.1 w32 running on Windows XP sp2 server.
I want to authenticate using sspi for my Windows XP clients (domained) but while creating a DSN, I get an "authentication method 9 not supported" error message. 
Here is a screenshot of the error message on the client while trying to create a DSN: 
http://pages.suddenlink.net/lt1/scnshot.jpg 
The error message dialog box pops up after clicking the Test button.

If I change the entry in the pg_hba.conf file to from "sspi" to "trust", I can create the DSN with no problem. But, using trust for multiple users is not secure enough. I am using the latest psqlODBC verson (8.03.01.00).

I have been told that the libpq library (libpq.dll) I  have doesn't support the functionality. And, that I need to build  a new libpq.dll with ENABLE_SSPI defined.
However, I am not a programmer and I don't know how to do this.
Can anyone help me?

Roger



Roger M. Quincy, PG
Hydrologist
Texas Water Development Board
Ground Water Technical Assistance Section
phone: 512-936-0833
email: rquincy@txwin.net
web: http://www.twdb.state.tx.us/GwRD/waterwell/well_info.asp




^ permalink  raw  reply  [nested|flat] 10+ messages in thread

* Re: Can't create DSN using SSPI authentication WinXP to WinXP
  2008-04-29 20:10 Can't create DSN using SSPI authentication WinXP to WinXP Roger Quincy <Roger.Quincy@twdb.state.tx.us>
@ 2008-04-29 22:22 ` Hiroshi Saito <z-saito@guitar.ocn.ne.jp>
  2008-04-30 13:37   ` Re: Can't create DSN using SSPI authentication WinXP to WinXP Roger Quincy <Roger.Quincy@twdb.state.tx.us>
  0 siblings, 1 reply; 10+ messages in thread

From: Hiroshi Saito @ 2008-04-29 22:22 UTC (permalink / raw)
  To: Roger.Quincy@twdb.state.tx.us; +Cc: pgsql-odbc

Hi.

Please use the installer package(08.03.0100).
Then, remove libpq.dll there. and use set SSL select of dialog.

Regards,
Hiroshi Saito

"Roger Quincy"
>I have posted this before and have a little more info but am still needing help.
>
>I have PostgreSQL 8.3.1 w32 running on Windows XP sp2 server.
>I want to authenticate using sspi for my Windows XP clients (domained) but while creating a DSN, I get an "authentication method 9 not supported" error message. 
>Here is a screenshot of the error message on the client while trying to create a DSN: 
>http://pages.suddenlink.net/lt1/scnshot.jpg 
>The error message dialog box pops up after clicking the Test button.
>
>If I change the entry in the pg_hba.conf file to from "sspi" to "trust", I can create the DSN with no problem. But, using trust for multiple users is not secure enough. I am using the latest psqlODBC verson (8.03.01.00).
>
>I have been told that the libpq library (libpq.dll) I  have doesn't support the functionality. And, that I need to build  a new libpq.dll with ENABLE_SSPI defined.
>However, I am not a programmer and I don't know how to do this.
>Can anyone help me?
>
>Roger
>
>
>
>Roger M. Quincy, PG
>Hydrologist
>Texas Water Development Board
>Ground Water Technical Assistance Section
>phone: 512-936-0833
>email: rquincy@txwin.net
>web: http://www.twdb.state.tx.us/GwRD/waterwell/well_info.asp
>
>
>-- 
>Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
>To make changes to your subscription:
>http://www.postgresql.org/mailpref/pgsql-odbc



^ permalink  raw  reply  [nested|flat] 10+ messages in thread

* Re: Can't create DSN using SSPI authentication WinXP to WinXP
  2008-04-29 20:10 Can't create DSN using SSPI authentication WinXP to WinXP Roger Quincy <Roger.Quincy@twdb.state.tx.us>
  2008-04-29 22:22 ` Re: Can't create DSN using SSPI authentication WinXP to WinXP Hiroshi Saito <z-saito@guitar.ocn.ne.jp>
@ 2008-04-30 13:37   ` Roger Quincy <Roger.Quincy@twdb.state.tx.us>
  2008-04-30 14:44     ` Re: Can't create DSN using SSPI authentication WinXP toWinXP Hiroshi Saito <z-saito@guitar.ocn.ne.jp>
  0 siblings, 1 reply; 10+ messages in thread

From: Roger Quincy @ 2008-04-30 13:37 UTC (permalink / raw)
  To: Hiroshi Saito <z-saito@guitar.ocn.ne.jp>; +Cc: pgsql-odbc

No success.

I have been using 08.03.0100.

I deleted the libpq.dll like you say and then I get the following setting up the ODBC:

If I choose "Allow" in the SSL dialog, I get the error message "Unknown authorization type"
If I choose "Require" in the dialog,  I get the error message "Could not construct a socket to the server"

Is there something I need to do on the server side?
I tried putting SSL=On in the postgresql.conf file on the server but the service would not restart after I did this.
In the pg_hba.conf file, I have been using "host   all     all      0.0.0.0     0.0.0.0    sspi"

Thanks,
Roger

Roger M. Quincy, PG
Hydrologist
Texas Water Development Board
Ground Water Technical Assistance Section
phone: 512-936-0833
email: rquincy@txwin.net
web: http://www.twdb.state.tx.us/GwRD/waterwell/well_info.asp

>>> "Hiroshi Saito" <z-saito@guitar.ocn.ne.jp> 4/29/2008 5:22 PM >>>
Hi.

Please use the installer package(08.03.0100).
Then, remove libpq.dll there. and use set SSL select of dialog.

Regards,
Hiroshi Saito






^ permalink  raw  reply  [nested|flat] 10+ messages in thread

* Re: Can't create DSN using SSPI authentication WinXP toWinXP
  2008-04-29 20:10 Can't create DSN using SSPI authentication WinXP to WinXP Roger Quincy <Roger.Quincy@twdb.state.tx.us>
  2008-04-29 22:22 ` Re: Can't create DSN using SSPI authentication WinXP to WinXP Hiroshi Saito <z-saito@guitar.ocn.ne.jp>
  2008-04-30 13:37   ` Re: Can't create DSN using SSPI authentication WinXP to WinXP Roger Quincy <Roger.Quincy@twdb.state.tx.us>
@ 2008-04-30 14:44     ` Hiroshi Saito <z-saito@guitar.ocn.ne.jp>
  2008-04-30 16:12       ` Re: Can't create DSN using SSPI authentication WinXP toWinXP Roger Quincy <Roger.Quincy@twdb.state.tx.us>
  0 siblings, 1 reply; 10+ messages in thread

From: Hiroshi Saito @ 2008-04-30 14:44 UTC (permalink / raw)
  To: Roger Quincy <Roger.Quincy@twdb.state.tx.us>; Hiroshi Inoue <inoue@tpf.co.jp>; +Cc: pgsql-odbc

Hi.

Ahh, Ok.
In the first, since libpq.dll of psqlODBC(08.03.0100) are 8.2 bases, Therefore, SSPI is not
supported. However, psqlODBC had a peculiar SSPI module in a trial way. Then, I have the
result of only the SSL use of that. They are not many patterns though regrettable...sorry.
Probably, you are using PG Version 8.3. Then, It seems that it still has many problems.
As a possibility, using libpq.dll of 8.3 bases may have a good result. or, DEBUG of the SSPI
module of psqlODBC is required. However, much time is required....

Regards,
Hiroshi Saito

----- Original Message ----- 
From: "Roger Quincy" <Roger.Quincy@twdb.state.tx.us>


No success.

I have been using 08.03.0100.

I deleted the libpq.dll like you say and then I get the following setting up the ODBC:

If I choose "Allow" in the SSL dialog, I get the error message "Unknown authorization type"
If I choose "Require" in the dialog,  I get the error message "Could not construct a socket to the 
server"

Is there something I need to do on the server side?
I tried putting SSL=On in the postgresql.conf file on the server but the service would not restart 
after I did this.
In the pg_hba.conf file, I have been using "host   all     all      0.0.0.0     0.0.0.0    sspi"

Thanks,
Roger

Roger M. Quincy, PG
Hydrologist
Texas Water Development Board
Ground Water Technical Assistance Section
phone: 512-936-0833
email: rquincy@txwin.net
web: http://www.twdb.state.tx.us/GwRD/waterwell/well_info.asp

>>> "Hiroshi Saito" <z-saito@guitar.ocn.ne.jp> 4/29/2008 5:22 PM >>>
Hi.

Please use the installer package(08.03.0100).
Then, remove libpq.dll there. and use set SSL select of dialog.

Regards,
Hiroshi Saito




-- 
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc 




^ permalink  raw  reply  [nested|flat] 10+ messages in thread

* Re: Can't create DSN using SSPI authentication WinXP toWinXP
  2008-04-29 20:10 Can't create DSN using SSPI authentication WinXP to WinXP Roger Quincy <Roger.Quincy@twdb.state.tx.us>
  2008-04-29 22:22 ` Re: Can't create DSN using SSPI authentication WinXP to WinXP Hiroshi Saito <z-saito@guitar.ocn.ne.jp>
  2008-04-30 13:37   ` Re: Can't create DSN using SSPI authentication WinXP to WinXP Roger Quincy <Roger.Quincy@twdb.state.tx.us>
  2008-04-30 14:44     ` Re: Can't create DSN using SSPI authentication WinXP toWinXP Hiroshi Saito <z-saito@guitar.ocn.ne.jp>
@ 2008-04-30 16:12       ` Roger Quincy <Roger.Quincy@twdb.state.tx.us>
  2008-04-30 22:16         ` Re: Can't create DSN using SSPI authentication WinXP toWinXP Hiroshi Saito <z-saito@guitar.ocn.ne.jp>
  2008-04-30 23:48         ` Re: Can't create DSN using SSPI authentication WinXP	toWinXP Jonas Okwara <jokwara@comcast.net>
  0 siblings, 2 replies; 10+ messages in thread

From: Roger Quincy @ 2008-04-30 16:12 UTC (permalink / raw)
  To: Hiroshi Saito <z-saito@guitar.ocn.ne.jp>; Hiroshi Inoue <inoue@tpf.co.jp>; +Cc: pgsql-odbc

So what you are saying is that I will have to wait for future versions of PG and PsqlODBC to be released before I will be able to get SSPI to work?

Thanks,
Roger

Roger M. Quincy, PG
Hydrologist
Texas Water Development Board
Ground Water Technical Assistance Section
phone: 512-936-0833
email: rquincy@txwin.net
web: http://www.twdb.state.tx.us/GwRD/waterwell/well_info.asp




^ permalink  raw  reply  [nested|flat] 10+ messages in thread

* Re: Can't create DSN using SSPI authentication WinXP toWinXP
  2008-04-29 20:10 Can't create DSN using SSPI authentication WinXP to WinXP Roger Quincy <Roger.Quincy@twdb.state.tx.us>
  2008-04-29 22:22 ` Re: Can't create DSN using SSPI authentication WinXP to WinXP Hiroshi Saito <z-saito@guitar.ocn.ne.jp>
  2008-04-30 13:37   ` Re: Can't create DSN using SSPI authentication WinXP to WinXP Roger Quincy <Roger.Quincy@twdb.state.tx.us>
  2008-04-30 14:44     ` Re: Can't create DSN using SSPI authentication WinXP toWinXP Hiroshi Saito <z-saito@guitar.ocn.ne.jp>
  2008-04-30 16:12       ` Re: Can't create DSN using SSPI authentication WinXP toWinXP Roger Quincy <Roger.Quincy@twdb.state.tx.us>
@ 2008-04-30 22:16         ` Hiroshi Saito <z-saito@guitar.ocn.ne.jp>
  2008-05-08 11:46           ` Re: Can't create DSN using SSPI authentication WinXP toWinXP Roger Quincy <Roger.Quincy@twdb.state.tx.us>
  1 sibling, 1 reply; 10+ messages in thread

From: Hiroshi Saito @ 2008-04-30 22:16 UTC (permalink / raw)
  To: Roger.Quincy@twdb.state.tx.us; +Cc: Hiroshi Saito <z-saito@guitar.ocn.ne.jp>; Hiroshi Inoue <inoue@tpf.co.jp>; pgsql-odbc

Hi.

Sorry, It is my misstake.
I will repackage psqlODBC with libpq of version 8.3.
However, I have no spere time now..It is weekend.

Regerds,
Hiroshi Saito

"Roger Quincy"
>So what you are saying is that I will have to wait for future versions of PG and PsqlODBC to be released before I will be able to get SSPI to work?
>
>Thanks,
>Roger
>
>Roger M. Quincy, PG
>Hydrologist
>Texas Water Development Board
>Ground Water Technical Assistance Section
>phone: 512-936-0833
>email: rquincy@txwin.net
>web: http://www.twdb.state.tx.us/GwRD/waterwell/well_info.asp
>
>
>-- 
>Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
>To make changes to your subscription:
>http://www.postgresql.org/mailpref/pgsql-odbc



^ permalink  raw  reply  [nested|flat] 10+ messages in thread

* Re: Can't create DSN using SSPI authentication WinXP toWinXP
  2008-04-29 20:10 Can't create DSN using SSPI authentication WinXP to WinXP Roger Quincy <Roger.Quincy@twdb.state.tx.us>
  2008-04-29 22:22 ` Re: Can't create DSN using SSPI authentication WinXP to WinXP Hiroshi Saito <z-saito@guitar.ocn.ne.jp>
  2008-04-30 13:37   ` Re: Can't create DSN using SSPI authentication WinXP to WinXP Roger Quincy <Roger.Quincy@twdb.state.tx.us>
  2008-04-30 14:44     ` Re: Can't create DSN using SSPI authentication WinXP toWinXP Hiroshi Saito <z-saito@guitar.ocn.ne.jp>
  2008-04-30 16:12       ` Re: Can't create DSN using SSPI authentication WinXP toWinXP Roger Quincy <Roger.Quincy@twdb.state.tx.us>
  2008-04-30 22:16         ` Re: Can't create DSN using SSPI authentication WinXP toWinXP Hiroshi Saito <z-saito@guitar.ocn.ne.jp>
@ 2008-05-08 11:46           ` Roger Quincy <Roger.Quincy@twdb.state.tx.us>
  0 siblings, 0 replies; 10+ messages in thread

From: Roger Quincy @ 2008-05-08 11:46 UTC (permalink / raw)
  To: Hiroshi Saito <z-saito@guitar.ocn.ne.jp>; +Cc: pgsql-odbc; Hiroshi Inoue <inoue@tpf.co.jp>

Hiroshi,

Thank you very much.
The new psqlODBC 08.03.0200 release fixes the issue.

Roger

Roger M. Quincy, PG
Hydrologist
Texas Water Development Board
Ground Water Technical Assistance Section
phone: 512-936-0833
email: rquincy@txwin.net
web: http://www.twdb.state.tx.us/GwRD/waterwell/well_info.asp

>>> "Hiroshi Saito" <z-saito@guitar.ocn.ne.jp> 4/30/2008 5:16 PM >>>
Hi.

Sorry, It is my misstake.
I will repackage psqlODBC with libpq of version 8.3.
However, I have no spere time now..It is weekend.

Regerds,
Hiroshi Saito

"Roger Quincy"
>So what you are saying is that I will have to wait for future versions of PG and PsqlODBC to be released before I will be able to get SSPI to work?
>
>Thanks,
>Roger
>
>Roger M. Quincy, PG
>Hydrologist
>Texas Water Development Board
>Ground Water Technical Assistance Section
>phone: 512-936-0833
>email: rquincy@txwin.net 
>web: http://www.twdb.state.tx.us/GwRD/waterwell/well_info.asp 
>
>
>-- 
>Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
>To make changes to your subscription:
>http://www.postgresql.org/mailpref/pgsql-odbc




^ permalink  raw  reply  [nested|flat] 10+ messages in thread

* Re: Can't create DSN using SSPI authentication WinXP	toWinXP
  2008-04-29 20:10 Can't create DSN using SSPI authentication WinXP to WinXP Roger Quincy <Roger.Quincy@twdb.state.tx.us>
  2008-04-29 22:22 ` Re: Can't create DSN using SSPI authentication WinXP to WinXP Hiroshi Saito <z-saito@guitar.ocn.ne.jp>
  2008-04-30 13:37   ` Re: Can't create DSN using SSPI authentication WinXP to WinXP Roger Quincy <Roger.Quincy@twdb.state.tx.us>
  2008-04-30 14:44     ` Re: Can't create DSN using SSPI authentication WinXP toWinXP Hiroshi Saito <z-saito@guitar.ocn.ne.jp>
  2008-04-30 16:12       ` Re: Can't create DSN using SSPI authentication WinXP toWinXP Roger Quincy <Roger.Quincy@twdb.state.tx.us>
@ 2008-04-30 23:48         ` Jonas Okwara <jokwara@comcast.net>
  1 sibling, 0 replies; 10+ messages in thread

From: Jonas Okwara @ 2008-04-30 23:48 UTC (permalink / raw)
  To: Roger Quincy <Roger.Quincy@twdb.state.tx.us>; +Cc: Hiroshi Saito <z-saito@guitar.ocn.ne.jp>; Hiroshi Inoue <inoue@tpf.co.jp>; pgsql-odbc

Please  STOP SENDING ME THESE  MAILS.

JONAS


Roger Quincy wrote:
> So what you are saying is that I will have to wait for future versions of PG and PsqlODBC to be released before I will be able to get SSPI to work?
>
> Thanks,
> Roger
>
> Roger M. Quincy, PG
> Hydrologist
> Texas Water Development Board
> Ground Water Technical Assistance Section
> phone: 512-936-0833
> email: rquincy@txwin.net
> web: http://www.twdb.state.tx.us/GwRD/waterwell/well_info.asp
>
>
>   




^ permalink  raw  reply  [nested|flat] 10+ messages in thread


end of thread, other threads:[~2008-05-08 11:46 UTC | newest]

Thread overview: 10+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2008-03-25 14:03 Can't create DSN using SSPI authentication WinXP to WinXP Roger Quincy <Roger.Quincy@twdb.state.tx.us>
2008-03-31 03:36 ` Hiroshi Inoue <inoue@tpf.co.jp>
2008-04-29 20:10 Can't create DSN using SSPI authentication WinXP to WinXP Roger Quincy <Roger.Quincy@twdb.state.tx.us>
2008-04-29 22:22 ` Hiroshi Saito <z-saito@guitar.ocn.ne.jp>
2008-04-30 13:37   ` Roger Quincy <Roger.Quincy@twdb.state.tx.us>
2008-04-30 14:44     ` Re: Can't create DSN using SSPI authentication WinXP toWinXP Hiroshi Saito <z-saito@guitar.ocn.ne.jp>
2008-04-30 16:12       ` Re: Can't create DSN using SSPI authentication WinXP toWinXP Roger Quincy <Roger.Quincy@twdb.state.tx.us>
2008-04-30 22:16         ` Re: Can't create DSN using SSPI authentication WinXP toWinXP Hiroshi Saito <z-saito@guitar.ocn.ne.jp>
2008-05-08 11:46           ` Re: Can't create DSN using SSPI authentication WinXP toWinXP Roger Quincy <Roger.Quincy@twdb.state.tx.us>
2008-04-30 23:48         ` Re: Can't create DSN using SSPI authentication WinXP	toWinXP Jonas Okwara <jokwara@comcast.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