summaryrefslogtreecommitdiffstats
path: root/source4/libnet
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2014-04-17 22:35:33 +1200
committerAndrew Bartlett <abartlet@samba.org>2014-04-28 02:24:57 +0200
commit086c06e361962e1c118d8eed2316e9df7834ae8b (patch)
tree22609078f318ab8e45acda1765026e7cb60a9852 /source4/libnet
parent7a26989d4c62f38dcafc2a688b8cbaccc6499480 (diff)
downloadsamba-086c06e361962e1c118d8eed2316e9df7834ae8b.tar.gz
samba-086c06e361962e1c118d8eed2316e9df7834ae8b.tar.xz
samba-086c06e361962e1c118d8eed2316e9df7834ae8b.zip
kerberos: Remove un-used event context argument from smb_krb5_init_context()
The event context here was only specified in the server or admin-tool context, which does not do network communication, so this only caused a talloc_reference() and never any useful result. The actual network communication code sets an event context directly before making the network call. Andrew Bartlett Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Mon Apr 28 02:24:57 CEST 2014 on sn-devel-104
Diffstat (limited to 'source4/libnet')
-rw-r--r--source4/libnet/libnet_export_keytab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libnet/libnet_export_keytab.c b/source4/libnet/libnet_export_keytab.c
index 16165b81c7b..295624e9f71 100644
--- a/source4/libnet/libnet_export_keytab.c
+++ b/source4/libnet/libnet_export_keytab.c
@@ -45,7 +45,7 @@ NTSTATUS libnet_export_keytab(struct libnet_context *ctx, TALLOC_CTX *mem_ctx, s
return NT_STATUS_NO_MEMORY;
}
- ret = smb_krb5_init_context(ctx, ctx->event_ctx, ctx->lp_ctx, &smb_krb5_context);
+ ret = smb_krb5_init_context(ctx, ctx->lp_ctx, &smb_krb5_context);
if (ret) {
return NT_STATUS_NO_MEMORY;
}