summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2012-04-26 16:52:55 -0400
committerSimo Sorce <idra@samba.org>2012-05-04 16:51:29 +0200
commitcf7d15e0758040c91c262749f7ceea3ca7d3fab8 (patch)
tree784ca4f1297dec6703b267da98ea0ffa5daa2852 /source4
parent93de8e45707ab834eb9d4e2a442025d109955382 (diff)
downloadsamba-cf7d15e0758040c91c262749f7ceea3ca7d3fab8.tar.gz
samba-cf7d15e0758040c91c262749f7ceea3ca7d3fab8.tar.bz2
samba-cf7d15e0758040c91c262749f7ceea3ca7d3fab8.zip
s4-auth-krb: Use compat code to initialize keyblock contents
Diffstat (limited to 'source4')
-rw-r--r--source4/auth/kerberos/kerberos_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/auth/kerberos/kerberos_util.c b/source4/auth/kerberos/kerberos_util.c
index 0776aae9c8..e70782013e 100644
--- a/source4/auth/kerberos/kerberos_util.c
+++ b/source4/auth/kerberos/kerberos_util.c
@@ -275,7 +275,7 @@ static krb5_error_code impersonate_principal_from_credentials(
#endif
return EINVAL;
}
- ret = krb5_keyblock_init(smb_krb5_context->krb5_context,
+ ret = smb_krb5_keyblock_init_contents(smb_krb5_context->krb5_context,
ENCTYPE_ARCFOUR_HMAC,
mach_pwd->hash, sizeof(mach_pwd->hash),
&keyblock);