summaryrefslogtreecommitdiff
path: root/source4/auth/kerberos
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-06-20 17:41:52 +0200
committerStefan Metzmacher <metze@samba.org>2011-06-22 08:00:23 +0200
commit7cf38425b274c43144a2216accf5330d8ef1fe36 (patch)
treecf1825f3cabdea8f7c18c84f01830a24fe2e0ac7 /source4/auth/kerberos
parent9e766f019bff74ec9c1d5df326cdea2c7fe05e2a (diff)
downloadsamba-7cf38425b274c43144a2216accf5330d8ef1fe36.tar.gz
samba-7cf38425b274c43144a2216accf5330d8ef1fe36.tar.bz2
samba-7cf38425b274c43144a2216accf5330d8ef1fe36.zip
s4:auth/kerberos: don't ignore return code in kerberos_kinit_password_cc()
metze
Diffstat (limited to 'source4/auth/kerberos')
-rw-r--r--source4/auth/kerberos/kerberos.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/auth/kerberos/kerberos.c b/source4/auth/kerberos/kerberos.c
index 0db0dd3ced..8824d748d2 100644
--- a/source4/auth/kerberos/kerberos.c
+++ b/source4/auth/kerberos/kerberos.c
@@ -159,6 +159,8 @@
code = krb5_cc_store_cred(ctx, cc, impersonate_creds);
krb5_get_creds_opt_free(ctx, options);
krb5_free_creds(ctx, impersonate_creds);
+
+ return code;
}
return 0;