From: Marc G. Fournier Date: Tue, 25 Mar 1997 00:54:15 +0000 (+0000) Subject: I don't know whether this breaks what the previous person tried to X-Git-Tag: REL6_1~438 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=424e43326bd581386d5b48ee84a2eb6816e28f88;p=thirdparty%2Fpostgresql.git I don't know whether this breaks what the previous person tried to fix, but figure I"ll know soon enough, eh? Patch submitted by Dan McGuirk --- diff --git a/src/backend/libpq/auth.c b/src/backend/libpq/auth.c index 8864f8233e8..b191c03cbff 100644 --- a/src/backend/libpq/auth.c +++ b/src/backend/libpq/auth.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/libpq/auth.c,v 1.10 1997/03/18 21:46:31 scrappy Exp $ + * $Header: /cvsroot/pgsql/src/backend/libpq/auth.c,v 1.11 1997/03/25 00:54:15 scrappy Exp $ * *------------------------------------------------------------------------- */ @@ -438,14 +438,13 @@ be_recvauth(MsgType msgtype_arg, Port *port, char *username, StartupInfo* sp) what used to be the only choice, but installation may choose "hba" instead. */ - if (msgtype_arg != STARTUP_KRB4_MSG && msgtype_arg != STARTUP_KRB5_MSG) { - if (msgtype_arg == STARTUP_MSG && useHostBasedAuth) - msgtype = STARTUP_HBA_MSG; - else - msgtype = STARTUP_UNAUTH_MSG; - } else { - msgtype = msgtype_arg; - } + if (msgtype_arg == STARTUP_MSG) { + if(useHostBasedAuth) + msgtype = STARTUP_HBA_MSG; + else + msgtype = STARTUP_UNAUTH_MSG; + } else + msgtype = msgtype_arg; if (!username) {