[SCM] Samba Shared Repository - branch master updated

Matthias Dieter Wallnöfer mdw at samba.org
Sat Nov 20 03:30:01 MST 2010


The branch, master has been updated
       via  e3017e6 s4:acl LDB module - it's more correct to count the password attributes using "unsigned int"
      from  817ee96 switch from mtime to ctime which is more reliable if files can be accessed outside samba as well

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


- Log -----------------------------------------------------------------
commit e3017e6411d753e42ecb9002c2a89a5b806d44f5
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date:   Sat Nov 20 10:42:01 2010 +0100

    s4:acl LDB module - it's more correct to count the password attributes using "unsigned int"
    
    Since these are derived from a LDB result.
    
    Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
    Autobuild-Date: Sat Nov 20 11:29:07 CET 2010 on sn-devel-104

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

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


Changeset truncated at 500 lines:

diff --git a/source4/dsdb/samdb/ldb_modules/acl.c b/source4/dsdb/samdb/ldb_modules/acl.c
index 69ab72a..7fc626a 100644
--- a/source4/dsdb/samdb/ldb_modules/acl.c
+++ b/source4/dsdb/samdb/ldb_modules/acl.c
@@ -70,7 +70,8 @@ static int acl_module_init(struct ldb_module *module)
 {
 	struct ldb_context *ldb;
 	struct acl_private *data;
-	int ret, i;
+	int ret;
+	unsigned int i;
 	TALLOC_CTX *mem_ctx;
 	static const char *attrs[] = { "passwordAttribute", NULL };
 	struct ldb_result *res;
@@ -1052,7 +1053,8 @@ static int acl_search_callback(struct ldb_request *req, struct ldb_reply *ares)
 		"objectSid",
 		NULL
 	};
-	int ret, i;
+	int ret;
+	unsigned int i;
 
 	ac = talloc_get_type(req->context, struct acl_context);
 	data = talloc_get_type(ldb_module_get_private(ac->module), struct acl_private);
@@ -1139,7 +1141,8 @@ static int acl_search(struct ldb_module *module, struct ldb_request *req)
 	struct acl_context *ac;
 	struct ldb_request *down_req;
 	struct acl_private *data;
-	int ret, i;
+	int ret;
+	unsigned int i;
 
 	ldb = ldb_module_get_ctx(module);
 


-- 
Samba Shared Repository


More information about the samba-cvs mailing list