summaryrefslogtreecommitdiff
path: root/source3/librpc
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2010-09-02 16:09:19 -0400
committerGünther Deschner <gd@samba.org>2010-09-02 22:48:09 +0200
commit804aaad526419e2be9101190bbccf95152f1d4b4 (patch)
tree737d9314c224bc47d61262365cfb246b72029554 /source3/librpc
parentd9c63fbe9275c0abfc0351cac3669fb52c1c99da (diff)
downloadsamba-804aaad526419e2be9101190bbccf95152f1d4b4.tar.gz
samba-804aaad526419e2be9101190bbccf95152f1d4b4.tar.bz2
samba-804aaad526419e2be9101190bbccf95152f1d4b4.zip
s3-kerberos: use krb5 compat macros in fill_keytab_from_password()
This one uses the compat macro in the right way, without actually breaking the code. Signed-off-by: Günther Deschner <gd@samba.org>
Diffstat (limited to 'source3/librpc')
-rw-r--r--source3/librpc/rpc/dcerpc_krb5.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/librpc/rpc/dcerpc_krb5.c b/source3/librpc/rpc/dcerpc_krb5.c
index 9e709d8334..22443b63ff 100644
--- 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) {