pgsql-server/src backend/libpq/auth.c interfac ...
pgsql-server/src backend/libpq/auth.c interfac ...
От:
momjian@svr1.postgresql.org (Bruce Momjian)
Дата:
CVSROOT: /cvsroot Module name: pgsql-server Changes by: momjian@svr1.postgresql.org 03/06/24 22:19:47 Modified files: src/backend/libpq: auth.c src/interfaces/libpq: fe-auth.c Log message: > 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