Commit b1c27819 authored by Magnus Hagander's avatar Magnus Hagander

Properly return the usermap result when doing gssapi authentication. Without

this, the username was in practice never matched against the kerberos principal
used to log in.
parent 84f2f5c0
......@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/libpq/auth.c,v 1.180 2009/04/01 03:23:50 tgl Exp $
* $PostgreSQL: pgsql/src/backend/libpq/auth.c,v 1.181 2009/05/27 21:08:22 mha Exp $
*
*-------------------------------------------------------------------------
*/
......@@ -1073,7 +1073,7 @@ pg_GSS_recvauth(Port *port)
gss_release_buffer(&lmin_s, &gbuf);
return STATUS_OK;
return ret;
}
#endif /* ENABLE_GSS */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment