Content-Length: 272609 | pFad | http://github.com/postgrespro/postgres/commit/b1c2781951f31ed8350554d6cd1b01eeb9a9f496

8E Properly return the usermap result when doing gssapi authentication. … · postgrespro/postgres@b1c2781 · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/b1c2781951f31ed8350554d6cd1b01eeb9a9f496

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy