Fix wbinfo -a trusted\\user%password on a Samba DC with trusts
[ira/wip.git] / source3 / winbindd / winbindd_dual.c
index 2b756b24d17f1a88e5dd9f9b76bf3f34f69e0653..3c342e54a4753be874af18a656f66365a75f4b13 100644 (file)
@@ -1089,7 +1089,6 @@ static bool fork_domain_child(struct winbindd_child *child)
         * but not the main daemon */
 
        if (child->domain && child->domain->internal && IS_DC) {
         * but not the main daemon */
 
        if (child->domain && child->domain->internal && IS_DC) {
-               child->domain->internal = False;
                child->domain->methods = &cache_methods;
                child->domain->online = False;
        }
                child->domain->methods = &cache_methods;
                child->domain->online = False;
        }