s3:passdb/pdb_samba_dsdb make the module handle well-known
authorChristian Ambach <ambi@samba.org>
Tue, 18 Jun 2013 08:43:38 +0000 (10:43 +0200)
committerMichael Adam <obnox@samba.org>
Fri, 21 Jun 2013 08:44:20 +0000 (10:44 +0200)
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>
source3/passdb/pdb_samba_dsdb.c

index 7657c69d7307e48832862d21a4e7a5eb457a3eff..3fc266c4e264c9f58888b8338e56c9d6d79bba77 100644 (file)
@@ -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)