Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

@jacobovazquez
Copy link
Contributor

The GSS and SSPI authentication needs the kerberos service name of the PostgreSQL server. The default value is POSTGRES but this value can be changed. The ODBC driver allows to set this value using the configuration option "krbsrvname". This patch allows to send this parameter in the connection string.

If the ip address is used instead of the hostname, the SSPI authentication process uses NTLM authentication. By using the host name it tries first to use Kerberos and if this is not possible NTLM is used.

jacobovazquez and others added 3 commits April 6, 2015 09:45
The GSS and SSPI authentication needs the kerberos service name of the
PostgreSQL server. The default value is POSTGRES but this value can be
changed. The ODBC driver allows to set this value using the
configuration option "krbsrvname". This patch allows to send this
parameter in the connection string.

If the ip address is used instead of the hostname, the SSPI
authentication process uses NTLM authentication. By using the host name
it tries first to use Kerberos and if this is not possible NTLM is used.
The GSS and SSPI authentication needs the kerberos service name of the
PostgreSQL server. The default value is POSTGRES but this value can be
changed. The ODBC driver allows to set this value using the
configuration option "krbsrvname". This patch allows to send this
parameter in the connection string.

If the ip address is used instead of the hostname, the SSPI
authentication process uses NTLM authentication. By using the host name
it tries first to use Kerberos and if this is not possible NTLM is used.
Added values for ConnectionProperty_Description_Krbsrvname and
ConnectionProperty_Display_Krbsrvname to the resource file
roji added a commit that referenced this pull request Apr 6, 2015
Added krbsrvname parameter and use hostname for SSPI authentication to 2.2
@roji roji merged commit a0399f6 into npgsql:2.2 Apr 6, 2015
@roji
Copy link
Member

roji commented Apr 6, 2015

Thanks for backporting this

@roji roji added this to the 2.2.6 milestone Apr 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.