diff options
author | Stefan Metzmacher <metze@samba.org> | 2008-12-29 09:36:20 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2008-12-29 09:46:38 +0100 |
commit | 37b6950961064ef443a91e8bc415a5c582a2d0a6 (patch) | |
tree | afd31669658c4ff526f10a511506d325ba4f1000 /source4 | |
parent | a255f9ce713b29552722ec73e4038226959e1c8e (diff) | |
download | samba-37b6950961064ef443a91e8bc415a5c582a2d0a6.tar.gz samba-37b6950961064ef443a91e8bc415a5c582a2d0a6.tar.bz2 samba-37b6950961064ef443a91e8bc415a5c582a2d0a6.zip |
s4:libnet_samdump_keytab: pass down event_context explicit
metze
Diffstat (limited to 'source4')
-rw-r--r-- | source4/libnet/libnet_samdump_keytab.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/libnet/libnet_samdump_keytab.c b/source4/libnet/libnet_samdump_keytab.c index 4b71b0c24d..62d93904ef 100644 --- a/source4/libnet/libnet_samdump_keytab.c +++ b/source4/libnet/libnet_samdump_keytab.c @@ -70,6 +70,7 @@ static NTSTATUS samdump_keytab_handle_user(TALLOC_CTX *mem_ctx, struct libnet_samdump_keytab_data { const char *keytab_name; + struct event_context *ev_ctx; struct loadparm_context *lp_ctx; }; @@ -88,7 +89,7 @@ static NTSTATUS libnet_samdump_keytab_fn(TALLOC_CTX *mem_ctx, /* not interested in builtin users */ if (database == SAM_DATABASE_DOMAIN) { nt_status = samdump_keytab_handle_user(mem_ctx, - event_context_find(mem_ctx), + data->ev_ctx, data->lp_ctx, data->keytab_name, delta); @@ -109,6 +110,7 @@ NTSTATUS libnet_SamDump_keytab(struct libnet_context *ctx, TALLOC_CTX *mem_ctx, struct libnet_SamSync r2; data.keytab_name = r->in.keytab_name; + data.ev_ctx = ctx->event_ctx; data.lp_ctx = ctx->lp_ctx; r2.out.error_string = NULL; |