Re: Including kerberos realm - Mailing list pgsql-hackers

From Magnus Hagander
Subject Re: Including kerberos realm
Date
Msg-id 495E17F6.8070607@hagander.net
Whole thread Raw
In response to Re: Including kerberos realm  (Alvaro Herrera <alvherre@commandprompt.com>)
Responses Re: Including kerberos realm  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Alvaro Herrera wrote:
> Magnus Hagander wrote:
>> Here's the patch allowing for the parameter include_realm on
>> pg_hba.conf, that makes the authentication system pass the user@realm
>> format username to the identmap, instead of stripping the realm.
> 
> Not that this affects me in any way, but should there be a GUC variable
> to set the default behavior system-wide?

I thought about that, but I don't want to add extra gucs without a good
reason. You'd typically not have very many different lines in pg_hba for
this, and just duplicating the parameter there would be ok I think.

I'd rather move more of the krb parameters to be *just* in pg_hba.conf,
but for now I left those in postgresql.conf as fallbacks..

//Magnus


pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Including kerberos realm
Next
From: Peter Eisentraut
Date:
Subject: Re: pg_pltemplate entries for external PLs