git.samba.org
/
obnox
/
samba
/
samba-obnox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4eda808
)
s4-torture: use smb_krb5_free_error() in lsa forest krb5 tests.
author
Günther Deschner
<gd@samba.org>
Thu, 9 Jul 2015 16:01:34 +0000
(18:01 +0200)
committer
Andreas Schneider
<asn@cryptomilk.org>
Tue, 14 Jul 2015 14:11:18 +0000
(16:11 +0200)
Guenther
Signed-off-by: Günther Deschner <gd@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source4/torture/rpc/lsa.c
patch
|
blob
|
history
diff --git
a/source4/torture/rpc/lsa.c
b/source4/torture/rpc/lsa.c
index e708e90a4de15bb7b9aff664940425ba7b5042dd..81d01bb121248925842c185084a80f86cacb2c23 100644
(file)
--- a/
source4/torture/rpc/lsa.c
+++ b/
source4/torture/rpc/lsa.c
@@
-2974,8
+2974,8
@@
static krb5_error_code check_pw_with_krb5_send_and_recv_func(krb5_context contex
hi.proto = KRB5_KRBHST_TCP;
- free_KRB_ERROR(&ctx->error);
-
+ smb_krb5_free_error(ctx->smb_krb5_context->krb5_context,
+ &ctx->error);
ctx->counts.io++;
k5ret = smb_krb5_send_and_recv_func_forced(context, ctx->server,
@@
-3155,7
+3155,8
@@
static int check_pw_with_krb5_ctx_destructor(struct check_pw_with_krb5_ctx *ctx)
free_EncTicketPart(&ctx->krbtgt_referral_enc_part);
- free_KRB_ERROR(&ctx->error);
+ smb_krb5_free_error(ctx->smb_krb5_context->krb5_context,
+ &ctx->error);
talloc_unlink(ctx, ctx->smb_krb5_context);
ctx->smb_krb5_context = NULL;