From: | Haidong Huang <haidongh(at)hotmail(dot)com> |
---|---|
To: | "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org> |
Subject: | Need help setting up Windows authentication SSPI user mapping |
Date: | 2023-07-19 14:56:14 |
Message-ID: | CH3PR19MB7260EC29A4E147C6D2EDFAA2C539A@CH3PR19MB7260.namprd19.prod.outlook.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Hi,
I would like to get helo with setting Windows authentication in a testing scenario.
I use Windows 11. Windows connects to AAD and thus I use a windows account. The domain name is na, user name is hai. I also setup a local user account hailocal. My machine name is haisurface
I have PostgreSQL 15 installed locally, and I want to connect to the local PostgreSQL using Windows authentication that is mapped to the postgres user name.
pg_hba.conf:
host all hailocal 127.0.0.1/32 sspi include_realm=0
pg_ident.conf:
win_map hailocal(at)haisurface postgres
The Greenplum OLE DB Provider is unable to connect if I choose to use Windows authentication. The error message is the generic error that is no meaning. Do I have the wrong configuration? if yes, what configuration can I have?
[cid:00560d56-0563-4af8-8de1-ab6eb5946faf]
Thanks in advance
From | Date | Subject | |
---|---|---|---|
Next Message | Adrian Klaver | 2023-07-19 15:36:25 | Re: Fwd: Regarding Installation of PostgreSQL |
Previous Message | Laurenz Albe | 2023-07-19 08:17:25 | Re: Effects of dropping a large table |