diff options
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 1a14c3b33e..e184afcfd5 100644 --- a/source4/ntptr/ntptr_base.c +++ b/source4/ntptr/ntptr_base.c @@ -119,7 +119,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, const char *providor, struct ntptr_context **_ntptr) +NTSTATUS ntptr_init_context(TALLOC_CTX *mem_ctx, struct loadparm_context *lp_ctx, + const char *providor, struct ntptr_context **_ntptr) { NTSTATUS status; struct ntptr_context *ntptr; @@ -132,6 +133,7 @@ NTSTATUS ntptr_init_context(TALLOC_CTX *mem_ctx, const char *providor, struct nt NT_STATUS_HAVE_NO_MEMORY(ntptr); ntptr->private_data = NULL; ntptr->ops = ntptr_backend_byname(providor); + ntptr->lp_ctx = lp_ctx; if (!ntptr->ops) { DEBUG(1,("ntptr_init_context: failed to find NTPTR providor='%s'\n", |