[SCM] Samba Shared Repository - branch master updated - tevent-0-9-8-614-gbc53052

Andrew Bartlett abartlet at samba.org
Mon Sep 21 17:39:28 MDT 2009


The branch, master has been updated
       via  bc53052d38092d32f08fb794d7ea90f89367c229 (commit)
      from  1fa643bdd731ffa6bc746bce0be5fa0f117b48d2 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit bc53052d38092d32f08fb794d7ea90f89367c229
Author: Andrew Bartlett <abartlet at samba.org>
Date:   Mon Sep 21 16:31:08 2009 -0700

    s4:dsdb Run the new 'descriptor' module by default.
    
    This code was derived from the objectclass module, and we need the new
    code in the default provision, or else no ACL is set on each object.
    
    Andrew Bartlett

-----------------------------------------------------------------------

Summary of changes:
 source4/dsdb/samdb/ldb_modules/descriptor.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source4/dsdb/samdb/ldb_modules/descriptor.c b/source4/dsdb/samdb/ldb_modules/descriptor.c
index 7b5b700..b0a5467 100644
--- a/source4/dsdb/samdb/ldb_modules/descriptor.c
+++ b/source4/dsdb/samdb/ldb_modules/descriptor.c
@@ -43,7 +43,6 @@
 #include "param/param.h"
 
 struct descriptor_data {
-	bool inherit;
 };
 
 struct descriptor_context {
@@ -405,9 +404,6 @@ static int descriptor_add(struct ldb_module *module, struct ldb_request *req)
 	data = talloc_get_type(ldb_module_get_private(module), struct descriptor_data);
 	ldb = ldb_module_get_ctx(module);
 
-	if (!data->inherit)
-		return ldb_next_request(module, req);
-
 	ldb_debug(ldb, LDB_DEBUG_TRACE, "descriptor_add\n");
 
 	if (ldb_dn_is_special(req->op.add.message->dn)) {
@@ -473,8 +469,6 @@ static int descriptor_init(struct ldb_module *module)
 		return LDB_ERR_OPERATIONS_ERROR;
 	}
 
-	data->inherit = lp_parm_bool(ldb_get_opaque(ldb, "loadparm"),
-				  NULL, "acl", "inheritance", false);
 	ldb_module_set_private(module, data);
 	return ldb_next_init(module);
 }


-- 
Samba Shared Repository


More information about the samba-cvs mailing list