mirror of
https://github.com/samba-team/samba.git
synced 2025-08-03 04:22:09 +03:00
r16235: Don't update minor_status when cleaning up on error. This restores
sensible log messages to gensec_gssapi.
Andrew Bartlett
(This used to be commit df2e4f061f
)
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
d4c5627073
commit
b3076a39b9
@ -700,7 +700,7 @@ gsskrb5_accept_sec_context
|
||||
OM_uint32 ret = GSS_S_COMPLETE;
|
||||
krb5_data fwd_data;
|
||||
gss_ctx_id_t local_context;
|
||||
|
||||
OM_uint32 minor_status2;
|
||||
GSSAPI_KRB5_INIT();
|
||||
|
||||
krb5_data_zero (&fwd_data);
|
||||
@ -772,7 +772,7 @@ gsskrb5_accept_sec_context
|
||||
if (ret == GSS_S_COMPLETE || ret == GSS_S_CONTINUE_NEEDED) {
|
||||
*context_handle = local_context;
|
||||
} else {
|
||||
gss_delete_sec_context(minor_status,
|
||||
gss_delete_sec_context(&minor_status2,
|
||||
&local_context,
|
||||
NULL);
|
||||
}
|
||||
|
Reference in New Issue
Block a user