diff options
author | Simo Sorce <idra@samba.org> | 2012-04-26 16:52:55 -0400 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2012-05-04 16:51:29 +0200 |
commit | cf7d15e0758040c91c262749f7ceea3ca7d3fab8 (patch) | |
tree | 784ca4f1297dec6703b267da98ea0ffa5daa2852 /source4 | |
parent | 93de8e45707ab834eb9d4e2a442025d109955382 (diff) | |
download | samba-cf7d15e0758040c91c262749f7ceea3ca7d3fab8.tar.gz samba-cf7d15e0758040c91c262749f7ceea3ca7d3fab8.tar.xz 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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/auth/kerberos/kerberos_util.c b/source4/auth/kerberos/kerberos_util.c index 0776aae9c8d..e70782013e8 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); |