git.samba.org
/
asn
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55a1832
)
krb5wrap: Move mask to the right position.
author
Andreas Schneider
<asn@samba.org>
Mon, 25 Feb 2013 16:34:21 +0000
(17:34 +0100)
committer
Andreas Schneider
<asn@samba.org>
Wed, 12 Jun 2013 07:49:42 +0000
(09:49 +0200)
lib/krb5_wrap/krb5_samba.c
patch
|
blob
|
history
diff --git
a/lib/krb5_wrap/krb5_samba.c
b/lib/krb5_wrap/krb5_samba.c
index 3a2401a9ad28ee8a700813f3f8d0e617d62ab677..024e1883b0bfd6ff14b1e7ba6c03e7bd017f43ff 100644
(file)
--- a/
lib/krb5_wrap/krb5_samba.c
+++ b/
lib/krb5_wrap/krb5_samba.c
@@
-1484,7
+1484,6
@@
krb5_error_code kerberos_kinit_keyblock_cc(krb5_context ctx, krb5_ccache cc,
{
krb5_error_code code = 0;
krb5_creds my_creds;
- mode_t mask;
#if defined(HAVE_KRB5_GET_INIT_CREDS_KEYBLOCK)
code = krb5_get_init_creds_keyblock(ctx, &my_creds, principal,
@@
-1496,6
+1495,7
@@
krb5_error_code kerberos_kinit_keyblock_cc(krb5_context ctx, krb5_ccache cc,
char tmp_name[sizeof(SMB_CREDS_KEYTAB)];
krb5_keytab_entry entry;
krb5_keytab keytab;
+ mode_t mask;
memset(&entry, 0, sizeof(entry));
entry.principal = principal;