summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2005-06-03 14:30:03 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:17:30 -0500
commit752ffdf49c37a9396ae22cbd9661bf87fe599250 (patch)
treebc58c552c604daec2924ca52ce1364cecb7501da /source4
parente331dcbc32e4b2fccb964af908f3fdce031fa6bf (diff)
downloadsamba-752ffdf49c37a9396ae22cbd9661bf87fe599250.tar.gz
samba-752ffdf49c37a9396ae22cbd9661bf87fe599250.tar.bz2
samba-752ffdf49c37a9396ae22cbd9661bf87fe599250.zip
r7240: Don't call our fancy error message routines on a null context.
Andrew Bartlett (This used to be commit 35877387c8e345d30d7598d1a139067a26cc1f7f)
Diffstat (limited to 'source4')
-rw-r--r--source4/auth/gensec/gensec_krb5.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/auth/gensec/gensec_krb5.c b/source4/auth/gensec/gensec_krb5.c
index 9e2d113cb8..1ac46f3ac9 100644
--- a/source4/auth/gensec/gensec_krb5.c
+++ b/source4/auth/gensec/gensec_krb5.c
@@ -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;
}