From 55dd9e6a9cf70fbead0a7af277da092ded221d46 Mon Sep 17 00:00:00 2001 From: Christian Ambach Date: Tue, 18 Jun 2013 10:43:38 +0200 Subject: s3:passdb/pdb_samba_dsdb make the module handle well-known overwrite the passdb defaults and let this module handle well-knowns Signed-off-by: Christian Ambach Reviewed-by: Michael Adam --- source3/passdb/pdb_samba_dsdb.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'source3/passdb') diff --git a/source3/passdb/pdb_samba_dsdb.c b/source3/passdb/pdb_samba_dsdb.c index 7657c69d730..3fc266c4e26 100644 --- a/source3/passdb/pdb_samba_dsdb.c +++ b/source3/passdb/pdb_samba_dsdb.c @@ -2122,6 +2122,11 @@ static NTSTATUS pdb_samba_dsdb_enum_trusteddoms(struct pdb_methods *m, return NT_STATUS_OK; } +static bool pdb_samba_dsdb_is_responsible_for_wellknown(struct pdb_methods *m) +{ + return true; +} + static void pdb_samba_dsdb_init_methods(struct pdb_methods *m) { m->name = "samba_dsdb"; @@ -2173,6 +2178,8 @@ static void pdb_samba_dsdb_init_methods(struct pdb_methods *m) m->set_trusteddom_pw = pdb_samba_dsdb_set_trusteddom_pw; m->del_trusteddom_pw = pdb_samba_dsdb_del_trusteddom_pw; m->enum_trusteddoms = pdb_samba_dsdb_enum_trusteddoms; + m->is_responsible_for_wellknown = + pdb_samba_dsdb_is_responsible_for_wellknown; } static void free_private_data(void **vp) -- cgit