Skip to content
Snippets Groups Projects
Commit b1c27819 authored by Magnus Hagander's avatar Magnus Hagander
Browse files

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
No related branches found
No related tags found
No related merge requests found
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* *
* *
* IDENTIFICATION * 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) ...@@ -1073,7 +1073,7 @@ pg_GSS_recvauth(Port *port)
gss_release_buffer(&lmin_s, &gbuf); gss_release_buffer(&lmin_s, &gbuf);
return STATUS_OK; return ret;
} }
#endif /* ENABLE_GSS */ #endif /* ENABLE_GSS */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment