]> andersk Git - moira.git/commitdiff
Skip group populate in some cases to speed up list processing.
authorzacheiss <zacheiss>
Fri, 18 Dec 2009 03:31:29 +0000 (03:31 +0000)
committerzacheiss <zacheiss>
Fri, 18 Dec 2009 03:31:29 +0000 (03:31 +0000)
incremental/ldap/winad.c

index 092ddd786a463f518b0ffd194ab092983020555f..c77ebf0999af5371479c19dfc64d69975c009266 100755 (executable)
@@ -6351,6 +6351,11 @@ int populate_group(LDAP *ldap_handle, char *dn_path, char *group_name,
   member_base = NULL;
   group_members = 0;
 
+  if((max_group_members == -1) && !synchronize) {
+    com_err(whoami, 0, "Skipping populate group for %s", group_name);
+    return(0);
+  }
+
   if (rc = mr_query("get_end_members_of_list", 1, av,
                     member_list_build, call_args))
     {
This page took 0.039646 seconds and 5 git commands to generate.