diff --git a/src/backend/libpq/auth.c b/src/backend/libpq/auth.c
index 2edc919c6d25e19a3c338d1a5d8e10a9d5df9a03..2b0d2d65a8b9d00dad770c4e163736c3ad82ea89 100644
--- a/src/backend/libpq/auth.c
+++ b/src/backend/libpq/auth.c
@@ -8,7 +8,7 @@
  *
  *
  * IDENTIFICATION
- *	  $Header: /cvsroot/pgsql/src/backend/libpq/auth.c,v 1.100 2003/04/22 00:08:06 tgl Exp $
+ *	  $Header: /cvsroot/pgsql/src/backend/libpq/auth.c,v 1.101 2003/04/25 03:28:55 tgl Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -119,10 +119,10 @@ pg_krb4_recvauth(Port *port)
 			 version, PG_KRB4_VERSION);
 		return STATUS_ERROR;
 	}
-	if (strncmp(port->user, auth_data.pname, SM_DATABASE_USER) != 0)
+	if (strncmp(port->user_name, auth_data.pname, SM_DATABASE_USER) != 0)
 	{
 		elog(LOG, "pg_krb4_recvauth: name \"%s\" != \"%s\"",
-			 port->user, auth_data.pname);
+			 port->user_name, auth_data.pname);
 		return STATUS_ERROR;
 	}
 	return STATUS_OK;
@@ -291,10 +291,10 @@ pg_krb5_recvauth(Port *port)
 	}
 
 	kusername = pg_an_to_ln(kusername);
-	if (strncmp(port->user, kusername, SM_DATABASE_USER))
+	if (strncmp(port->user_name, kusername, SM_DATABASE_USER))
 	{
 		elog(LOG, "pg_krb5_recvauth: user name \"%s\" != krb5 name \"%s\"",
-			 port->user, kusername);
+			 port->user_name, kusername);
 		ret = STATUS_ERROR;
 	}
 	else
@@ -488,7 +488,7 @@ ClientAuthentication(Port *port)
 #ifdef USE_PAM
 		case uaPAM:
 			pam_port_cludge = port;
-			status = CheckPAMAuth(port, port->user, "");
+			status = CheckPAMAuth(port, port->user_name, "");
 			break;
 #endif   /* USE_PAM */