summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/libads/kerberos_keytab.c2
-rw-r--r--source3/libsmb/clikrb5.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/libads/kerberos_keytab.c b/source3/libads/kerberos_keytab.c
index 7847b689c2..46d00ba8c4 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 82796d39cc..96c18c3a8c 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 ) {