wespvp@syntegra.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@candle.pha.pa.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073