]> andersk Git - moira.git/commitdiff
More recovery tweaks from mark.
authorzacheiss <zacheiss>
Mon, 8 Sep 2008 15:09:37 +0000 (15:09 +0000)
committerzacheiss <zacheiss>
Mon, 8 Sep 2008 15:09:37 +0000 (15:09 +0000)
incremental/winad/winad.c

index 264d852525c73c453c6f1e98c25391b68c3ef110..d35951ac8243b25f629a243eaede94b1d72b02ee 100755 (executable)
@@ -7826,13 +7826,8 @@ int find_homeMDB(LDAP *ldap_handle, char *dn_path, char **homeMDB,
       gPtr = group_base;
       
       while(gPtr) {
-       if ((s = strstr(gPtr->dn, "Public")) != (char *) NULL)
-         {
-           gPtr = gPtr->next;
-           continue;
-         }
-
-       if ((s = strstr(gPtr->dn, "msExchRestore=True")) != (char *) NULL)
+       if (((s = strstr(gPtr->dn, "Public")) != (char *) NULL) ||
+           ((s = strstr(gPtr->dn, "Recovery")) != (char *) NULL))
          {
            gPtr = gPtr->next;
            continue;
This page took 0.10496 seconds and 5 git commands to generate.