1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

r7240: Don't call our fancy error message routines on a null context.

Andrew Bartlett
(This used to be commit 35877387c8)
This commit is contained in:
Andrew Bartlett 2005-06-03 14:30:03 +00:00 committed by Gerald (Jerry) Carter
parent e331dcbc32
commit 752ffdf49c

View File

@ -280,8 +280,7 @@ static NTSTATUS gensec_krb5_start(struct gensec_security *gensec_security)
ret = krb5_init_context(&gensec_krb5_state->context);
if (ret) {
DEBUG(1,("gensec_krb5_start: krb5_init_context failed (%s)\n",
smb_get_krb5_error_message(gensec_krb5_state->context,
ret, gensec_krb5_state)));
error_message(ret)));
return NT_STATUS_INTERNAL_ERROR;
}