Re: compile failure on cvs tip --with-krb5

From: Kurt Roeckx <Q(at)ping(dot)be>
To: Joe Conway <mail(at)joeconway(dot)com>
Cc: "Hackers (PostgreSQL)" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: compile failure on cvs tip --with-krb5
Date: 2003-06-21 10:49:26
Message-ID: 20030621104926.GA2021@ping.be
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Jun 20, 2003 at 07:48:02PM -0700, Joe Conway wrote:
> This change (I'm sure this will wrap poorly -- sorry):
> http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/include/libpq/pqcomm.h.diff?r1=1.85&r2=1.86
>
> modified SockAddr, but no corresponding change was made here
> (fe-auth.c:612):
>
> case AUTH_REQ_KRB5:
> #ifdef KRB5
> if (pg_krb5_sendauth(PQerrormsg, conn->sock, &conn->laddr.in,
> &conn->raddr.in,
> hostname) != STATUS_OK)
>
> It's not obvious to me what the change ought to be though.

Please try the attached patch.

I'll try to change kerberos 4 later if I can find some
documentation about it. Especially the krb_sendauth() function.

Does Kerberos 4 support other protocols than ipv4?

Kurt

Attachment Content-Type Size
krb5.diff text/plain 1.0 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message alvis 2003-06-21 11:35:53 Re: Two weeks to feature freeze
Previous Message Dann Corbit 2003-06-21 07:16:07 Re: Two weeks to feature freeze