pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #16320: GSSAPI Error
7+ messages / 4 participants
[nested] [flat]

* BUG #16320: GSSAPI Error
@ 2020-03-26 19:13 PG Bug reporting form <noreply@postgresql.org>
  2020-03-26 19:21 ` Re: BUG #16320: GSSAPI Error Fahar Abbas <fahar.abbas@enterprisedb.com>
  2020-03-27 16:30 ` Re: BUG #16320: GSSAPI Error Stephen Frost <sfrost@snowman.net>
  0 siblings, 2 replies; 7+ messages in thread

From: PG Bug reporting form @ 2020-03-26 19:13 UTC (permalink / raw)
  To: pgsql-bugs@lists.postgresql.org; +Cc: brahmbhattkinjal18@gmail.com

The following bug has been logged on the website:

Bug reference:      16320
Logged by:          Kinjal Brahmbhatt
Email address:      brahmbhattkinjal18@gmail.com
PostgreSQL version: 12.2
Operating system:   Mac
Description:        

Hello, i tried to uninstall and reinstall the Postgresql multiple times, but
every time i go to enter my password, it gives me a GSSAPI error. 

Please advise. 

Thank you,
Kinjal Brahmbhatt



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* Re: BUG #16320: GSSAPI Error
  2020-03-26 19:13 BUG #16320: GSSAPI Error PG Bug reporting form <noreply@postgresql.org>
@ 2020-03-26 19:21 ` Fahar Abbas <fahar.abbas@enterprisedb.com>
  1 sibling, 0 replies; 7+ messages in thread

From: Fahar Abbas @ 2020-03-26 19:21 UTC (permalink / raw)
  To: brahmbhattkinjal18@gmail.com; pgsql-bugs@lists.postgresql.org

Hi Kinjal,

What is the version of MAC OS X?

Can you please share screen-shot and install-postgresql.log file under /tmp
folder?

On Fri, Mar 27, 2020 at 12:14 AM PG Bug reporting form <
noreply@postgresql.org> wrote:

> The following bug has been logged on the website:
>
> Bug reference:      16320
> Logged by:          Kinjal Brahmbhatt
> Email address:      brahmbhattkinjal18@gmail.com
> PostgreSQL version: 12.2
> Operating system:   Mac
> Description:
>
> Hello, i tried to uninstall and reinstall the Postgresql multiple times,
> but
> every time i go to enter my password, it gives me a GSSAPI error.
>
> Please advise.
>
> Thank you,
> Kinjal Brahmbhatt
>
>

-- 
Fahar Abbas
QMG
EnterpriseDB Corporation
Phone Office: +92-51-835-8874
Phone Direct: +92-51-8466803
Mobile: +92-333-5409707
Skype ID: *live:fahar.abbas*
Website: www.enterprisedb.com

^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* Re: BUG #16320: GSSAPI Error
  2020-03-26 19:13 BUG #16320: GSSAPI Error PG Bug reporting form <noreply@postgresql.org>
@ 2020-03-27 16:30 ` Stephen Frost <sfrost@snowman.net>
  2020-03-27 19:15   ` Re: BUG #16320: GSSAPI Error Tom Lane <tgl@sss.pgh.pa.us>
  1 sibling, 1 reply; 7+ messages in thread

From: Stephen Frost @ 2020-03-27 16:30 UTC (permalink / raw)
  To: brahmbhattkinjal18@gmail.com; pgsql-bugs@lists.postgresql.org

Greetings,

* PG Bug reporting form (noreply@postgresql.org) wrote:
> Hello, i tried to uninstall and reinstall the Postgresql multiple times, but
> every time i go to enter my password, it gives me a GSSAPI error. 

You're probably getting bit by the broken GSSAPI library on OSX.  Try
installing a supported library (MIT Kerberos or Heimdal).

Thanks,

Stephen

Attachments:

  signature.asc (application/pgp-signature, 818B) download

^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* Re: BUG #16320: GSSAPI Error
  2020-03-26 19:13 BUG #16320: GSSAPI Error PG Bug reporting form <noreply@postgresql.org>
  2020-03-27 16:30 ` Re: BUG #16320: GSSAPI Error Stephen Frost <sfrost@snowman.net>
@ 2020-03-27 19:15   ` Tom Lane <tgl@sss.pgh.pa.us>
  2020-03-27 19:57     ` Re: BUG #16320: GSSAPI Error Stephen Frost <sfrost@snowman.net>
  0 siblings, 1 reply; 7+ messages in thread

From: Tom Lane @ 2020-03-27 19:15 UTC (permalink / raw)
  To: Stephen Frost <sfrost@snowman.net>; +Cc: brahmbhattkinjal18@gmail.com; pgsql-bugs@lists.postgresql.org

Stephen Frost <sfrost@snowman.net> writes:
> * PG Bug reporting form (noreply@postgresql.org) wrote:
>> Hello, i tried to uninstall and reinstall the Postgresql multiple times, but
>> every time i go to enter my password, it gives me a GSSAPI error. 

> You're probably getting bit by the broken GSSAPI library on OSX.  Try
> installing a supported library (MIT Kerberos or Heimdal).

Should we document somewhere that we consider that unsupported?
Trying it here, I see a bunch of "deprecation" warnings during
the build, but it does build --- which might lead people to expect
that it'd work.

			regards, tom lane





^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* Re: BUG #16320: GSSAPI Error
  2020-03-26 19:13 BUG #16320: GSSAPI Error PG Bug reporting form <noreply@postgresql.org>
  2020-03-27 16:30 ` Re: BUG #16320: GSSAPI Error Stephen Frost <sfrost@snowman.net>
  2020-03-27 19:15   ` Re: BUG #16320: GSSAPI Error Tom Lane <tgl@sss.pgh.pa.us>
@ 2020-03-27 19:57     ` Stephen Frost <sfrost@snowman.net>
  2020-03-27 20:36       ` Re: BUG #16320: GSSAPI Error Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 7+ messages in thread

From: Stephen Frost @ 2020-03-27 19:57 UTC (permalink / raw)
  To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: brahmbhattkinjal18@gmail.com; pgsql-bugs@lists.postgresql.org

Greetings,

* Tom Lane (tgl@sss.pgh.pa.us) wrote:
> Stephen Frost <sfrost@snowman.net> writes:
> > * PG Bug reporting form (noreply@postgresql.org) wrote:
> >> Hello, i tried to uninstall and reinstall the Postgresql multiple times, but
> >> every time i go to enter my password, it gives me a GSSAPI error. 
> 
> > You're probably getting bit by the broken GSSAPI library on OSX.  Try
> > installing a supported library (MIT Kerberos or Heimdal).
> 
> Should we document somewhere that we consider that unsupported?
> Trying it here, I see a bunch of "deprecation" warnings during
> the build, but it does build --- which might lead people to expect
> that it'd work.

There had been discussion on another thread about trying to figure out a
way to detect the OSX GSSAPI library and refuse to build with GSSAPI
support when that's what we'd be building against.  I didn't see anyone
post a patch though and I haven't got an OSX box to play with myself
easily at hand.

Thanks,

Stephen

Attachments:

  signature.asc (application/pgp-signature, 818B) download

^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* Re: BUG #16320: GSSAPI Error
  2020-03-26 19:13 BUG #16320: GSSAPI Error PG Bug reporting form <noreply@postgresql.org>
  2020-03-27 16:30 ` Re: BUG #16320: GSSAPI Error Stephen Frost <sfrost@snowman.net>
  2020-03-27 19:15   ` Re: BUG #16320: GSSAPI Error Tom Lane <tgl@sss.pgh.pa.us>
  2020-03-27 19:57     ` Re: BUG #16320: GSSAPI Error Stephen Frost <sfrost@snowman.net>
@ 2020-03-27 20:36       ` Tom Lane <tgl@sss.pgh.pa.us>
  2020-03-27 21:08         ` Re: BUG #16320: GSSAPI Error Stephen Frost <sfrost@snowman.net>
  0 siblings, 1 reply; 7+ messages in thread

From: Tom Lane @ 2020-03-27 20:36 UTC (permalink / raw)
  To: Stephen Frost <sfrost@snowman.net>; +Cc: brahmbhattkinjal18@gmail.com; pgsql-bugs@lists.postgresql.org

Stephen Frost <sfrost@snowman.net> writes:
> * Tom Lane (tgl@sss.pgh.pa.us) wrote:
>> Should we document somewhere that we consider that unsupported?
>> Trying it here, I see a bunch of "deprecation" warnings during
>> the build, but it does build --- which might lead people to expect
>> that it'd work.

> There had been discussion on another thread about trying to figure out a
> way to detect the OSX GSSAPI library and refuse to build with GSSAPI
> support when that's what we'd be building against.  I didn't see anyone
> post a patch though and I haven't got an OSX box to play with myself
> easily at hand.

Just poking around, it looks like something along this line would work:

#ifdef GSSKRB_APPLE_DEPRECATED
#error "Postgres doesn't work with the macOS GSSAPI library, please use XXX instead."
#endif

(in any suitable spot after #including gssapi.h)

Now, this is testing the *headers* not the actual *library*, which in
some sense is not the right thing.  But it's probably close enough for
the purpose.

			regards, tom lane





^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* Re: BUG #16320: GSSAPI Error
  2020-03-26 19:13 BUG #16320: GSSAPI Error PG Bug reporting form <noreply@postgresql.org>
  2020-03-27 16:30 ` Re: BUG #16320: GSSAPI Error Stephen Frost <sfrost@snowman.net>
  2020-03-27 19:15   ` Re: BUG #16320: GSSAPI Error Tom Lane <tgl@sss.pgh.pa.us>
  2020-03-27 19:57     ` Re: BUG #16320: GSSAPI Error Stephen Frost <sfrost@snowman.net>
  2020-03-27 20:36       ` Re: BUG #16320: GSSAPI Error Tom Lane <tgl@sss.pgh.pa.us>
@ 2020-03-27 21:08         ` Stephen Frost <sfrost@snowman.net>
  0 siblings, 0 replies; 7+ messages in thread

From: Stephen Frost @ 2020-03-27 21:08 UTC (permalink / raw)
  To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: brahmbhattkinjal18@gmail.com; pgsql-bugs@lists.postgresql.org

Greetings,

* Tom Lane (tgl@sss.pgh.pa.us) wrote:
> Stephen Frost <sfrost@snowman.net> writes:
> > * Tom Lane (tgl@sss.pgh.pa.us) wrote:
> >> Should we document somewhere that we consider that unsupported?
> >> Trying it here, I see a bunch of "deprecation" warnings during
> >> the build, but it does build --- which might lead people to expect
> >> that it'd work.
> 
> > There had been discussion on another thread about trying to figure out a
> > way to detect the OSX GSSAPI library and refuse to build with GSSAPI
> > support when that's what we'd be building against.  I didn't see anyone
> > post a patch though and I haven't got an OSX box to play with myself
> > easily at hand.
> 
> Just poking around, it looks like something along this line would work:
> 
> #ifdef GSSKRB_APPLE_DEPRECATED
> #error "Postgres doesn't work with the macOS GSSAPI library, please use XXX instead."
> #endif
> 
> (in any suitable spot after #including gssapi.h)
> 
> Now, this is testing the *headers* not the actual *library*, which in
> some sense is not the right thing.  But it's probably close enough for
> the purpose.

Sounds good to me.

Thanks,

Stephen

Attachments:

  signature.asc (application/pgp-signature, 818B) download

^ permalink  raw  reply  [nested|flat] 7+ messages in thread


end of thread, other threads:[~2020-03-27 21:08 UTC | newest]

Thread overview: 7+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2020-03-26 19:13 BUG #16320: GSSAPI Error PG Bug reporting form <noreply@postgresql.org>
2020-03-26 19:21 ` Fahar Abbas <fahar.abbas@enterprisedb.com>
2020-03-27 16:30 ` Stephen Frost <sfrost@snowman.net>
2020-03-27 19:15   ` Tom Lane <tgl@sss.pgh.pa.us>
2020-03-27 19:57     ` Stephen Frost <sfrost@snowman.net>
2020-03-27 20:36       ` Tom Lane <tgl@sss.pgh.pa.us>
2020-03-27 21:08         ` Stephen Frost <sfrost@snowman.net>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox