From 110e420196bcaf87d8d434b3680100d9b265a879 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnther=20Deschner?= Date: Fri, 29 Jun 2007 09:58:11 +0000 Subject: [PATCH] r23651: Always, always, always compile before commit... Guenther (This used to be commit accb40446ad3f872c5167fc2306d892553293b7b) --- source3/libads/kerberos_keytab.c | 2 +- source3/libsmb/clikrb5.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source3/libads/kerberos_keytab.c b/source3/libads/kerberos_keytab.c index 7847b689c2f..46d00ba8c47 100644 --- a/source3/libads/kerberos_keytab.c +++ b/source3/libads/kerberos_keytab.c @@ -550,7 +550,7 @@ int ads_keytab_create_default(ADS_STRUCT *ads) ret = smb_krb5_open_keytab(context, NULL, True, &keytab); if (ret) { DEBUG(1,("ads_keytab_create_default: smb_krb5_open_keytab failed (%s)\n", error_message(ret))); - goto out; + goto done; } ret = krb5_kt_start_seq_get(context, keytab, &cursor); diff --git a/source3/libsmb/clikrb5.c b/source3/libsmb/clikrb5.c index 82796d39ccd..96c18c3a8c8 100644 --- a/source3/libsmb/clikrb5.c +++ b/source3/libsmb/clikrb5.c @@ -954,7 +954,7 @@ get_key_from_keytab(krb5_context context, ret = smb_krb5_open_keytab(context, NULL, False, &keytab); if (ret) { DEBUG(1,("get_key_from_keytab: smb_krb5_open_keytab failed (%s)\n", error_message(ret))); - goto out; + return ret; } if ( DEBUGLEVEL >= 10 ) {