]> andersk Git - moira.git/blobdiff - incremental/winad/winad.c
More recovery tweaks from mark.
[moira.git] / 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.030612 seconds and 4 git commands to generate.