From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Alex Cichowski <e12(at)tfz(dot)net> |
Cc: | pgsql-patches(at)postgresql(dot)org |
Subject: | Re: getpeereid() for local ident |
Date: | 2003-02-03 16:08:50 |
Message-ID: | 200302031608.h13G8ob25448@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-patches |
Your patch has been added to the PostgreSQL unapplied patches list at:
http://momjian.postgresql.org/cgi-bin/pgpatches
I will try to apply it within the next 48 hours.
---------------------------------------------------------------------------
Alex Cichowski wrote:
> Regarding the following "openbsd getpeereid(), local ident:" thread on the
> pgsql-patches list, Nov 2002:
>
> Bruce Momjian wrote:
> > Please send over the patch and I will see if I can get it in. I had
> > meant to add getpeereid() for OpenBSD myself but never go the time.
> > ...
> > William Ahern wrote:
> > > there's a patch for getpeereid() dated Dec 3, 2001. a follow-up post
> > > said that something like it was already in, but "not using
> > > getpeereid". however, openbsd only supports getpeereid(). will this
> > > patch be implemented?
>
> I needed the local ident authentication feature on OpenBSD and it seemed
> simple enough, so I implemented it myself. I have attached my patch, which
> was made for the 7.3.1 source tree. (The patch referenced above seems to
> add a new authentication method rather than extending the current local
> ident support.)
>
> >From the Dec 2001 pgsql-patches thread "Add another AUTHTYPE for
> UNIX-domain connections":
>
> Bruce Momjian wrote:
> > OpenBSD implements only getpeereid(). I have added this to the TODO
> > list. We already have the other BSD's covered, and Linux. I am
> > concerned about moving to getpeereid() on the other BSD's because we
> > have working code already for them and I am not sure how new the OS has
> > to be to have getpeereid() support, i.e. is it in FreeBSD 4.4?
>
> I have put the getpeereid() code last in the #elif chain in this patch, so
> getpeereid() will only be used if there is no other alternative.
>
> If you wish to use this patch, please verify that I have added the
> autoconf check for getpeereid() correctly, as I am not very familiar with
> autoconf.
>
> Sincerely,
> Alex
Content-Description: Patch
[ Attachment, skipping... ]
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
> message can get through to the mailing list cleanly
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
From | Date | Subject | |
---|---|---|---|
Next Message | Neil Conway | 2003-02-03 18:32:22 | documentation improvements |
Previous Message | Bruce Momjian | 2003-02-03 16:02:10 | Re: Doc fix for Create Domains |