| From: | "Oliver Elphick" <olly(at)lfix(dot)co(dot)uk> |
|---|---|
| To: | pgsql-hackers(at)postgresql(dot)org |
| Subject: | Unix sockets connection authentication - patch |
| Date: | 2001-05-03 09:28:39 |
| Message-ID: | 200105030928.f439SdiW030780@linda.lfix.co.uk |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
[apologies if this appears twice; I thought I had sent it but it hasn't
appeared anywhere]
The attached patch implements a method of connection authentication for
Unix sockets that support SCM_CREDENTIALS. This includes Linux kernels
2.2 and 2.4 at least; I don't know what other implementations support
it.
Since it is not universally supported, I have included a configure test.
autoconf needs to be run after installing the patch.
This patch provides a new authentication method "peer" for use with
"local" connections; otherwise it works exactly like the "ident" method.
Please consider including this in PostgreSQL.
| Attachment | Content-Type | Size |
|---|---|---|
| p.diff | text/plain | 9.9 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | mlw | 2001-05-03 12:09:01 | Re: New Linux xfs/reiser file systems |
| Previous Message | Alessio Bragadini | 2001-05-03 09:27:31 | A problem with pg_dump? |