Skip site navigation (1) Skip section navigation (2)

Re: [PATCH] user mapping extension to pg_ident.conf

From: Lars Kanis <kanis(at)comcard(dot)de>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Stephen Frost <sfrost(at)snowman(dot)net>
Cc: Magnus Hagander <magnus(at)hagander(dot)net>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [PATCH] user mapping extension to pg_ident.conf
Date: 2009-06-30 10:18:42
Message-ID: 200906301218.46589.kanis@comcard.de (view raw or flat)
Thread:
Lists: pgsql-hackers
> # MAPNAME      SYSTEM-USERNAME        PG-USERNAME   EFFECTIVE-USERNAME
> gssapi-user    /^(.*)@domain\.com$    simple-role   \1
> gssapi-user    /^user_a(at)domain\(dot)com$  super-role    user_a
> gssapi-user    /^user_c(at)domain\(dot)com$  super-role    user_c

My fault. The lower lines should be:
gssapi-user    /^user_a(at)domain\(dot)com$  super-role    super_user_a
gssapi-user    /^user_c(at)domain\(dot)com$  super-role    super_user_c


regards
Lars Kanis

In response to

pgsql-hackers by date

Next:From: abdelhak benmohamedDate: 2009-06-30 11:13:47
Subject: use of pg_stat_database
Previous:From: Lars KanisDate: 2009-06-30 09:07:03
Subject: Re: [PATCH] user mapping extension to pg_ident.conf

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group