From: zacheiss Date: Fri, 5 Sep 2008 22:03:32 +0000 (+0000) Subject: From mark: don't create mailboxes on Exchange restore databases. X-Git-Url: http://andersk.mit.edu/gitweb/moira.git/commitdiff_plain/20c27f258e4ae940883c7080860fc484b438f749 From mark: don't create mailboxes on Exchange restore databases. --- diff --git a/incremental/winad/winad.c b/incremental/winad/winad.c index d9abb58b..264d8525 100755 --- a/incremental/winad/winad.c +++ b/incremental/winad/winad.c @@ -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