mirror of
https://github.com/postgres/postgres.git
synced 2026-06-08 16:26:30 -04:00
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.
This commit is contained in:
parent
84f2f5c023
commit
b1c2781951
1 changed files with 2 additions and 2 deletions
|
|
@ -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 */
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue