Thanks Magnus, you are awesome!
James Date: Wed, 1 Jul 2015 08:38:45 +0200 Subject: Re: [ADMIN] Postgresql gss user map doesn't work From: magnus@xxxxxxxxxxxx To: jamesxu@xxxxxxxxxxx CC: pgsql-admin@xxxxxxxxxxxxxx On Tue, Jun 30, 2015 at 11:37 PM, xujian <jamesxu@xxxxxxxxxxx> wrote:
Yes, that is working as intended. You always have to tell postgres which user you want to log in with, pg_ident only allows you to authenticate with a different name, you still have to tell the system which one you want. You can also put the username in the PGUSER environment variable if it's something you want to deploy across many users. |