diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-04-17 12:23:44 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-04-17 12:23:44 +0200 |
commit | 21fc7673780aa1d7c0caab7b17ff9171238913ba (patch) | |
tree | 53556069de7ca28e4721473d679c559c71df22b8 /source4/ntptr/ntptr_base.c | |
parent | ab07a60d6ed1d9704590747ac69bbaa22bef2df3 (diff) | |
download | samba-21fc7673780aa1d7c0caab7b17ff9171238913ba.tar.gz samba-21fc7673780aa1d7c0caab7b17ff9171238913ba.tar.bz2 samba-21fc7673780aa1d7c0caab7b17ff9171238913ba.zip |
Specify event_context to ldb_wrap_connect explicitly.
(This used to be commit b4e1ae07a284c044704322446c94351c2decff91)
Diffstat (limited to 'source4/ntptr/ntptr_base.c')
-rw-r--r-- | source4/ntptr/ntptr_base.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/ntptr/ntptr_base.c b/source4/ntptr/ntptr_base.c index 0000337cb0..1165631b18 100644 --- a/source4/ntptr/ntptr_base.c +++ b/source4/ntptr/ntptr_base.c @@ -120,7 +120,8 @@ const struct ntptr_critical_sizes *ntptr_interface_version(void) /* create a ntptr_context with a specified NTPTR backend */ -NTSTATUS ntptr_init_context(TALLOC_CTX *mem_ctx, struct loadparm_context *lp_ctx, +NTSTATUS ntptr_init_context(TALLOC_CTX *mem_ctx, struct event_context *ev_ctx, + struct loadparm_context *lp_ctx, const char *providor, struct ntptr_context **_ntptr) { NTSTATUS status; @@ -134,6 +135,7 @@ NTSTATUS ntptr_init_context(TALLOC_CTX *mem_ctx, struct loadparm_context *lp_ctx NT_STATUS_HAVE_NO_MEMORY(ntptr); ntptr->private_data = NULL; ntptr->ops = ntptr_backend_byname(providor); + ntptr->ev_ctx = ev_ctx; ntptr->lp_ctx = lp_ctx; if (!ntptr->ops) { |