| From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
|---|---|
| To: | wespvp(at)syntegra(dot)com |
| Cc: | PostgreSQL <pgsql-general(at)postgresql(dot)org> |
| Subject: | Re: Ident authentication is not supported on local connections |
| Date: | 2004-03-23 21:37:39 |
| Message-ID: | 200403232137.i2NLbd703493@candle.pha.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
wespvp(at)syntegra(dot)com wrote:
> I'm running PostgreSQL 7.4.1 and trying to use an application on Solaris
> that relies on "ident sameuser". In the postgres log I get:
>
> "Ident authentication is not supported on local connections on this
> platform"
>
> The only thread I could find on this seems to indicate a patch was put in
> way back at 7.1.2.
>
> Is there a way to get this to work on Solaris?
It can be added if you tell us how you can find out who is the user on
the other end of a unix domain socket. See src/backend/libpq/auth.h and
hba.c and look for mentions of CRED to see how other platforms do it.
It is usually some system call like get/setsockopt().
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2004-03-23 21:59:45 | Re: linked list rewrite |
| Previous Message | Bill Moran | 2004-03-23 21:36:58 | Re: partial VACUUM FULL |