OSDN Git Service

> This change (I'm sure this will wrap poorly -- sorry):
authorBruce Momjian <bruce@momjian.us>
Wed, 25 Jun 2003 01:19:47 +0000 (01:19 +0000)
committerBruce Momjian <bruce@momjian.us>
Wed, 25 Jun 2003 01:19:47 +0000 (01:19 +0000)
commitd9ddbdaa95ee72f8a7a5a07ecf43ebc90a961573
tree39f3e96aeac629c791bbbaefd7776ca2f621fb7d
parentafb17d912b4cb39dc31346dbb1d4816d5d0d687c
> 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.

This patch should hopefully fix both kerberos 4 and 5.

Kurt Roeckx
src/backend/libpq/auth.c
src/interfaces/libpq/fe-auth.c