The combined effects of hole doping and magnetic dilution on a lamellar Heisenberg antiferromagnet are studied in the framework of the frustration model. Magnetic vacancies are argued to remove some of the frustrating bonds generated by the holes, thus explaining the increase in the temperature and concentration ranges exhibiting three dimensional long range order. The dependence of the Néel temperature on both hole and vacancy concentrations is derived quantitatively from earlier renormalization group calculations for the non-dilute case, and the results reproduce experimental data with no new adjustable parameters. 74.72Dn, 75.30.Kz, 75.50.Ee Since the discovery of high-T c superconductors much effort was invested in the investigation of the effect of dopants on the magnetic properties of the parent compounds La 2 CuO 4 (LCO) and YBa 2 Cu 3 O 6 (YBCO). It is now well established that even a very small dopant concentration, which introduces a concentration x of holes into the CuO 2 planes, strongly reduces the Néel temperature, T N . In LCO, doped with strontium or with excess oxygen, the antiferromagnetic long range order (AFLRO) disappears at a hole concentration x c ≈ 2% [1], while in YBCO x c ≈ 3.5% [2,3]. In contrast, the effect of Cu dilution by nonmagnetic Zn is much weaker. Like in percolation, the AFLRO persists at Zn concentration, z, as large as 25 % [4].Recently, Hücker and coworkers [4] studied the phase diagram of La 2−x Sr x Cu 1−z Zn z O 4 , and found surprising results: It appears that the vacancies introduced by Zn doping weaken the destructive effect of holes (introduced by the Sr) on the AFLRO. E. g., in a sample with z = 15%, the critical concentration x c of the holes is approximately 3%, i.e. larger than in vacancy free LCO. Also, at x = 0.017 the Néel temperature has a maximum as function of z, implying a reentrant transition! To explain these phenomena, Hücker et al. measured the variable range hopping conductivity in their samples (at temperatures lower than 150 K all samples were insulators), and showed that Zn doping lowers the localization radius of the holes. Their qualitative conclusion was that as the holes become more "mobile", their influence on T N increases. However, so far there has been no quantitative understanding of the combined dependence of T N on both x and z.In this paper we present a quantitative calculation, which reproduces all the surprising features of the function T N (x, z). Our theory extends an earlier calculation [5], which treated the effects of quenched hole doping on the AFLRO in Sr doped LCO, i. e. calculated T N (x, 0). The same parameters were then used to reproduce the observed T N (x) for the bi-layer Ca doped YBCO [6]. Here we reproduce the full function T N (x, z), with practically no additional adjustable parameters.Our theory is based on the frustration model [7], which argues that when a hole is localized on a Cu-O-Cu bond [8,9], it effectively turns the interaction between the Cu spins strongly ferromagnetic, causing a canting of the surrou...