summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2008-09-18 15:34:58 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-09-24 19:40:03 +0200
commit79854dc48a6f5448e4a435261ad2d9e9a2bbc712 (patch)
tree9e58bbcf43d8986fba087e668eb607352eff7166 /source4
parent57edd24ca0fd91ae4d967666dc381147654e27f7 (diff)
downloadsamba-79854dc48a6f5448e4a435261ad2d9e9a2bbc712.tar.gz
samba-79854dc48a6f5448e4a435261ad2d9e9a2bbc712.tar.bz2
samba-79854dc48a6f5448e4a435261ad2d9e9a2bbc712.zip
Kerberos cosmetic changes: Revert a part of the patch
Reverts a part of the patch because it changes the function of the code (suggested by Jelmer).
Diffstat (limited to 'source4')
-rw-r--r--source4/auth/kerberos/kerberos_util.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/auth/kerberos/kerberos_util.c b/source4/auth/kerberos/kerberos_util.c
index 0567565d33..4704f4805f 100644
--- a/source4/auth/kerberos/kerberos_util.c
+++ b/source4/auth/kerberos/kerberos_util.c
@@ -243,7 +243,9 @@ static krb5_error_code salt_principal_from_credentials(TALLOC_CTX *parent_ctx,
static krb5_error_code free_keytab(struct keytab_container *ktc)
{
- return krb5_kt_close(ktc->smb_krb5_context->krb5_context, ktc->keytab);
+ krb5_kt_close(ktc->smb_krb5_context->krb5_context, ktc->keytab);
+
+ return 0;
}
krb5_error_code smb_krb5_open_keytab(TALLOC_CTX *mem_ctx,