Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement SSPI authentication #1128

Merged
merged 2 commits into from Mar 11, 2024
Merged

Commits on Mar 6, 2024

  1. Implement SSPI authentication

    SSPI is a Windows technology for secure authentication. SSPI and GSSAPI
    interoperate as clients and servers. Postgres documentation recommends
    using SSPI on Windows clients and servers and GSSAPI on non-Windows
    platforms[1].
    
    Changes in this PR:
    
    * Support AUTH_REQUIRED_SSPI server request. This is the same as
      AUTH_REQUIRED_GSS, except it allows negotiation with SSPI clients.
    
    * Allow using SSPI on the client. Which library to use can be specified
      using the `gsslib` connection parameter.
    
    * Use SSPI instead of GSSAPI on Windows by default. The latter requires
      installing Kerberos for Windows and is unlikely to work out of the
      box.
    
    Closes MagicStack#142
    
    [1] https://www.postgresql.org/docs/current/sspi-auth.html
    eltoder committed Mar 6, 2024
    Configuration menu
    Copy the full SHA
    69375b1 View commit details
    Browse the repository at this point in the history

Commits on Mar 9, 2024

  1. Configuration menu
    Copy the full SHA
    3ced615 View commit details
    Browse the repository at this point in the history