Re: backend hba.c prob - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: backend hba.c prob
Date
Msg-id 200109072006.f87K6kb20765@candle.pha.pa.us
Whole thread Raw
In response to Re: backend hba.c prob  (bpalmer <bpalmer@crimelabs.net>)
List pgsql-hackers
> 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@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@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: backend hba.c prob
Next
From: Bruce Momjian
Date:
Subject: Re: encoding: ODBC, createdb