Re: [GENERAL] pg_ident mapping Kerberos Usernames

2017-09-11 Thread Jeff Janes
On Sun, Sep 10, 2017 at 4:31 PM, wrote: > > GSSAPI is the authentication mechanism of choice, and it's working fine. > > Here is what I'm trying to accomplish. > > 'user1' == 'user1' and 'us...@a.domain.tld' == 'user1'. > > From reading the docs, this is done via the pg_ident.conf file, and from

Re: [GENERAL] pg_ident mapping Kerberos Usernames

2017-09-11 Thread techmail+pgsql
On 09/11/2017 08:51 AM, rob stone wrote: Hi Rob, How would that work? I was under the impression the first column was for socket type and limited to local, host, hostssl, and hostnossl? Thunderbird's config has been fixed, so here is the line from pg_hba.conf line without the formatting i

Re: [GENERAL] pg_ident mapping Kerberos Usernames

2017-09-11 Thread rob stone
> > > > Hi Rob, > > How would that work? I was under the impression the first column was > for socket type and limited to > local, host, hostssl, and hostnossl? > > Thunderbird's config has been fixed, so here is the line from > pg_hba.conf line without the > formatting issues: > > host al

Re: [GENERAL] pg_ident mapping Kerberos Usernames

2017-09-10 Thread techmail+pgsql
On 09/10/2017 04:27 PM, Jeff Janes wrote: On Sun, Sep 10, 2017 at 11:25 AM, > wrote: On 09/10/2017 02:39 AM, Magnus Hagander wrote: On Sat, Sep 9, 2017 at 6:44 PM, mailto:techmail%2bpg...@dangertoaster.com>

Re: [GENERAL] pg_ident mapping Kerberos Usernames

2017-09-10 Thread Jeff Janes
On Sun, Sep 10, 2017 at 11:25 AM, wrote: > On 09/10/2017 02:39 AM, Magnus Hagander wrote: > >> On Sat, Sep 9, 2017 at 6:44 PM, > > wrote: >> >> Hi, >> >> I'm trying to get pg_ident to map "user1" and "us...@a.domain.tld" >> to "user1" in postgres,

Re: [GENERAL] pg_ident mapping Kerberos Usernames

2017-09-10 Thread techmail+pgsql
On 09/09/2017 09:28 PM, rob stone wrote: On Sat, 2017-09-09 at 20:44 -0500, techmail+pg...@dangertoaster.com wrote: Hi, I'm trying to get pg_ident to map "user1" and "us...@a.domain.tld" to "user1" in postgres, or vice versa. I'm not picky about which way works. Kerberos authentication works

Re: [GENERAL] pg_ident mapping Kerberos Usernames

2017-09-10 Thread techmail+pgsql
On 09/10/2017 02:39 AM, Magnus Hagander wrote: On Sat, Sep 9, 2017 at 6:44 PM, > wrote: Hi, I'm trying to get pg_ident to map "user1" and "us...@a.domain.tld" to "user1" in postgres, or vice versa. I'm not picky about which way works. K

Re: [GENERAL] pg_ident mapping Kerberos Usernames

2017-09-10 Thread Magnus Hagander
On Sat, Sep 9, 2017 at 6:44 PM, wrote: > Hi, > > I'm trying to get pg_ident to map "user1" and "us...@a.domain.tld" to > "user1" in postgres, or vice versa. I'm not picky about which way works. > > Kerberos authentication works. I've gotten "user1" to login successfully > with a Kerberos ticket,

Re: [GENERAL] pg_ident mapping Kerberos Usernames

2017-09-09 Thread rob stone
On Sat, 2017-09-09 at 20:44 -0500, techmail+pg...@dangertoaster.com wrote: > Hi, > > I'm trying to get pg_ident to map "user1" and "us...@a.domain.tld" > to > "user1" in postgres, or vice versa. I'm not picky about which way > works. > > Kerberos authentication works. I've gotten "user1" to lo

[GENERAL] pg_ident mapping Kerberos Usernames

2017-09-09 Thread techmail+pgsql
Hi, I'm trying to get pg_ident to map "user1" and "us...@a.domain.tld" to "user1" in postgres, or vice versa. I'm not picky about which way works. Kerberos authentication works. I've gotten "user1" to login successfully with a Kerberos ticket, but I'm not able to get "us...@a.domain.tld" to