Re: backend hba.c prob

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: bpalmer <bpalmer(at)crimelabs(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: backend hba.c prob
Date: 2001-09-07 20:06:46
Message-ID: 200109072006.f87K6kb20765@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-ports

> On Fri, 7 Sep 2001, Bruce Momjian wrote:
>
> > > gcc -O2 -pipe -g -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../src/include -c -o hba.o hba.c
> > > hba.c: In function `ident_unix':
> > > hba.c:923: sizeof applied to an incomplete type
> > > hba.c:960: dereferencing pointer to incomplete type
> > > hba.c:965: dereferencing pointer to incomplete type
> > > gmake: *** [hba.o] Error 1
>
> > The code currently runs on FreeBSD and BSD/OS. Right now, it tests for
> > BSD/OS and if it fails, assume it is FreeBSD. That is what the #ifndef
> > fc_uid is for. Now, I assume you are on a *BSD which is not one of
> > those. Do you have a struct fcred? I will browse your OS headers as
> > soon as I know your OS.
>
> Yeah, i'm seeing the same problem on OpenBSD-current (and 2.9). No Cred
> anywhere!
>
> This:
>
> root(at)mizer:/usr/src$ egrep -r "fcred" *
>
> turned up nothing interesting either.

OK, CVS should compile on OpenBSD now. However, there is no SCM_CREDS
capability on OpenBSD that I can see so 'ident' will not work on 'local'
in pg_hba.conf.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2001-09-07 20:11:25 Re: encoding: ODBC, createdb
Previous Message Bruce Momjian 2001-09-07 20:05:58 Re: backend hba.c prob

Browse pgsql-ports by date

  From Date Subject
Next Message Jonathan Asbell 2001-09-08 13:20:45 problems with Suse 7.2 install
Previous Message Bruce Momjian 2001-09-07 20:05:58 Re: backend hba.c prob