author | Sebastian Harl <sh@tokkee.org> | |
Tue, 9 Dec 2014 14:19:47 +0000 (15:19 +0100) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Tue, 9 Dec 2014 14:19:47 +0000 (15:19 +0100) | ||
commit | f8809a7d245d9147bba60d907dd11a398941d868 | |
tree | 56069b66e792ae470dfed6712d86d5d50f305c96 | tree | snapshot |
parent | a9ae0d1a4c9e2992d932489c96cd63b2ce2a0c56 | commit | diff |
frontend: Get the username of the remote peer from a UNIX socket.
Then, only allow that user to authenticate against the daemon. That is, use
the same as PostgreSQL's "peer" authentication for all connections.
Then, only allow that user to authenticate against the daemon. That is, use
the same as PostgreSQL's "peer" authentication for all connections.