mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-04 16:45:24 +00:00
3096. [bug] Set KRB5_KTNAME before calling log_cred() in
dst_gssapi_acceptctx(). [RT #24004]
This commit is contained in:
3
CHANGES
3
CHANGES
@@ -1,3 +1,6 @@
|
|||||||
|
3096. [bug] Set KRB5_KTNAME before calling log_cred() in
|
||||||
|
dst_gssapi_acceptctx(). [RT #24004]
|
||||||
|
|
||||||
3095. [bug] Handle isolated reserved ports in the port range.
|
3095. [bug] Handle isolated reserved ports in the port range.
|
||||||
[RT #23957]
|
[RT #23957]
|
||||||
|
|
||||||
|
@@ -15,7 +15,7 @@
|
|||||||
* PERFORMANCE OF THIS SOFTWARE.
|
* PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: gssapictx.c,v 1.27 2011/03/28 05:20:08 marka Exp $ */
|
/* $Id: gssapictx.c,v 1.28 2011/04/07 23:03:22 marka Exp $ */
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
|
||||||
@@ -650,8 +650,6 @@ dst_gssapi_acceptctx(gss_cred_id_t cred,
|
|||||||
|
|
||||||
REQUIRE(outtoken != NULL && *outtoken == NULL);
|
REQUIRE(outtoken != NULL && *outtoken == NULL);
|
||||||
|
|
||||||
log_cred(cred);
|
|
||||||
|
|
||||||
REGION_TO_GBUFFER(*intoken, gintoken);
|
REGION_TO_GBUFFER(*intoken, gintoken);
|
||||||
|
|
||||||
if (*ctxout == NULL)
|
if (*ctxout == NULL)
|
||||||
@@ -687,6 +685,8 @@ dst_gssapi_acceptctx(gss_cred_id_t cred,
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
log_cred(cred);
|
||||||
|
|
||||||
gret = gss_accept_sec_context(&minor, &context, cred, &gintoken,
|
gret = gss_accept_sec_context(&minor, &context, cred, &gintoken,
|
||||||
GSS_C_NO_CHANNEL_BINDINGS, &gname,
|
GSS_C_NO_CHANNEL_BINDINGS, &gname,
|
||||||
NULL, &gouttoken, NULL, NULL, NULL);
|
NULL, &gouttoken, NULL, NULL, NULL);
|
||||||
|
Reference in New Issue
Block a user