git.samba.org
/
abartlet
/
samba.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d9c63fb
)
s3-kerberos: use krb5 compat macros in fill_keytab_from_password()
author
Simo Sorce
<idra@samba.org>
Thu, 2 Sep 2010 20:09:19 +0000
(16:09 -0400)
committer
Günther Deschner
<gd@samba.org>
Thu, 2 Sep 2010 20:48:09 +0000
(22:48 +0200)
This one uses the compat macro in the right way, without actually
breaking the code.
Signed-off-by: Günther Deschner <gd@samba.org>
source3/librpc/rpc/dcerpc_krb5.c
patch
|
blob
|
history
diff --git
a/source3/librpc/rpc/dcerpc_krb5.c
b/source3/librpc/rpc/dcerpc_krb5.c
index 9e709d833486296a963f7b54b1d03221f7aae4d5..22443b63ff82ef5c2841c12b30c375c83af78caa 100644
(file)
--- a/
source3/librpc/rpc/dcerpc_krb5.c
+++ b/
source3/librpc/rpc/dcerpc_krb5.c
@@
-145,7
+145,7
@@
static krb5_error_code fill_keytab_from_password(krb5_context krbctx,
kt_entry.principal = princ;
kt_entry.vno = vno;
-
kt_entry.key
= *key;
+
*(KRB5_KT_KEY(&kt_entry))
= *key;
ret = krb5_kt_add_entry(krbctx, keytab, &kt_entry);
if (ret) {