]> andersk Git - moira.git/commitdiff
From mark: don't create mailboxes on Exchange restore databases.
authorzacheiss <zacheiss>
Fri, 5 Sep 2008 22:03:32 +0000 (22:03 +0000)
committerzacheiss <zacheiss>
Fri, 5 Sep 2008 22:03:32 +0000 (22:03 +0000)
incremental/winad/winad.c

index d9abb58b36ac66ee244926785a3c29f852fffa29..264d852525c73c453c6f1e98c25391b68c3ef110 100755 (executable)
@@ -7832,6 +7832,12 @@ int find_homeMDB(LDAP *ldap_handle, char *dn_path, char **homeMDB,
            continue;
          }
 
+       if ((s = strstr(gPtr->dn, "msExchRestore=True")) != (char *) NULL)
+         {
+           gPtr = gPtr->next;
+           continue;
+         }
+
        /* 
         * Due to limits in active directory we need to use the LDAP
         * range semantics to query and return all the values in 
This page took 0.107205 seconds and 5 git commands to generate.