Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit b1c2781

Browse files
committed
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.
1 parent 84f2f5c commit b1c2781

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/libpq/auth.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/backend/libpq/auth.c,v 1.180 2009/04/01 03:23:50 tgl Exp $
11+
* $PostgreSQL: pgsql/src/backend/libpq/auth.c,v 1.181 2009/05/27 21:08:22 mha Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -1073,7 +1073,7 @@ pg_GSS_recvauth(Port *port)
10731073

10741074
gss_release_buffer(&lmin_s, &gbuf);
10751075

1076-
return STATUS_OK;
1076+
return ret;
10771077
}
10781078
#endif /* ENABLE_GSS */
10791079

0 commit comments

Comments
 (0)