mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
s3-dssync-passdb: fill in passdb_startup.
Guenther Signed-off-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
parent
91e6dad749
commit
1f884cfbcb
@ -26,7 +26,22 @@
|
||||
static NTSTATUS passdb_startup(struct dssync_context *ctx, TALLOC_CTX *mem_ctx,
|
||||
struct replUpToDateVectorBlob **pold_utdv)
|
||||
{
|
||||
return NT_STATUS_NOT_SUPPORTED;
|
||||
NTSTATUS status;
|
||||
struct pdb_methods *methods = NULL;
|
||||
|
||||
if (ctx->output_filename) {
|
||||
status = make_pdb_method_name(&methods, ctx->output_filename);
|
||||
} else {
|
||||
status = make_pdb_method_name(&methods, lp_passdb_backend());
|
||||
}
|
||||
|
||||
if (!NT_STATUS_IS_OK(status)) {
|
||||
return status;
|
||||
}
|
||||
|
||||
ctx->private_data = methods;
|
||||
|
||||
return status;
|
||||
}
|
||||
|
||||
/****************************************************************
|
||||
|
Loading…
Reference in New Issue
Block a user