summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorChristian Ambach <ambi@samba.org>2013-06-18 10:43:38 +0200
committerMichael Adam <obnox@samba.org>2013-06-21 10:44:20 +0200
commit55dd9e6a9cf70fbead0a7af277da092ded221d46 (patch)
tree7e9e8746d7758c6a90830cae8f7278a7e00a1f5b /source3
parent56df37d332d8cb18f28c7a48376795916eaa050d (diff)
downloadsamba-55dd9e6a9cf70fbead0a7af277da092ded221d46.tar.gz
samba-55dd9e6a9cf70fbead0a7af277da092ded221d46.tar.bz2
samba-55dd9e6a9cf70fbead0a7af277da092ded221d46.zip
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 <ambi@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3')
-rw-r--r--source3/passdb/pdb_samba_dsdb.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/source3/passdb/pdb_samba_dsdb.c b/source3/passdb/pdb_samba_dsdb.c
index 7657c69d73..3fc266c4e2 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)