Fix enumeration of forest trusts from our root domain.
[ira/wip.git] / source3 / winbindd / winbindd_cm.c
index d4241a0c7822ba36b4af34cd886f14e0b9dea12c..39d8def7ea67f04b4fcef3d2c16b06680009209a 100644 (file)
@@ -1938,7 +1938,7 @@ no_dssetup:
                                lsa_info->dns.dns_forest.string);
 
                        if (strequal(domain->forest_name, domain->alt_name)) {
-                               domain->domain_flags = NETR_TRUST_FLAG_TREEROOT;
+                               domain->domain_flags |= NETR_TRUST_FLAG_TREEROOT;
                        }
                }