summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2007-06-29 09:58:11 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:23:41 -0500
commit110e420196bcaf87d8d434b3680100d9b265a879 (patch)
treed1e18e37e66f50f34b9cb7bf537a1e45d22c9fb7
parent3b1956f9d2ad36dfc8c10a4ce22ee05a138bd2f9 (diff)
downloadsamba-110e420196bcaf87d8d434b3680100d9b265a879.tar.gz
samba-110e420196bcaf87d8d434b3680100d9b265a879.tar.bz2
samba-110e420196bcaf87d8d434b3680100d9b265a879.zip
r23651: Always, always, always compile before commit...
Guenther (This used to be commit accb40446ad3f872c5167fc2306d892553293b7b)
-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 ) {