How can I configure PostgreSQL to use Windows Authentication?

后端 未结 2 2008
走了就别回头了
走了就别回头了 2021-02-05 07:35

I am trying to setup PostgreSQL and allow only certain Windows users to access the data from the database. Setting up Windows Authentication is Quite easy with MS SQL, but I can

2条回答
  •  我寻月下人不归
    2021-02-05 08:27

    If anyone else encouters this like I did so starting from 9.5 you wil need to add an optional parameter both to the ipv4 and ipv6 in order for this to work

    include_realm=0

    so the whole thing will look like

    host all your_username 127.0.0.1/32 sspi include_realm=0
    

提交回复
热议问题