summaryrefslogtreecommitdiff
path: root/source4/auth
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2008-09-09 17:37:33 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-09-24 19:40:03 +0200
commitb39b6099a44ef40fc79fc68c9df740e0ef722d19 (patch)
tree07cfbc0606abb490c5aacc4b2c835599549829b8 /source4/auth
parent79854dc48a6f5448e4a435261ad2d9e9a2bbc712 (diff)
downloadsamba-b39b6099a44ef40fc79fc68c9df740e0ef722d19.tar.gz
samba-b39b6099a44ef40fc79fc68c9df740e0ef722d19.tar.bz2
samba-b39b6099a44ef40fc79fc68c9df740e0ef722d19.zip
Cosmetic corrections for the KERBEROS library
This commit applies some cosmetic corrections for the KERBEROS library.
Diffstat (limited to 'source4/auth')
-rw-r--r--source4/auth/kerberos/kerberos_util.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/source4/auth/kerberos/kerberos_util.c b/source4/auth/kerberos/kerberos_util.c
index 4704f4805f..0567565d33 100644
--- a/source4/auth/kerberos/kerberos_util.c
+++ b/source4/auth/kerberos/kerberos_util.c
@@ -243,9 +243,7 @@ static krb5_error_code salt_principal_from_credentials(TALLOC_CTX *parent_ctx,
static krb5_error_code free_keytab(struct keytab_container *ktc)
{
- krb5_kt_close(ktc->smb_krb5_context->krb5_context, ktc->keytab);
-
- return 0;
+ return krb5_kt_close(ktc->smb_krb5_context->krb5_context, ktc->keytab);
}
krb5_error_code smb_krb5_open_keytab(TALLOC_CTX *mem_ctx,